Function at 0x414bc0
Capabilities:
Get common file path
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x474908
mov eax, dword fs:[0]
push eax
sub esp, 0x528
mov eax, dword [0x490018]
xor eax, esp
mov dword [esp + 0x520], eax
push ebx
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x538]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + 0x34]
test edi, edi
jne 0x414c11
xor eax, eax
jmp 0x415a8d
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
sub ecx, eax
sar ecx, 2
test ecx, ecx
ja 0x414c28
call fcn.0040c420
mov eax, dword [eax]
push eax
call fcn.00417750
mov edx, eax
not edx
test dl, 1
jne 0x415a8d
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + 8]
sub ecx, dword [eax + 4]
xor edi, edi
sar ecx, 2
test ecx, ecx
jbe 0x414ccd
nop
mov edx, dword [ebx + 0x34]
mov eax, dword [edx + 4]
push ecx
lea esi, [edi*4]
add eax, esi
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov dword [esp + 0x544], 0
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x548], 0xffffffff
call fcn.00419d60
mov dword [esp + 0x540], 1
mov ecx, dword [ebx + 0x34]
mov ecx, dword [ecx + 4]
push eax
add ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov dword [esp + 0x540], 0xffffffff
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebx + 0x34]
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
inc edi
sar edx, 2
cmp edi, edx
jb 0x414c50
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + 8]
sub ecx, dword [eax + 4]
mov dword [esp + 0x10], 0
sar ecx, 2
test ecx, ecx
jbe 0x414df1
lea esp, [esp]
mov edi, dword [esp + 0x10]
mov edx, dword [ebx + 0x34]
mov eax, dword [edx + 4]
add edi, edi
add edi, edi
mov edx, dword [eax + edi]
cmp dword [edx - 0xc], 3
lea ecx, [eax + edi]
jne 0x414d43
push 1
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
cmp ax, 0x3a
jne 0x414d43
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + 4]
add ecx, edi
push 2
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
cmp ax, 0x5c
jne 0x414d43
mov ecx, dword [ebx + 0x34]
mov ecx, dword [ecx + 4]
push 0x47d5a8
add ecx, edi
call dword [0x476390]
jmp 0x414d76
mov edx, dword [ebx + 0x34]
mov esi, dword [edx + 4]
mov eax, dword [esi + edi]
mov eax, dword [eax - 0xc]
add esi, edi
test eax, eax
je 0x414d76
dec eax
push eax
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
cmp ax, 0x5c
jne 0x414d76
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
push 1
dec eax
push eax
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Delete]
mov edx, dword [ebx + 0x34]
mov eax, dword [edx + 4]
mov edx, dword [eax + edi]
cmp dword [edx - 0xc], 2
lea ecx, [eax + edi]
jne 0x414da9
push 1
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
cmp ax, 0x3a
jne 0x414da9
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + 4]
push 0x47e15c
add ecx, edi
call dword [0x476390]
mov ecx, dword [ebx + 0x34]
mov eax, dword [ecx + 4]
add eax, edi
mov eax, dword [eax]
lea edx, [esp + 0x11c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebx + 0x34]
cmp esi, 0xffffffff
je 0x414e74
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
mov ecx, dword [esp + 0x10]
inc ecx
sar edx, 2
mov dword [esp + 0x10], ecx
cmp ecx, edx
jb 0x414cf0
mov ecx, dword [ebx + 0x30]
push ecx
call fcn.0041b460
test eax, eax
je 0x415005
lea ecx, [esp + 0x10]
call dword [0x476410]
mov dword [esp + 0x540], 2
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
and edx, 0xfffffffc
cmp edx, 4
jne 0x414e92
push 0x410
lea eax, [esp + 0x120]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x11c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x47d53c
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x18]
push str._s_s
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
jmp 0x414ebe
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x10]
lea eax, [ecx + edx*4]
push eax
lea ecx, [ebx + 0x50]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov eax, 0x6403ef00
jmp 0x415a8d
mov ecx, dword [eax + 8]
sub ecx, dword [eax + 4]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
sar ecx, 2
sub eax, edx
dec ecx
sar eax, 2
cmp eax, ecx
ja 0x414eb0
call fcn.0040c420
lea ecx, [edx + ecx*4]
push ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push 0
call dword [sym.imp.MSVCR90.dll__time64]
mov edi, dword [sym.imp.MSVCR90.dll__localtime64_s]
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], edx
push ecx
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x24], eax
call edi
add esp, 8
test eax, eax
jne 0x414ef4
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
jmp 0x414efc
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xb4]
push edx
call edi
add esp, 8
test eax, eax
jne 0x414f1f
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x28], eax
jmp 0x414f27
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xfc]
push edx
call edi
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x10c]
lea ecx, [esp + 0x94]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
push ecx
call edi
add esp, 0x10
test eax, eax
jne 0x414f67
mov esi, dword [esp + 0x9c]
inc esi
jmp 0x414f69
xor esi, esi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xd8]
push eax
call edi
add esp, 8
test eax, eax
jne 0x414f8d
mov eax, dword [esp + 0xe8]
add eax, 0x76c
jmp 0x414f8f
xor eax, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
push esi
push eax
lea edx, [esp + 0x24]
push str._4d_02d_02d_02d_02d
push edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::AppendFormat]
add esp, 0x1c
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push ecx
mov edi, 0x47d8b8
call fcn.00404030
add esp, 8
mov byte [esp + 0x540], 3
mov ecx, dword [ebx + 0x34]
push eax
add ecx, 0x20
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov byte [esp + 0x540], 2
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x540], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x415121
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
sub edx, eax
sar edx, 2
cmp edx, 1
ja 0x41501d
call fcn.0040c420
lea ecx, [eax + 4]
push 0x22
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Remove]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, 1
ja 0x415040
call fcn.0040c420
push ecx
add eax, 4
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov dword [esp + 0x544], 4
lea edx, [esp + 0x28]
or edi, 0xffffffff
push edx
mov dword [esp + 0x548], edi
call fcn.00419d60
mov dword [esp + 0x540], 5
mov ecx, dword [ebx + 0x34]
push eax
add ecx, 0x20
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov dword [esp + 0x540], edi
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebx + 0x34]
add eax, 0x20
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov dword [esp + 0x540], 6
lea esi, [esp + 0x18]
call fcn.00401a10
mov ecx, dword [ebx + 0x34]
add ecx, 0x20
push ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov byte [esp + 0x540], 7
lea esi, [esp + 0x10]
call fcn.00401ab0
mov edx, dword [esp + 0x18]
push edx
call fcn.004020e0
add esp, 4
test eax, eax
je 0x415a55
mov ecx, dword [esp + 0x10]
call fcn.00401e80
test eax, eax
jne 0x415a55
mov byte [esp + 0x540], 6
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x540], edi
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + 8]
sub ecx, dword [eax + 4]
mov esi, 1
sar ecx, 2
mov edx, esi
mov dword [esp + 0x28], esi
cmp ecx, esi
jbe 0x41589a
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, edx
jbe 0x414c23
lea eax, [eax + edx*4]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov dword [esp + 0x540], 8
push str._autotest
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
jne 0x415196
mov edx, dword [0x491c54]
mov dword [edx + 0x68], esi
jmp 0x415867
push str._sfx
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
jne 0x4151c0
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + 0x30]
or ecx, dword [eax + 0x34]
jne 0x4158c1
mov dword [eax + 0x28], esi
jmp 0x415867
push 0x47e260
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
jne 0x4151de
mov edx, dword [ebx + 0x34]
mov dword [edx + 0x2c], esi
jmp 0x415867
push 0x47e268
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
jne 0x4151fc
mov eax, dword [ebx + 0x34]
mov dword [eax + 0x44], esi
jmp 0x415867
push 0x47e270
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
jne 0x41521a
mov ecx, dword [ebx + 0x34]
mov dword [ecx + 0x48], esi
jmp 0x415867
push 0x47e278
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
jne 0x415238
mov edx, dword [ebx + 0x34]
mov dword [edx + 0x4c], esi
jmp 0x415867
push 0x47e21c
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
jne 0x415256
mov eax, dword [ebx + 0x34]
mov dword [eax + 0x54], esi
jmp 0x415867
push str._off
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
jne 0x415274
mov ecx, dword [ebx + 0x34]
mov dword [ecx + 0x50], esi
jmp 0x415867
push 3
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
mov byte [esp + 0x540], 9
push 0x47e28c
mov ecx, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0x540], 8
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp byte [esp + 0x17], 0
je 0x415301
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffd
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
mov byte [esp + 0x540], 0xa
mov eax, dword [eax]
mov edi, dword [ebx + 0x34]
add edi, 0x10
push eax
call fcn.00417750
mov byte [esp + 0x540], 8
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x415867
push 2
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
mov byte [esp + 0x540], 0xb
push 0x47e294
mov ecx, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0x540], 8
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp byte [esp + 0x17], 0
je 0x4153b7
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffe
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
mov byte [esp + 0x540], 0xc
mov ecx, dword [ebx + 0x34]
push eax
add ecx, 0x24
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov byte [esp + 0x540], 8
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edx, dword [ebx + 0x34]
mov eax, dword [edx + 0x24]
cmp dword [eax - 0xc], 0
jne 0x415867
mov dword [esp + 0x540], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 0x64040000
jmp 0x415a8d
push 2
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
mov byte [esp + 0x540], 0xd
push 0x47e29c
mov ecx, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0x540], 8
lea ecx, [esp + 0x58]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp byte [esp + 0x17], 0
je 0x41548c
mov edx, dword [ebx + 0x34]
cmp dword [edx + 0x28], 0
jne 0x4158c1
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffe
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
mov byte [esp + 0x540], 0xe
mov eax, dword [eax]
push eax
call fcn.00401550
mov ecx, dword [ebx + 0x34]
mov dword [ecx + 0x30], eax
add esp, 4
mov dword [ecx + 0x34], edx
mov byte [esp + 0x540], 8
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebx + 0x34]
cmp dword [eax + 0x30], 0
jne 0x415867
cmp dword [eax + 0x34], 0
jne 0x415867
mov dword [esp + 0x540], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 0x6403ea00
jmp 0x415a8d
push 2
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
mov byte [esp + 0x540], 0xf
push 0x47e2a4
mov ecx, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0x540], 8
lea ecx, [esp + 0x60]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp byte [esp + 0x17], 0
je 0x4155aa
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffe
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
mov edi, eax
mov byte [esp + 0x540], 0x10
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
add eax, 0xfffffffe
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
mov byte [esp + 0x540], 0x11
mov ecx, dword [edi]
mov eax, dword [eax]
mov edi, dword [ecx - 0xc]
push eax
call fcn.0041a260
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0x540], 0x10
lea ecx, [esp + 0x40]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x540], 8
lea ecx, [esp + 0x54]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
add eax, 0xfffffffe
cmp byte [esp + 0x17], 0
lea ecx, [esp + 0x10]
push eax
jne 0x4158e0
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
mov byte [esp + 0x540], 0x13
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR90.dll__wtoi]
mov ecx, dword [ebx + 0x34]
add esp, 4
mov dword [ecx + 0x3c], eax
mov byte [esp + 0x540], 8
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x415867
push 3
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
mov byte [esp + 0x540], 0x14
push 0x47e2ac
mov ecx, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0x540], 8
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp byte [esp + 0x17], 0
je 0x4156c8
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffd
push eax
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
mov edi, eax
mov byte [esp + 0x540], 0x15
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
add eax, 0xfffffffd
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
mov byte [esp + 0x540], 0x16
mov ecx, dword [edi]
mov eax, dword [eax]
mov edi, dword [ecx - 0xc]
push eax
call fcn.0041a260
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0x540], 0x15
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x540], 8
lea ecx, [esp + 0x64]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp byte [esp + 0x17], 0
jne 0x41592e
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
add eax, 0xfffffffd
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
mov byte [esp + 0x540], 0x18
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR90.dll__wtoi]
mov ecx, dword [ebx + 0x34]
add esp, 4
mov dword [ecx + 0x40], eax
mov byte [esp + 0x540], 8
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x415867
push 0x47e214
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
jne 0x4156e6
mov edx, dword [ebx + 0x34]
mov dword [edx + 0x58], esi
jmp 0x415867
push 0x47e2b4
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
jne 0x415701
mov dword [ebx + 0x54], esi
jmp 0x415867
push 3
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
mov byte [esp + 0x540], 0x19
push 0x47e2bc
mov ecx, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0x540], 8
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp byte [esp + 0x17], 0
je 0x4159ce
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
add eax, 0xfffffffd
push eax
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
mov edi, eax
mov byte [esp + 0x540], 0x1a
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffd
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
mov byte [esp + 0x540], 0x1b
mov edx, dword [edi]
mov eax, dword [eax]
mov edi, dword [edx - 0xc]
push eax
call fcn.0041a260
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0x540], 0x1a
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x540], 8
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffd
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
cmp byte [esp + 0x17], 0
jne 0x41598b
mov byte [esp + 0x540], 0x1d
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
mov edi, eax
mov byte [esp + 0x540], 8
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
test edi, edi
jne 0x415861
xor eax, eax
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [esp + 0x7c]
test edi, edi
jne 0x415861
mov edi, esi
mov eax, dword [ebx + 0x34]
mov dword [eax + 0x5c], edi
mov dword [esp + 0x540], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + 8]
sub ecx, dword [eax + 4]
mov edx, dword [esp + 0x28]
add edx, esi
sar ecx, 2
mov dword [esp + 0x28], edx
cmp edx, ecx
jb 0x415146
mov eax, dword [ebx + 0x34]
cmp dword [eax + 0x58], 0
je 0x415a1c
cmp dword [eax + 0x30], 0
jne 0x4158b7
cmp dword [eax + 0x34], 0
je 0x4159de
mov eax, 0x6403f300
jmp 0x415a8d
mov dword [esp + 0x540], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 0x64040b00
jmp 0x415a8d
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
mov byte [esp + 0x540], 0x12
push eax
lea ecx, [ebx + 0x50]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov byte [esp + 0x540], 8
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x540], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 0x6403e800
jmp 0x415a8d
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
add eax, 0xfffffffd
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
mov byte [esp + 0x540], 0x17
push eax
lea ecx, [ebx + 0x50]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov byte [esp + 0x540], 8
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x540], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 0x6403e900
jmp 0x415a8d
mov byte [esp + 0x540], 0x1c
push eax
lea ecx, [ebx + 0x50]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov byte [esp + 0x540], 8
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x540], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 0x200
jmp 0x415a8d
lea edx, [esp + 0x10]
push edx
lea ecx, [ebx + 0x50]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
jmp 0x4159af
add eax, 0x24
cmp dword [eax], 0
je 0x415a01
push 0x47d6d8
mov ecx, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
je 0x415a01
mov eax, 0x6403f500
jmp 0x415a8d
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x415a15
cmp ecx, 2
je 0x415a15
cmp ecx, 4
jne 0x415a1c
mov eax, 0x64040d00
jmp 0x415a8d
cmp dword [eax + 0x28], 0
je 0x415a3b
mov ecx, dword [eax + 0x3c]
cmp ecx, 2
je 0x415a34
cmp ecx, 3
je 0x415a34
cmp ecx, 4
jne 0x415a3b
mov eax, 0x64040e00
jmp 0x415a8d
mov ecx, dword [eax + 0x24]
cmp dword [ecx - 0xc], 0
jne 0x415a51
cmp dword [eax + 0x40], 0
je 0x415a51
mov eax, 0x6403fd00
jmp 0x415a8d
mov eax, esi
jmp 0x415a8d
mov edx, dword [ebx + 0x34]
add edx, 0x20
push edx
lea ecx, [ebx + 0x50]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov byte [esp + 0x540], 6
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x540], edi
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 0x1000d00
mov ecx, dword [esp + 0x538]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x520]
xor ecx, esp
call fcn.00428cb4
mov esp, ebp
pop ebp
ret 4