Function at 0x456640
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x47b292
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor esi, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
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 ebx, dword [esp + 0x64]
mov dword [esp + 0x58], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov esi, dword [ebx + 0xc]
cmp esi, esi
ja 0x4566a2
cmp esi, dword [ebx + 0x10]
jbe 0x4566a8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebp, dword [ebx]
mov ebx, esi
lea esp, [esp]
mov eax, dword [esp + 0x64]
mov esi, dword [eax + 0x10]
cmp dword [eax + 0xc], esi
jbe 0x4566c6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
test ebp, ebp
je 0x4566d0
cmp ebp, eax
je 0x4566d6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, esi
je 0x456760
mov esi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebp, ebp
jne 0x456751
call esi
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4566f3
call esi
test ebp, ebp
jne 0x456756
call esi
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x456702
call esi
mov eax, dword [ebx]
lea edx, [ebx + 4]
mov esi, edi
call fcn.0045c990
mov esi, eax
test esi, esi
je 0x456732
cmp dword [esp + 0x68], 0
jne 0x456726
push esi
call fcn.00455110
cmp eax, 1
jbe 0x456732
mov eax, dword [esi + 8]
add dword [esp + 0x34], eax
adc dword [esp + 0x38], 0
test ebp, ebp
jne 0x45675b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x456749
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
add ebx, 8
jmp 0x4566b0
mov eax, dword [ebp]
jmp 0x4566ec
mov eax, dword [ebp]
jmp 0x4566fb
mov eax, dword [ebp]
jmp 0x45673e
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
lea eax, [edi + 0x120]
call fcn.0043eb50
mov esi, dword [esp + 0x64]
mov ebp, dword [esi + 0xc]
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, dword [esi + 0x10]
jbe 0x456789
call ebx
mov eax, dword [esi]
mov dword [esp + 0x34], eax
mov esi, dword [esi + 0x10]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x38], ebp
cmp dword [ecx + 0xc], esi
jbe 0x4567a1
call ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
test ecx, ecx
je 0x4567b3
cmp ecx, eax
je 0x4567b5
call ebx
cmp ebp, esi
je 0x456ad4
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x456921
call ebx
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x4567d4
call ebx
test ebp, ebp
je 0x456ab1
mov esi, dword [ebp]
push edi
call fcn.00426e70
mov eax, dword [edi + 0x1b0]
sub eax, dword [edi + 0x1ac]
and esi, 0x7ffffff
sar eax, 2
mov dword [esp + 0x14], 0xffffffff
cmp esi, eax
jae 0x45681a
mov eax, dword [edi + 0x1ac]
mov esi, dword [eax + esi*4]
test esi, esi
je 0x45681a
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], ecx
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
mov ecx, dword [ebp]
push ecx
lea edx, [esp + 0x24]
push edx
lea esi, [ebp + 4]
push edi
call fcn.0045cab0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 0
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 [ebp]
mov edx, esi
mov esi, edi
call fcn.0045c990
mov esi, dword [esp + 0x10]
push edi
mov ebx, eax
call fcn.00426e70
push esi
lea ecx, [edi + 0xb8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
mov ecx, edi
call edx
test ebx, ebx
je 0x456aab
cmp dword [esp + 0x68], 0
jne 0x4568a0
push ebx
call fcn.00455110
cmp eax, 1
jbe 0x456aab
mov ecx, dword [ebx + 4]
xor esi, esi
mov dword [esp + 0x1c], esi
test ecx, ecx
jbe 0x4568c9
lea eax, [ebx + 0x10]
mov edx, dword [eax + 8]
and edx, dword [eax + 0xc]
cmp edx, 0xffffffff
je 0x4568bd
add esi, dword [eax]
add eax, 0x18
sub ecx, 1
jne 0x4568b0
mov dword [esp + 0x1c], esi
xor ebp, ebp
cmp dword [esp + 0x28], ebp
ja 0x456948
jb 0x4568d9
cmp dword [esp + 0x24], esi
jae 0x456948
cmp dword [esp + 0x6c], 0
je 0x456928
lea eax, [esp + 0x24]
push eax
push ebp
push esi
push ecx
mov eax, ebx
call fcn.004551d0
add esp, 4
push edx
push eax
lea eax, [edi + 0x328]
call fcn.004547b0
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
sub ecx, esi
sbb ebx, ebp
add eax, ecx
adc edx, ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
jmp 0x456950
mov eax, dword [eax]
jmp 0x4567cd
lea edx, [esp + 0x24]
push edx
push ebp
push esi
push 0
push 0
lea eax, [edi + 0x328]
call fcn.004544f0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
jmp 0x456950
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
test edx, edx
jl 0x456aa7
jg 0x456962
test eax, eax
jb 0x456aa7
lea ebx, [esp + 0x3c]
push ebx
mov ebx, dword [edi + 0x2e4]
lea esi, [edi + 0x328]
push esi
push ebx
mov ebx, dword [edi + 0x2e0]
push ebx
xor ecx, ecx
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x50]
mov ecx, dword [ecx + 4]
push edx
push ecx
mov ecx, dword [esp + 0x58]
mov ebx, dword [ecx]
push eax
push edi
call fcn.00459d40
mov ecx, dword [esp + 0x40]
mov edx, eax
mov eax, dword [esp + 0x3c]
add dword [esp + 0x2c], eax
mov dword [esp + 0x18], edx
adc dword [esp + 0x30], ecx
sub dword [esp + 0x24], eax
sbb dword [esp + 0x28], ecx
test edx, edx
jne 0x4569e3
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
push edi
call fcn.0045c880
jmp 0x456aa7
cmp edx, 0xfffffffb
je 0x456adb
mov eax, esi
call fcn.00454280
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push ebp
push ecx
push 0
push 0
mov eax, esi
call fcn.004544f0
mov ebp, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebp
test ebp, ebp
jl 0x456aa7
jg 0x456a29
test eax, eax
jb 0x456aa7
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [edi + 0x2e4]
push esi
mov esi, dword [esp + 0x40]
mov ebx, dword [esi]
push edx
mov edx, dword [edi + 0x2e0]
push edx
push ebp
push eax
mov eax, dword [esp + 0x2c]
add ecx, 4
mov ecx, dword [ecx]
push eax
push ecx
mov ecx, dword [esp + 0x80]
push ecx
push edi
call fcn.00459d40
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ebx, eax
mov eax, ecx
add eax, dword [esp + 0x44]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], eax
mov eax, edx
adc eax, ebp
sub dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
sbb dword [esp + 0x28], edx
test ebx, ebx
jne 0x456aa2
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push edx
push eax
push ecx
push edi
call fcn.0045c880
jmp 0x456aa7
cmp ebx, 0xfffffffb
je 0x456adb
mov ebp, dword [esp + 0x38]
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x456ad0
call ebx
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x456ac4
call ebx
mov esi, dword [esp + 0x64]
add ebp, 8
jmp 0x45678f
mov eax, dword [eax]
jmp 0x456abd
cmp dword [esp + 0x18], 0xfffffffb
jne 0x456afd
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]
or eax, 0xffffffff
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
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]
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10