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

Disassembly:
mov ecx, dword [0x8cbf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c6c77
sub esp, 0x34
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 0x164], eax
jne 0x5c6862
mov edx, dword [ecx + 0x168]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00407c30
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5c6c1b
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0xfffffff0
call fcn.0054afb0
mov eax, dword [esp + 8]
test eax, eax
je 0x5c6bf1
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x5c6996
mov dword [esp], 0
call fcn.00541120
mov eax, dword [esp + 0x20]
or eax, 0x40000000
and eax, 0x7fffffff
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0x14]
mov dword [esp], edx
mov dword [esp + 4], 0xfffffff0
mov dword [esp + 8], eax
call fcn.0054c810
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5c696c
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x78]
mov edx, dword [esp + 0x40]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x14]
mov dword [esp], ecx
call fcn.0054c6c0
mov eax, dword [esp + 8]
test eax, eax
je 0x5c6942
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x40]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
test eax, eax
je 0x5c6a0b
mov ecx, dword [eax + 0x19c]
inc ecx
mov dword [eax + 0x19c], ecx
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x14]
mov dword [esp], edx
mov dword [esp + 4], 0xfffffff4
mov dword [esp + 8], ecx
call fcn.0054c810
jmp 0x5c6a0b
lea eax, [0x67e1c7]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0059d580
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
add esp, 0x34
ret
lea eax, [0x67faeb]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0059d580
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
add esp, 0x34
ret
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.005cb550
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.0054c6c0
mov eax, dword [esp + 8]
test eax, eax
je 0x5c6bc7
mov dword [esp], 0
call fcn.00541120
mov eax, dword [esp + 0x20]
and eax, 0xbfffffff
or eax, 0x80000000
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0x14]
mov dword [esp], edx
mov dword [esp + 4], 0xfffffff0
mov dword [esp + 8], eax
call fcn.0054c810
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5c6b9d
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.005c63b0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0x20
call fcn.0054ca00
movzx eax, byte [esp + 0x1c]
test al, al
je 0x5c6b73
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x164]
mov edx, dword [eax + 0x168]
mov ebx, dword [esp + 0x3c]
mov dword [eax + 0x164], ebx
mov ebx, dword [0x8cc0e0]
test ebx, ebx
jne 0x5c6a8d
mov ebx, dword [esp + 0x40]
jmp 0x5c6aa1
call fcn.0046bec0
mov ebx, dword [esp + 0x40]
mov dword [edi], ebx
mov ebp, dword [eax + 0x168]
mov dword [edi + 4], ebp
mov dword [eax + 0x168], ebx
test ecx, ecx
jne 0x5c6ab8
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov edx, 0
jmp 0x5c6ad4
mov eax, dword [ecx + 0x34]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov ebx, dword [esp + 0x40]
mov edx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], edx
jne 0x5c6ade
xor ecx, ecx
jmp 0x5c6af4
mov eax, dword [ecx + 0x34]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x28]
mov ecx, eax
mov eax, dword [esp + 0x38]
cmp edx, ecx
je 0x5c6b5f
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [esp + 0x24], edx
lea ebx, [0x666100]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d6a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x5c6b40
mov dword [esp + 0x30], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
call fcn.005c7d40
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x5c6c2f
mov edx, dword [esp + 0x38]
mov edx, dword [edx + 0x14]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx]
xor esi, esi
jmp 0x5c6c44
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
add esp, 0x34
ret
lea eax, [0x67f441]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0059d580
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
add esp, 0x34
ret
lea eax, [0x67faeb]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0059d580
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
add esp, 0x34
ret
lea eax, [0x67e1c7]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0059d580
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
add esp, 0x34
ret
lea eax, [0x67fb1f]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0059d580
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
add esp, 0x34
ret
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
add esp, 0x34
ret
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
add esp, 0x34
ret
inc esi
cmp esi, ebx
jge 0x5c6c53
mov edi, dword [ebp + esi*4]
cmp dword [edi + 0x14], edx
jne 0x5c6c43
jmp 0x5c6c58
mov esi, 0xffffffff
test esi, esi
jge 0x5c6c2f
nop
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
call fcn.005c7a90
jmp 0x5c6c2f
call fcn.0046aab0
jmp fcn.005c6810