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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2b4]
cmp eax, dword [ecx + 8]
jbe 0x5c882e
sub esp, 0x334
lea eax, [0x672f20]
mov dword [esp], eax
call fcn.0040b430
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], 0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.00408d40
mov eax, dword [esp + 8]
lea ecx, [0x672f20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b53b0
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
lea edi, [esp + 0x80]
xor eax, eax
call fcn.0045f23b
mov ecx, dword [esp + 0x338]
mov dword [esp], ecx
lea edx, [0x64a960]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x33c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x10], ebp
call fcn.005b8bc0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5c7e9f
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx]
mov esi, dword [esp + 0x340]
cmp esi, ebp
jb 0x5c7e7e
mov esi, dword [esp + 0x33c]
mov eax, esi
add esi, ebp
mov ecx, ebx
mov ebx, dword [esp + 0x338]
cmp dword [ebx + 0x2ac], esi
jb 0x5c7e5d
test ebp, ebp
je 0x5c7e3c
mov byte [ebx + 0x29f], 1
mov ebp, dword [ecx]
movzx esi, word [ecx + 4]
mov edx, esi
movzx esi, word [ecx + 6]
mov dword [ebx + 0x18c], ebp
mov word [ebx + 0x190], dx
mov word [ebx + 0x192], si
mov edx, dword [ebx + 0x290]
mov ebp, dword [ebx + 0x288]
mov esi, dword [esp + 0x48]
add esi, eax
mov edi, ebp
mov ebp, dword [ecx]
lea ecx, [ebp + eax]
cmp edx, ecx
jb 0x5c8828
cmp ecx, esi
jb 0x5c8821
sub ecx, esi
mov dword [ebx + 0x198], ecx
sub edx, esi
mov dword [ebx + 0x19c], edx
mov ebp, dword [0x8d5630]
mov eax, edx
neg edx
sar edx, 0x1f
and esi, edx
lea edx, [edi + esi]
test ebp, ebp
jne 0x5c7e26
mov dword [ebx + 0x194], edx
jmp 0x5c7ecd
lea edi, [ebx + 0x194]
mov ebp, eax
mov eax, edx
call fcn.0045efb0
mov eax, ebp
jmp 0x5c7ecd
mov eax, dword [0x8ad880]
mov ecx, dword [0x8ad884]
mov dword [esp + 0x344], eax
mov dword [esp + 0x348], ecx
add esp, 0x334
ret
mov eax, dword [0x8ad878]
mov ecx, dword [0x8ad87c]
mov dword [esp + 0x344], eax
mov dword [esp + 0x348], ecx
add esp, 0x334
ret
mov eax, dword [0x8ad878]
mov ecx, dword [0x8ad87c]
mov dword [esp + 0x344], eax
mov dword [esp + 0x348], ecx
add esp, 0x334
ret
mov eax, dword [0x8ad878]
mov ecx, dword [0x8ad87c]
mov dword [esp + 0x344], eax
mov dword [esp + 0x348], ecx
add esp, 0x334
ret
mov ebx, dword [esp + 0x68]
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005a2c70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ecx, ecx
jne 0x5c8709
mov dword [esp + 0x5c], eax
cmp dword [eax + 0x28], 1
je 0x5c7f03
xor ecx, ecx
jmp 0x5c7f66
lea edi, [esp + 0x284]
xor eax, eax
call fcn.0045f214
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x24]
test edx, edx
jbe 0x5c8818
lea edi, [esp + 0x284]
call fcn.0045f598
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
lea edi, [esp + 0xc]
lea esi, [esp + 0x288]
call fcn.0045f6ec
call fcn.005a51a0
mov eax, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [esp + 0x5c]
test ecx, ecx
je 0x5c86cd
mov dword [esp + 0x54], ecx
lea edi, [esp + 0xa8]
xor eax, eax
call fcn.0045f22e
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 0x5c]
mov dword [esp], edx
call fcn.0050a2a0
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x58], edx
lea ebx, [0x65ac00]
mov dword [esp], ebx
shl ecx, 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004480c0
mov ecx, dword [esp + 0xc]
nop
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x58]
xor eax, eax
xor esi, esi
jmp 0x5c872e
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.0044b9e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0xec], ecx
lea esi, [eax + 0x16c]
lea edi, [esp + 0xcc]
call fcn.0045f71e
lea esi, [eax + 0x158]
lea edi, [esp + 0xb8]
call fcn.0045f71e
lea esi, [eax + 0x60]
lea edi, [esp + 0x16c]
call fcn.0045f61a
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x170]
test edx, edx
je 0x5c8059
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
jmp 0x5c805d
xor edx, edx
xor ecx, ecx
mov ebx, dword [esp + 0x19c]
mov ebp, dword [esp + 0x1a0]
test ebp, ebp
je 0x5c80ae
mov eax, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea ecx, [0x691ea5]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.0044b7d0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x190]
mov ebp, dword [esp + 0x194]
test ebp, ebp
je 0x5c80ff
mov eax, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea ecx, [0x691ea5]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.0044b7d0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x178]
mov ebp, dword [esp + 0x17c]
test ebp, ebp
je 0x5c814c
mov eax, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea ecx, [0x691ea5]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.0044b7d0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c8]
mov ebx, dword [esp + 0x1cc]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea ecx, [0x691ea5]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.0044b7d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov eax, dword [esp + 0x54]
lea esi, [eax + 0xdc]
lea edi, [esp + 0xf0]
call fcn.0045f61a
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf4]
test ecx, ecx
je 0x5c81cd
mov ecx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x5c81d1
xor ecx, ecx
xor eax, eax
mov edx, dword [esp + 0x120]
mov ebx, dword [esp + 0x124]
test ebx, ebx
je 0x5c821e
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x691ea5]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
call fcn.0044b7d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x114]
mov ebx, dword [esp + 0x118]
test ebx, ebx
je 0x5c826b
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x691ea5]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
call fcn.0044b7d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xfc]
mov ebx, dword [esp + 0x100]
test ebx, ebx
je 0x5c82b8
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x691ea5]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
call fcn.0044b7d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14c]
mov ebx, dword [esp + 0x150]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x691ea5]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
call fcn.0044b7d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov eax, dword [esp + 0x338]
mov byte [eax + 0x2ab], 1
mov ecx, dword [eax + 0x2bc]
movzx ecx, byte [ecx + 0xc]
test cl, cl
je 0x5c832a
xor ecx, ecx
jmp 0x5c835c
call fcn.005c8840
mov eax, dword [esp]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x5c833e
xor eax, eax
jmp 0x5c835a
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005a3430
mov eax, dword [esp + 8]
test eax, eax
setne al
xor eax, 1
mov ecx, eax
mov byte [esp + 0x3b], cl
lea edi, [esp + 0x94]
xor eax, eax
call fcn.0045f23b
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.005c92a0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
lea edi, [esp + 0x94]
lea esi, [esp + 0xc]
call fcn.0045f71e
lea edi, [esp + 0x80]
lea esi, [esp + 0x94]
call fcn.0045f71e
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x5c8431
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
test edx, edx
je 0x5c83dc
mov edx, dword [edx + 4]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x338]
mov ecx, dword [eax + 0x2c0]
mov dword [esp], ecx
lea ecx, [0x6a40ea]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x28
lea edx, [esp + 0x78]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00503a10
mov ecx, dword [esp + 0x338]
xor eax, eax
jmp 0x5c84e8
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x2bc]
movzx edx, byte [edx + 0xd]
test dl, dl
je 0x5c844d
xor eax, eax
jmp 0x5c84e8
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.004b9ef0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x338]
mov dword [esp], eax
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.005c73e0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test ecx, ecx
jbe 0x5c87ff
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [esp + 0x88]
cmp dword [esp + 0x8c], ecx
je 0x5c84cc
xor eax, eax
jmp 0x5c84e1
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004025e0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x338]
mov edx, dword [esp + 0x80]
mov dword [esp + 0xe8], edx
lea edi, [esp + 0x1e8]
mov edx, eax
xor eax, eax
call fcn.0045f219
lea edi, [esp + 0x1e8]
mov esi, dword [esp + 0x5c]
call fcn.0045f6c4
lea edi, [esp + 0x220]
lea esi, [esp + 0x80]
call fcn.0045f71e
mov byte [esp + 0x234], dl
lea edi, [esp + 0x238]
lea esi, [esp + 0xa8]
call fcn.0045f69c
movzx ecx, byte [esp + 0x3b]
mov byte [esp + 0x280], cl
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x1a4]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x1a0]
mov esi, ecx
mov ecx, dword [ecx + 0x1a8]
cmp ecx, ebx
jae 0x5c85cd
lea eax, [0x6798e0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.00448240
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x338]
mov dword [ebx + 0x1a8], edx
mov edx, dword [0x8d5630]
test edx, edx
jne 0x5c85ba
mov dword [ebx + 0x1a0], eax
jmp 0x5c85c5
lea edi, [ebx + 0x1a0]
call fcn.0045efb0
mov esi, ebx
mov edx, ecx
mov ebp, eax
xor eax, eax
lea ecx, [edx + 1]
mov dword [esi + 0x1a4], ecx
mov ecx, dword [0x8d5630]
imul edx, edx, 0x9c
lea edi, [ebp + edx]
test ecx, ecx
jne 0x5c85f8
lea esi, [esp + 0x1e8]
call fcn.0045f5ca
jmp 0x5c8615
lea eax, [0x6798e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x1e8]
mov dword [esp + 8], eax
call fcn.00410760
lea eax, [0x6796e0]
mov dword [esp], eax
call fcn.0040b430
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
lea ecx, [0x654f00]
mov dword [esp], ecx
call fcn.0040b430
mov eax, dword [esp + 4]
mov dword [eax], 1
mov dword [eax + 4], 3
mov dword [eax + 8], 6
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], 4
mov dword [eax + 0x14], 1
mov dword [eax + 0x18], 0x137
mov dword [eax + 0x1c], 2
mov dword [eax + 0x20], 4
mov dword [eax + 0x24], 1
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0xa
lea eax, [0x647da0]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x14], ecx
call fcn.005a3e70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x5c7ec0
jmp 0x5c877a
lea eax, [0x665440]
mov dword [esp], eax
call fcn.0040b430
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x21
lea ecx, [0x6a16f7]
mov dword [eax], ecx
lea ecx, [0x700a44]
mov dword [esp + 0x344], ecx
mov dword [esp + 0x348], eax
add esp, 0x334
ret
mov dword [esp + 0x344], edx
mov dword [esp + 0x348], ebx
add esp, 0x334
ret
mov byte [esi + ecx + 1], dl
inc eax
add esi, 2
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x58]
cmp eax, edx
jge 0x5c7fd5
movzx edi, byte [eax + ebp]
xchg edi, eax
mov byte [esp + 0x3a], al
xchg edi, eax
xchg edi, eax
shr al, 4
xchg edi, eax
xchg edi, eax
movzx eax, al
xchg edi, eax
lea ebp, [0x6970f4]
movzx edi, byte [ebp + edi]
cmp esi, ebx
jae 0x5c880f
xchg edi, eax
mov byte [ecx + esi], al
xchg edi, eax
lea edi, [esi + 1]
movzx edx, byte [esp + 0x3a]
and edx, 0xf
movzx edx, byte [edx + ebp]
cmp ebx, edi
ja 0x5c871e
jmp 0x5c8806
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x66ce00]
mov dword [esp], eax
call fcn.0040b430
mov eax, dword [esp + 4]
mov dword [eax], 0
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
lea ebx, [0x661320]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00466850
movzx eax, byte [esp + 0x10]
test al, al
je 0x5c87e2
mov dword [esp + 0x344], 0
mov dword [esp + 0x348], 0
add esp, 0x334
ret
mov eax, dword [esp + 0x64]
mov dword [esp + 0x344], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x348], eax
add esp, 0x334
ret
xor eax, eax
call fcn.0045f030
mov eax, edi
mov ecx, ebx
call fcn.0045f030
mov eax, esi
mov ecx, ebx
call fcn.0045f030
xor eax, eax
mov ecx, edx
call fcn.0045f030
mov eax, esi
call fcn.0045f0a0
call fcn.0045f080
nop
call fcn.0045dba0
jmp fcn.005c7ca0