Function at 0x4b0940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x545b23
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x94]
cmp ecx, eax
ja 0x4b0983
sub eax, ecx
mov ebp, eax
mov dword [esp + 0x1c], ebp
jmp 0x4b098b
sub eax, ecx
mov dword [esp + 0x1c], eax
mov ebp, eax
mov edi, dword [esp + 0x9c]
sub edi, ecx
mov dword [esp + 0x18], edi
mov esi, ebp
test ebp, ebp
je 0x4b09af
mov eax, dword [esp + 0x18]
cdq
idiv esi
mov dword [esp + 0x18], esi
mov esi, edx
test edx, edx
jne 0x4b099e
mov eax, dword [esp + 0x18]
cmp eax, edi
jge 0x4b0b5d
test eax, eax
jle 0x4b0b5d
jmp 0x4b09db
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x88]
lea ebx, [ecx + eax]
mov dword [esp + 0x54], ecx
lea eax, [esp + 0x30]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
call fcn.00413720
lea ecx, [esp + 0x60]
push ecx
mov edi, eax
call fcn.004ae8a0
mov dword [esp + 0x80], 0
lea eax, [ebx + ebp]
cmp eax, dword [esp + 0x9c]
jne 0x4b0a36
lea eax, [esp + 0x88]
jmp 0x4b0a46
mov dword [esp + 0x3c], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x38], esi
lea eax, [esp + 0x38]
mov esi, dword [eax + 4]
mov ebp, dword [eax]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebp
cmp esi, ebx
je 0x4b0afc
lea eax, [esp + 0x28]
call fcn.00413720
mov edi, eax
lea eax, [esp + 0x20]
call fcn.00413720
mov ebx, eax
push edi
mov ecx, ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov edx, dword [edi + 4]
mov dword [ebx + 4], edx
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov ecx, dword [edi + 0xc]
mov dword [ebx + 0xc], ecx
mov edx, dword [edi + 0x10]
mov dword [ebx + 0x10], edx
mov eax, dword [edi + 0x14]
mov edi, dword [esp + 0x1c]
mov dword [ebx + 0x14], eax
mov ecx, dword [esp + 0x9c]
sub ecx, esi
mov eax, ecx
cmp edi, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], esi
jge 0x4b0ad1
mov ebx, dword [esp + 0x54]
mov eax, ebp
lea ecx, [esi + edi]
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x40]
jmp 0x4b0a46
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x5c], eax
sub eax, ecx
add eax, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
lea eax, [esp + 0x48]
jmp 0x4b0a46
lea eax, [esp + 0x20]
call fcn.00413720
lea ecx, [esp + 0x60]
mov esi, eax
push ecx
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov edx, dword [esp + 0x64]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x68]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x70]
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x74]
mov dword [esi + 0x14], eax
mov dword [esp + 0x80], 0xffffffff
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]
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
test eax, eax
jg 0x4b09d0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret