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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c074e
sub esp, 0x74
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x5c0438
mov ecx, dword [ecx]
jmp 0x5c043a
xor ecx, ecx
mov dword [esp + 0x24], ecx
lea eax, [0x60d840]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.00447550
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0x58]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x44]
xor eax, eax
call fcn.0045e874
lea eax, [0x632c40]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
call fcn.0040d270
xor eax, eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
jmp 0x5c04b8
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.0040d4c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x44]
test ebx, ebx
je 0x5c0697
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0058df60
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
cmp ecx, 7
jne 0x5c0512
cmp dword [eax], 0x69617254
jne 0x5c0574
cmp word [eax + 4], 0x656c
jne 0x5c0574
cmp byte [eax + 6], 0x72
jne 0x5c0574
jmp 0x5c060e
cmp ecx, 0xe
je 0x5c0549
cmp ecx, 0x11
jne 0x5c0574
mov dword [esp], eax
lea edx, [0x6404b1]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00402800
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5c05fc
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
jmp 0x5c0574
mov dword [esp], eax
lea edx, [0x63f031]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00402800
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5c0606
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x24]
cmp ebp, ebx
jb 0x5c0589
mov esi, dword [esp + 0x2c]
jmp 0x5c05ca
lea eax, [0x60d840]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004476d0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x30]
mov esi, edx
mov ebp, ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
lea ebx, [esi + edx*8 + 4]
mov dword [ebx], ecx
mov ecx, dword [0x816df0]
lea edx, [esi + edx*8]
test ecx, ecx
jne 0x5c05f0
mov dword [edx], eax
jmp 0x5c04a0
mov edi, edx
call fcn.0045e5d0
jmp 0x5c04a0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
jmp 0x5c060e
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408eb0
mov eax, dword [esp + 8]
lea ecx, [0x60d840]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0x642b98]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b1d50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x74
ret
test eax, eax
jle 0x5c0721
nop
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00408f30
mov eax, dword [esp + 0xc]
lea ecx, [0x6a32a8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00481190
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
lea eax, [0x63c32a]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004be4d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x74
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x74
ret
call fcn.0045d190
jmp fcn.005c0410