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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c4664
sub esp, 0x64
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0xc0]
mov edx, dword [eax + 0xc4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00409680
mov eax, dword [esp + 8]
lea ecx, [0x5e1fa0]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0x60bc4c]
mov dword [esp], eax
mov dword [esp + 4], 6
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c77c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov edx, dword [esp + 0x68]
mov ebx, dword [edx + 0xdc]
mov ebp, dword [edx + 0xe0]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
xor eax, eax
jmp 0x5c42e2
inc eax
cmp eax, 2
jge 0x5c433e
lea ebx, [esp + eax*8 + 0x54]
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x5c42e1
cmp eax, 2
ja 0x5c4659
mov ecx, eax
shl eax, 3
add ecx, 0xfffffffe
neg ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
lea eax, [esp + eax + 0x54]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
lea eax, [0x6605a0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004cf1b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x5c4342
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
lea edx, [0x5ec260]
mov dword [esp], edx
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
lea ecx, [0x7c7700]
mov dword [eax + 4], ecx
call fcn.0040c820
mov eax, dword [0x7c78f0]
mov ecx, dword [esp]
test eax, eax
jne 0x5c4384
mov edx, dword [esp + 0x38]
mov dword [edx + 0x10], ecx
jmp 0x5c4392
mov edx, dword [esp + 0x38]
lea edi, [edx + 0x10]
mov eax, ecx
call fcn.00463730
mov dword [edx + 0x18], 0
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x5c43ac
mov dword [edx + 0x14], 0
jmp 0x5c43b6
lea edi, [edx + 0x14]
xor eax, eax
call fcn.00463730
mov ecx, dword [esp + 0x6c]
mov dword [edx + 0x1c], ecx
mov ecx, dword [esp + 0x68]
lea ebx, [ecx + 0x108]
mov dword [esp + 0x34], ebx
mov ebp, dword [0x7c78f0]
test ebp, ebp
jne 0x5c43e4
mov eax, dword [esp + 0x70]
mov dword [edx + 0x20], eax
mov dword [ecx + 0x108], edx
jmp 0x5c43f9
lea edi, [edx + 0x20]
mov eax, dword [esp + 0x70]
call fcn.00463730
mov edi, ebx
mov eax, edx
call fcn.00463730
lea eax, [0x5d66e0]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005ad4b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
test ebx, ebx
jne 0x5c44ef
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0xc0]
mov edx, dword [eax + 0xc4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00409680
mov eax, dword [esp + 8]
lea ecx, [0x5e1fa0]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0x60ddd9]
mov dword [esp], eax
mov dword [esp + 4], 0xd
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c77c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov edx, dword [esp + 0x68]
mov ebx, dword [edx + 0xe0]
mov edx, dword [edx + 0xdc]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
xor eax, eax
jmp 0x5c44fc
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], esi
add esp, 0x64
ret
inc eax
cmp eax, 2
jge 0x5c4558
lea edx, [esp + eax*8 + 0x44]
mov edx, dword [edx + 4]
test edx, edx
je 0x5c44fb
cmp eax, 2
ja 0x5c464f
mov ecx, eax
shl eax, 3
add ecx, 0xfffffffe
neg ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
lea eax, [esp + eax + 0x44]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
lea eax, [0x6605a0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004cf1b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x5c455c
xor ecx, ecx
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x1a4
call fcn.0049cc00
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x5c4643
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0049f000
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5c462f
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.0049c900
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
test ebx, ebx
je 0x5c45f4
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], esi
add esp, 0x64
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea eax, [0x5d5920]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov byte [esp + 0x14], 0
call fcn.005acfc0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x64
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x64
ret
mov ecx, 2
call fcn.00463810
mov ecx, 2
call fcn.00463810
nop
call fcn.00462320
jmp fcn.005c4210