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

Disassembly:
push 0xffffffffffffffff
push 0x5bd9d8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x644a10]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x644a10]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
xor ebx, ebx
cmp dword [ecx + 8], 0xfde9
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebx
jne 0x5b72b9
mov eax, dword [ecx + 4]
push eax
push ebp
push edi
push esi
call fcn.005b6280
add esp, 0x10
jmp 0x5b7457
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x6c], ebx
cmp edi, ebp
jne 0x5b72e2
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
jmp 0x5b7457
sub ebp, edi
sar ebp, 1
push ebp
push edi
call fcn.005b45c0
add esp, 8
test al, al
je 0x5b7300
mov ebp, dword [esp + 0x34]
mov eax, edi
mov edi, dword [esp + 0x18]
jmp 0x5b7367
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 4], 1
jne 0x5b7338
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], str.Conversion_failed
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x63af70
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], vtable.boost::locale::conv::conversion_error.0
call sub.MSVCR100.dll__CxxThrowException
lea ecx, [esp + 0x34]
push ecx
push ebp
push edi
call fcn.005b58a0
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
add esp, 0xc
cmp ebp, eax
je 0x5b7361
sub eax, ebp
sar eax, 1
lea edx, [ebp + eax*2]
mov edi, edx
mov eax, ebp
jmp 0x5b7367
mov edi, dword [esp + 0x1c]
mov eax, edi
mov ecx, 0xf
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
mov byte [esp + 0x6c], 1
cmp eax, edi
jne 0x5b73cf
mov dword [esi + 0x14], ecx
lea eax, [esp + 0x44]
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.00408f20
cmp dword [esp + 0x58], 0x10
jb 0x5b73a9
mov ecx, dword [esp + 0x44]
push ecx
call sub.mfc100u.dll_delete
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
cmp ebp, ebx
je 0x5b7457
push ebp
call sub.mfc100u.dll_delete
add esp, 4
jmp 0x5b7457
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x20]
cmp dword [ebp + 4], ebx
lea edx, [esp + 0x24]
push edx
sete cl
movzx edx, cl
push edx
push edi
push eax
mov eax, dword [ebp + 8]
push eax
mov byte [esp + 0x80], 2
call fcn.005b67f0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add esp, 0x14
cmp ecx, eax
jne 0x5b7417
lea ecx, [esp + 0x44]
push ecx
jmp 0x5b7429
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.00409090
lea edx, [esp + 0x44]
push edx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
mov byte [esi], bl
call fcn.00408f20
lea ecx, [esp + 0x24]
call fcn.005b4cc0
lea ecx, [esp + 0x44]
call fcn.00408400
lea ecx, [esp + 0x34]
call fcn.005b4cc0
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.005b2129
add esp, 0x5c
ret 0xc