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

Disassembly:
push 0xffffffffffffffff
push 0x5e9f2b
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x7414e0]
xor esi, esi
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.005ac5a0
cmp eax, esi
je 0x5c61cb
mov eax, dword [eax + 0x14]
jmp 0x5c61cd
xor eax, eax
mov dword [esp + 0x3c], eax
cmp eax, esi
je 0x5c61f0
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x40], edi
call fcn.005c52e0
xor edx, edx
cmp eax, 3
sete dl
mov dword [esp + 0x44], edx
jmp 0x5c6219
mov ecx, dword [0x7414e4]
push ecx
mov ecx, ebx
call fcn.005ac5a0
cmp eax, esi
je 0x5c620d
mov eax, dword [eax + 0x14]
mov edi, eax
mov dword [esp + 0x40], edi
jmp 0x5c6215
xor eax, eax
mov edi, eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], esi
mov eax, dword [ebx + 0xa8]
mov ebp, dword [esp + 0x5c]
cmp eax, ebp
je 0x5c6236
cmp dword [esp + 0x3c], esi
jne 0x5c6249
cmp edi, esi
jne 0x5c6249
cmp eax, 0xffffffff
je 0x5c6249
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
test eax, eax
je 0x5c64ba
mov ecx, ebx
mov dword [ebx + 0xa8], ebp
call fcn.005c5c10
push 0x1c
call sub.mfc90u.dll_new_1
add esp, 4
cmp eax, esi
je 0x5c627a
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0xc], esi
mov dword [eax + 8], esi
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
jmp 0x5c627c
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
mov ecx, ebx
mov dword [esp + 0x38], eax
call fcn.005c5bf0
mov edi, eax
cmp edi, esi
jne 0x5c62a6
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.005c5700
jmp 0x5c645b
mov edx, dword [edi]
mov eax, dword [esp + 0x38]
mov edx, dword [edx + 0x8c]
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x6c]
mov ecx, edi
call edx
push 0x34
mov dword [esp + 0x18], eax
call sub.mfc90u.dll_new_1
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x50], 0
test esi, esi
je 0x5c630d
mov ebp, dword [esp + 0x14]
push 0x34
push 0
push esi
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, edi
mov dword [esi], edi
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
call fcn.005ab630
mov ebp, dword [esp + 0x5c]
mov dword [esi + 0x30], 0
jmp 0x5c630f
xor esi, esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x2c], esi
cmp eax, 0xffffffff
je 0x5c63ff
cmp dword [esp + 0x3c], 0
mov dword [esi + 8], eax
je 0x5c6361
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax + 0x74]
push ecx
mov ecx, edi
call edx
test eax, eax
je 0x5c6361
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.005c5380
push ebp
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.005c5d80
mov esi, dword [esp + 0x2c]
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x78]
push eax
mov ecx, edi
call edx
test eax, eax
je 0x5c63e4
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.005c5380
push ebp
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.005c5d80
mov edx, dword [esp + 0x28]
cmp dword [edx], 0
jne 0x5c63ae
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.005c5700
push ebp
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.005c5d80
push ebp
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call fcn.005c5c90
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call edx
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 8], ecx
mov dword [esi + 0x30], 1
jmp 0x5c63f2
mov edx, dword [edi]
mov edx, dword [edx + 0x70]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
jne 0x5c6328
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x5c641f
cmp dword [esi + 0x30], 0
jne 0x5c641f
mov ecx, dword [esi]
call fcn.005ab650
push esi
call sub.mfc90u.dll_delete_1
add esp, 4
jmp 0x5c6440
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.005c5380
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5c6438
mov dword [eax + 0x2c], esi
jmp 0x5c643c
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.005cb030
mov edi, eax
test edi, edi
jne 0x5c62a6
xor esi, esi
push ebp
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call fcn.005c5d80
push ebp
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.005c5c90
mov edi, dword [esp + 0x28]
cmp edi, esi
je 0x5c648d
mov ecx, edi
call fcn.005c5480
push edi
call sub.mfc90u.dll_delete_1
add esp, 4
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test eax, eax
je 0x5c64a6
mov dword [ebx + 0xa8], 0xffffffff
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0xac], eax
mov dword [ebx + 0xb0], ecx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 8