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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xdc]
cmp eax, dword [ecx + 8]
jbe 0x5c3ab0
sub esp, 0x15c
mov eax, 0
mov dword [esp + 0x158], eax
mov byte [esp + 0x2e], 0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0
mov ecx, dword [esp + 0x160]
mov edx, dword [ecx + 0x28]
test edx, edx
jne 0x5c33eb
mov edx, dword [0x901e80]
test edx, edx
jne 0x5c33dd
lea eax, [0x8dc140]
mov dword [ecx + 0x28], eax
jmp 0x5c33eb
lea edi, [ecx + 0x28]
lea eax, [0x8dc140]
call fcn.00456ac0
mov byte [ecx + 0x30], 0
mov dword [esp], ecx
call fcn.005c2590
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], ebx
test ebp, ebp
jne 0x5c3a92
mov dword [esp + 0x64], eax
mov ecx, dword [edx + 0x40]
mov ebx, dword [edx + 0x44]
mov ebp, dword [esp + 0x160]
mov dword [ebp + 0x74], ebx
mov ebx, dword [0x901e80]
test ebx, ebx
jne 0x5c3444
mov dword [ebp + 0x70], ecx
jmp 0x5c344e
lea edi, [ebp + 0x70]
mov eax, ecx
call fcn.00456ac0
mov dword [esp + 0x60], edx
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.005c3b20
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x68], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x3c], ebp
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x40], esi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x34], edi
test edx, edx
je 0x5c3523
test eax, eax
je 0x5c3517
lea edi, [esp + 0x88]
xor eax, eax
call fcn.00456d5b
lea ecx, [0x5c3ac0]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x16c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x160]
mov dword [esp + 0x90], ecx
mov esi, dword [esp + 0x58]
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], edx
lea esi, [esp + 0x88]
mov dword [esp + 0x158], esi
mov byte [esp + 0x2e], 1
mov esi, 1
xchg esi, eax
mov byte [esp + 0x2f], al
xchg esi, eax
jmp 0x5c352d
mov dword [esp + 0x4c], eax
xor eax, eax
mov byte [esp + 0x2f], al
jmp 0x5c352d
mov dword [esp + 0x44], eax
xor eax, eax
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.005cc650
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x160]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.005bfa20
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x5c35a6
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], edx
movzx eax, byte [esp + 0x2f]
test al, 1
je 0x5c359f
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov edx, dword [esp + 0x158]
mov eax, dword [edx]
call eax
add esp, 0x15c
ret
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call fcn.005bfb50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
test edx, edx
je 0x5c3602
movzx eax, byte [esp + 0x2f]
test al, 1
je 0x5c35fb
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov edx, dword [esp + 0x158]
mov eax, dword [edx]
call eax
add esp, 0x15c
ret
lea eax, [0x73ee00]
cmp ebp, eax
je 0x5c3611
mov ebx, 0
mov dword [esp + 0x5c], ebx
jne 0x5c39c0
mov eax, dword [esp + 0x160]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.005c4a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x5c366f
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], edx
movzx eax, byte [esp + 0x2f]
test al, 1
je 0x5c3668
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov edx, dword [esp + 0x158]
mov eax, dword [edx]
call eax
add esp, 0x15c
ret
mov eax, dword [esp + 0x160]
mov ecx, dword [eax + 0x28]
mov dword [esp], ecx
mov byte [esp + 4], 1
call fcn.005b9550
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x5c3696
xor edx, edx
jmp 0x5c3699
movzx edx, word [ecx]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx + 0x18]
cmp ecx, 0x18
jb 0x5c3a99
add esi, 0xffffffe8
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 0x18
mov eax, ebx
lea ebx, [ebp + esi]
cmp ecx, 0x20
jne 0x5c36e8
cmp dword [ebx], 0x4e574f44
jne 0x5c36e5
mov edi, edx
lea edx, [ebp + esi + 4]
cmp dword [edx], 0x1445247
sete dl
cmp ecx, 0x20
jmp 0x5c36ef
cmp ecx, 0x20
mov edi, edx
mov edx, 0
jne 0x5c3708
cmp dword [ebx], 0x4e574f44
jne 0x5c3708
lea ecx, [ebp + esi + 4]
cmp dword [ecx], 0x445247
sete cl
jmp 0x5c370a
xor ecx, ecx
cmp di, 0x304
jne 0x5c372a
mov ebx, dword [esp + 0x160]
cmp word [ebx + 0x24], 0x303
ja 0x5c3731
test dl, dl
jne 0x5c3744
test cl, cl
jne 0x5c3744
jmp 0x5c3731
mov ebx, dword [esp + 0x160]
cmp di, 0x303
jne 0x5c37a9
cmp word [ebx + 0x24], 0x302
ja 0x5c37a9
test cl, cl
je 0x5c37a9
mov dword [esp], ebx
mov byte [esp + 4], 0x2f
call fcn.005bee30
lea eax, [0x73cfa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x54
lea ecx, [0x77c25b]
mov dword [eax], ecx
lea ecx, [0x7caa44]
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], eax
movzx eax, byte [esp + 0x2f]
test al, 1
je 0x5c37a2
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov edx, dword [esp + 0x158]
mov eax, dword [edx]
call eax
add esp, 0x15c
ret
cmp word [ebx + 0x24], 0x304
jne 0x5c389c
lea edi, [esp + 0xf8]
xor eax, eax
call fcn.00456d48
mov dword [esp + 0xf8], ebx
mov ecx, dword [esp + 0x164]
mov dword [esp + 0xfc], ecx
mov ecx, dword [esp + 0x168]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x108], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x10c], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x110], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x114], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x118], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x11c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x120], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x124], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x128], ecx
lea ecx, [esp + 0xf8]
mov dword [esp], ecx
call fcn.005c8850
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], edx
movzx ecx, byte [esp + 0x2f]
test cl, 1
je 0x5c3895
and ecx, 0xfffffffe
mov byte [esp + 0x2e], cl
mov edx, dword [esp + 0x158]
mov eax, dword [edx]
call eax
add esp, 0x15c
ret
lea edi, [esp + 0x9c]
xor eax, eax
call fcn.00456d49
mov dword [esp + 0x9c], ebx
mov ecx, dword [esp + 0x164]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x168]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xf4], ecx
lea edx, [esp + 0x9c]
mov dword [esp], edx
call fcn.005c4b40
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
test ecx, ecx
je 0x5c393e
mov dword [esp + 0x16c], edx
mov dword [esp + 0x170], ebx
movzx eax, byte [esp + 0x2f]
test al, 1
je 0x5c3937
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov edx, dword [esp + 0x158]
mov eax, dword [edx]
call eax
add esp, 0x15c
ret
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5c3987
mov ecx, dword [esp + 0xf4]
test ecx, ecx
je 0x5c3987
mov ebx, dword [esp + 0x6c]
cmp ecx, ebx
je 0x5c3987
mov edx, dword [esp + 0x160]
mov edx, dword [edx + 0x28]
mov ebx, dword [edx + 0x84]
mov edx, dword [edx + 0x88]
mov ebx, dword [ebx + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call ebx
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0
movzx eax, byte [esp + 0x2f]
test al, 1
je 0x5c39b9
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov edx, dword [esp + 0x158]
mov eax, dword [edx]
call eax
add esp, 0x15c
ret
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], ebp
mov eax, dword [esp + 0x160]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005bee30
nop
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x7c], eax
lea eax, [0x73ee00]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x84], eax
lea eax, [0x77bbe5]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a4ab0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
movzx eax, byte [esp + 0x2f]
test al, 1
je 0x5c3a8b
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov edx, dword [esp + 0x158]
mov eax, dword [edx]
call eax
add esp, 0x15c
ret
add esp, 0x15c
ret
mov eax, 0x18
call fcn.00456ba0
nop
call fcn.0042fda0
add esp, 0x15c
ret
call fcn.00455690
jmp fcn.005c3370