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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c2c11
sub esp, 0x7c
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x38]
mov ebx, dword [eax + 0x3c]
movzx ebp, byte [esp + 0x84]
xchg ebp, eax
mov byte [esp], al
xchg ebp, eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.005c2e80
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
test edx, edx
jne 0x5c2bff
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x68]
mov edx, eax
xor eax, eax
call fcn.0045af8b
mov ecx, dword [esp + 0x80]
mov eax, esi
movzx esi, byte [ecx + 0x2c]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5c2bea
mov esi, 1
xchg esi, eax
mov byte [esp + 0x33], al
xchg esi, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], ebp
mov edi, dword [esp + 0x34]
test edi, edi
xchg esi, ebx
seta bl
xchg esi, ebx
test edx, edx
seta al
test edi, edi
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, eax
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x5c2b80
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], edx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], edi
call fcn.005c2180
movzx eax, byte [esp + 0x20]
lea esi, [esp + 0xc]
lea edi, [esp + 0x54]
call fcn.0045b46e
test al, al
je 0x5c2b22
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x80]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
movzx eax, byte [esp + 0x33]
mov byte [esp + 0x10], al
call fcn.005c31f0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ebx
test eax, eax
jne 0x5c2b10
mov edx, dword [esp + 0x80]
mov dword [edx + 0x38], ebp
mov dword [edx + 0x3c], esi
mov ebx, dword [0x8326a0]
test ebx, ebx
jne 0x5c2b04
mov dword [edx + 0x34], ecx
lea edi, [esp + 4]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x5c2adb
cmp eax, 2
sete al
mov byte [esp + 0x78], al
mov dword [esp], edx
lea esi, [esp + 0x68]
call fcn.0045b46e
call fcn.005c2c20
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x7c
ret
mov dword [esp + 0x48], edi
mov dword [esp], edx
lea esi, [esp + 0x68]
call fcn.0045b46e
call fcn.005c1f30
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0x48]
jmp 0x5c2aa6
lea edi, [edx + 0x34]
mov eax, ecx
call fcn.0045ace0
jmp 0x5c2a97
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edi
add esp, 0x7c
ret
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00408b00
mov eax, dword [esp + 4]
lea ecx, [0x6c8f90]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
lea eax, [0x6c8f70]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.00408d80
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x7c
ret
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x33]
mov byte [esp + 0x10], al
call fcn.005c31f0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
test eax, eax
jne 0x5c2bd8
mov eax, ebp
mov ecx, esi
mov edx, ebx
jmp 0x5c2a2d
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edi
add esp, 0x7c
ret
mov edi, dword [esp + 0x88]
test edi, edi
xchg esi, ebx
sete bl
xchg esi, ebx
jmp 0x5c29a8
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], edi
add esp, 0x7c
ret
call fcn.00459790
jmp fcn.005c2910