Function at 0x408250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x475001
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
lea esi, [edi + 0x58]
push ebx
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0xc]
push ebp
lea ecx, [esp + 0x14]
push ecx
add eax, 0x34
push eax
call fcn.00445340
xor eax, eax
mov dword [esp + 0x28], eax
lea edx, [esp + 0x34]
push ebx
push edx
mov dword [edi + 0x658], ebp
mov dword [edi + 0x660], eax
mov dword [edi + 0xb8], eax
call fcn.00401c70
add esp, 8
mov byte [esp + 0x28], 1
mov ebx, dword [esp + 0x48]
mov eax, ebx
or eax, dword [esp + 0x4c]
je 0x4082f6
push 0x47d8b8
lea ecx, [esp + 0x38]
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 0x4082f6
push 0x47d80c
call fcn.00401b40
add esp, 4
mov ebp, dword [esp + 0x38]
cmp ebp, 0xffffffff
jne 0x408312
push 0xa
or edx, ebp
lea ecx, [esp + 0x14]
call fcn.00423940
mov dword [esp + 0x38], eax
mov ebp, eax
lea ecx, [esp + 0x10]
call fcn.004479e0
cmp eax, ebp
ja 0x408359
mov byte [esp + 0x28], 0
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]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004477c0
mov eax, 0x6403e800
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x28
push ebp
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00447a60
mov byte [esp + 0x28], 2
mov esi, dword [esi]
lea ebp, [edi + 0x420]
push esi
mov ecx, ebp
call fcn.00446b40
push 9
mov edx, 0x47bc18
lea ecx, [esp + 0x14]
call fcn.00423a90
push eax
mov esi, ebp
call fcn.00446370
push 9
mov edx, 0x47bc18
lea ecx, [esp + 0x14]
call fcn.00423a90
cmp dword [edi + 0x270], 8
mov ebp, eax
jb 0x4083b8
mov eax, dword [edi + 0x25c]
jmp 0x4083be
lea eax, [edi + 0x25c]
lea esi, [edi + 0x144]
push eax
mov ecx, esi
call fcn.00446b40
push ebp
call fcn.00446370
push 7
xor edx, edx
lea ecx, [esp + 0x14]
call fcn.00423940
test al, 4
je 0x4083ed
mov edx, dword [esp + 0x50]
mov dword [edi + 0x400], edx
mov eax, dword [esp + 0x4c]
push 1
xor edx, edx
lea ecx, [esp + 0x14]
mov dword [edi + 0x408], ebx
mov dword [edi + 0x40c], eax
call fcn.00423a90
mov ecx, dword [esp + 0x54]
xor esi, esi
mov dword [edi + 0x414], eax
mov dword [edi + 0x410], esi
mov dword [edi + 0x418], ecx
cmp dword [esp + 0x1c], esi
jne 0x40842f
mov eax, 0x47bad4
jmp 0x40843f
push 2
mov edx, 0x47bae0
lea ecx, [esp + 0x1c]
call fcn.00423a90
mov dword [edi + 0x3dc], eax
cmp dword [esp + 0x1c], esi
jne 0x40844f
xor eax, eax
jmp 0x40845c
push 3
xor edx, edx
lea ecx, [esp + 0x1c]
call fcn.00423940
mov dword [edi + 0x3e8], eax
cmp dword [esp + 0x1c], esi
jne 0x40846c
xor eax, eax
jmp 0x408479
push 4
xor edx, edx
lea ecx, [esp + 0x1c]
call fcn.00423940
mov dword [edi + 0x3ec], eax
cmp dword [esp + 0x1c], esi
jne 0x408489
xor eax, eax
jmp 0x408496
push 5
xor edx, edx
lea ecx, [esp + 0x1c]
call fcn.00423940
mov dword [edi + 0x3e0], eax
cmp dword [esp + 0x1c], esi
jne 0x4084a6
xor eax, eax
jmp 0x4084b3
push 6
xor edx, edx
lea ecx, [esp + 0x1c]
call fcn.00423940
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov dword [edi + 0x3e4], eax
mov dword [edi + 0x3f8], edx
cmp ebx, esi
je 0x4085cf
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4084d4
sub eax, edx
sar eax, 1
je 0x4085cf
mov esi, dword [esp + 0x40]
or ebp, 0xffffffff
cmp esi, ebp
je 0x4085d4
lea ecx, [esp + 0x10]
call fcn.004477f0
test eax, eax
jne 0x408549
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x18]
call fcn.004614c0
mov byte [esp + 0x28], 0
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]
mov dword [esp + 0x28], ebp
lea ecx, [esp + 0x10]
call fcn.004477c0
mov eax, 0x64040900
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x28
lea ecx, [esp + 0x10]
call fcn.004477f0
cmp eax, esi
ja 0x40859a
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x18]
call fcn.004614c0
mov byte [esp + 0x28], 0
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]
mov dword [esp + 0x28], ebp
lea ecx, [esp + 0x10]
call fcn.004477c0
mov eax, 0x6403e900
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x28
push esi
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x18]
call fcn.00447870
mov byte [esp + 0x28], 3
lea ecx, [esp + 0x48]
call fcn.004613f0
mov dword [edi + 0x3f0], eax
mov byte [esp + 0x28], 2
lea ecx, [esp + 0x48]
call fcn.00461350
xor esi, esi
jmp 0x4085dc
or ebp, 0xffffffff
jmp 0x4085d6
xor esi, esi
mov dword [edi + 0x3f0], esi
mov ecx, dword [esp + 0x44]
mov dword [edi + 0x3d8], ecx
push ebx
lea ecx, [edi + 0x7c]
mov dword [edi + 0xbc], esi
mov dword [edi + 0x65c], esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov esi, edi
call fcn.00406f80
mov esi, eax
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x18]
call fcn.004614c0
mov byte [esp + 0x28], 0
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]
mov dword [esp + 0x28], ebp
lea ecx, [esp + 0x10]
call fcn.004477c0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x28