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

Disassembly:
push 0xffffffffffffffff
push 0x5d1258
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x65db30]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65db30]
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 0x5ca019
mov eax, dword [ecx + 4]
push eax
push ebp
push edi
push esi
call fcn.005c9010
add esp, 0x10
jmp 0x5ca1b7
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 0x5ca042
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
jmp 0x5ca1b7
sub ebp, edi
sar ebp, 1
push ebp
push edi
call fcn.005c7a20
add esp, 8
test al, al
je 0x5ca060
mov ebp, dword [esp + 0x34]
mov eax, edi
mov edi, dword [esp + 0x18]
jmp 0x5ca0c7
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 4], 1
jne 0x5ca098
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 0x652f1c
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.005c87a0
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
add esp, 0xc
cmp ebp, eax
je 0x5ca0c1
sub eax, ebp
sar eax, 1
lea edx, [ebp + eax*2]
mov edi, edx
mov eax, ebp
jmp 0x5ca0c7
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 0x5ca12f
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.00408e80
cmp dword [esp + 0x58], 0x10
jb 0x5ca109
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 0x5ca1b7
push ebp
call sub.mfc100u.dll_delete
add esp, 4
jmp 0x5ca1b7
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.005c9580
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add esp, 0x14
cmp ecx, eax
jne 0x5ca177
lea ecx, [esp + 0x44]
push ecx
jmp 0x5ca189
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.00408ff0
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.00408e80
lea ecx, [esp + 0x24]
call fcn.005c7e80
lea ecx, [esp + 0x44]
call fcn.00408410
lea ecx, [esp + 0x34]
call fcn.005c7e80
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.005c5718
add esp, 0x5c
ret 0xc