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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xf8]
cmp eax, dword [ecx + 8]
jbe 0x5ca827
sub esp, 0x178
lea eax, [0x689e00]
mov dword [esp], eax
mov eax, dword [esp + 0x184]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044b070
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb4], eax
lea ecx, [0x6c69a0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x184]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044b070
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x180]
xor edx, edx
jmp 0x5c9fff
mov esi, dword [esp + 0xac]
add esi, 0xc
inc ebx
mov eax, ebp
mov edx, ebx
mov ecx, esi
mov ebx, dword [esp + 0x184]
cmp ebx, edx
jle 0x5ca294
mov dword [esp + 0x6c], edx
mov dword [esp + 0xac], ecx
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ebp, dword [0x8ce1e8]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.005ba150
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test ecx, ecx
jne 0x5ca1cc
mov ebx, dword [eax]
cmp dword [ebx + 0x4c], 1
je 0x5ca066
mov ecx, dword [esp + 0x184]
mov ebx, dword [esp + 0x6c]
cmp ecx, ebx
jmp 0x5ca0cb
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x54]
lea ebx, [0x6a4ea0]
cmp ecx, ebx
jne 0x5ca810
mov dword [esp + 0x94], eax
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.005363e0
mov eax, dword [esp + 0xc]
mov dword [esp], eax
call fcn.005c9ef0
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 4]
test al, al
je 0x5ca12c
mov ecx, dword [esp + 0x184]
mov eax, dword [esp + 0x6c]
cmp ecx, eax
mov ebx, eax
mov eax, dword [esp + 0x94]
jbe 0x5ca809
mov ebp, dword [esp + 0xb4]
lea edi, [ebp + ebx*4]
mov esi, dword [0x8f52e0]
mov edx, ebp
mov ebp, dword [esp + 0xb0]
lea ebp, [ebp + ebx*4]
test esi, esi
jne 0x5ca0f8
mov dword [edx + ebx*4], eax
jmp 0x5ca0fd
call fcn.004642e0
mov esi, dword [0x8f52e0]
mov eax, dword [eax]
test esi, esi
jne 0x5ca119
mov ebp, dword [esp + 0xb0]
mov dword [ebp + ebx*4], eax
jmp 0x5c9fee
mov edi, ebp
call fcn.004642e0
mov ebp, dword [esp + 0xb0]
jmp 0x5c9fee
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x17c]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.005c1160
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.00409560
mov eax, dword [esp + 4]
lea ecx, [0x698320]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
lea eax, [0x6e719c]
mov dword [esp], eax
mov dword [esp + 4], 0x43
lea eax, [esp + 0xb8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.005242a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], ecx
add esp, 0x178
ret
mov dword [esp + 0x70], ecx
mov dword [esp + 0x90], edx
mov eax, dword [esp + 0x17c]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.005c1160
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x6e3731]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2e
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0044eb50
mov eax, dword [esp + 0x14]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], ecx
lea edx, [0x6a2c20]
mov dword [esp], edx
call fcn.0040bd30
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x64]
mov dword [edi + 4], eax
mov eax, dword [0x8f52e0]
test eax, eax
jne 0x5ca26d
mov eax, dword [esp + 0x84]
mov dword [edi], eax
jmp 0x5ca279
mov eax, dword [esp + 0x84]
call fcn.004642e0
lea eax, [0x73be18]
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], edi
add esp, 0x178
ret
mov ebp, dword [esp + 0x17c]
mov esi, dword [ebp + 0x28]
mov ecx, ebp
movzx ebp, byte [esi + 0x50]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5ca3f4
mov ebp, dword [esi + 8]
test ebp, ebp
jne 0x5ca2bb
lea ebp, [0x6ee854]
mov eax, dword [ebp]
mov edx, ebp
call eax
lea edi, [esp + 0xd4]
lea esi, [esp]
call fcn.00464a5e
lea edi, [esp + 0xc0]
lea esi, [esp + 0xd4]
call fcn.00464a5e
call fcn.0040c810
mov eax, dword [esp]
mov dword [esp + 0xa8], eax
call fcn.0040c810
mov eax, dword [esp]
mov dword [esp + 0xa4], eax
lea ecx, [0x6b4a20]
mov dword [esp], ecx
call fcn.0040bd30
mov edi, dword [esp + 4]
mov eax, dword [0x8f52e0]
test eax, eax
jne 0x5ca333
mov ecx, dword [esp + 0xa8]
mov dword [edi], ecx
mov ecx, dword [esp + 0xa4]
mov dword [edi + 0x10], ecx
jmp 0x5ca354
mov eax, dword [esp + 0xa8]
call fcn.004642e0
lea ecx, [edi + 0x10]
mov eax, dword [esp + 0xa4]
mov edx, edi
mov edi, ecx
call fcn.004642e0
mov edi, edx
mov dword [esp + 0x80], edi
xor eax, eax
lea edi, [esp + 0xe8]
call fcn.00464573
mov ecx, dword [esp + 0x17c]
mov edx, dword [ecx + 0x28]
mov edx, dword [edx + 0x30]
mov dword [esp + 0xf4], edx
lea edi, [esp + 0xf8]
lea esi, [esp + 0xc0]
call fcn.00464a5e
mov ecx, dword [esp + 0x17c]
mov edx, dword [ecx + 0x28]
mov ebx, dword [edx + 0x40]
mov edx, dword [edx + 0x44]
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xf0], edx
mov edx, dword [esp + 0x184]
cmp edx, 1
jb 0x5ca7fd
lea eax, [edx - 1]
mov dword [esp + 0x7c], eax
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 4
mov ebp, dword [esp + 0xb0]
add eax, ebp
mov dword [esp + 0xa0], eax
xor esi, esi
jmp 0x5ca6d0
test ebx, ebx
jbe 0x5ca686
mov ebp, dword [eax]
mov ebp, dword [ebp + 0x50]
test ebp, ebp
je 0x5ca5f8
mov esi, dword [ebp + 8]
cmp esi, 0x4bcec15d
jne 0x5ca423
lea esi, [0x6a4ea0]
cmp ebp, esi
je 0x5ca454
jmp 0x5ca5f8
cmp esi, 0x8c7bd38d
jne 0x5ca43a
lea esi, [0x6c0c00]
cmp ebp, esi
je 0x5ca454
jmp 0x5ca5f8
cmp esi, 0xc0d9e4a4
jne 0x5ca5f8
lea esi, [0x6a0060]
cmp ebp, esi
jne 0x5ca5f8
mov dword [ecx + 0x5c], ebx
mov dword [ecx + 0x60], ebx
mov ebp, dword [0x8f52e0]
test ebp, ebp
jne 0x5ca470
mov ebp, dword [esp + 0xb4]
mov dword [ecx + 0x58], ebp
jmp 0x5ca483
lea edi, [ecx + 0x58]
mov edx, eax
mov eax, dword [esp + 0xb4]
call fcn.004642e0
mov eax, edx
mov dword [ecx + 0x50], ebx
mov dword [ecx + 0x54], ebx
mov ebp, dword [0x8f52e0]
test ebp, ebp
jne 0x5ca498
mov dword [ecx + 0x4c], eax
jmp 0x5ca4a0
lea edi, [ecx + 0x4c]
call fcn.004642e0
mov eax, dword [ecx + 0x28]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x5ca4f7
mov eax, dword [edx]
mov ebp, dword [ecx + 0x64]
mov esi, dword [ecx + 0x68]
mov edi, dword [ecx + 0x6c]
mov ecx, dword [esp + 0x180]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x188]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x5ca5b3
mov ecx, dword [esp + 0x17c]
mov eax, dword [ecx + 0x28]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x5ca551
mov dword [esp], ecx
call fcn.005c4ac0
lea edi, [esp + 0x11c]
lea esi, [esp + 4]
call fcn.004649aa
mov eax, dword [esp + 0x17c]
mov ecx, dword [eax + 0x28]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [edx]
mov dword [esp + 0x78], ecx
lea edi, [esp]
lea esi, [esp + 0x11c]
call fcn.004649aa
mov ecx, dword [esp + 0x78]
call ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
test eax, eax
jne 0x5ca56e
mov dword [esp + 0x18c], 0
mov dword [esp + 0x190], 0
add esp, 0x178
ret
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x88], edx
mov eax, dword [esp + 0x17c]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.005c1160
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x190], eax
add esp, 0x178
ret
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x9c], ecx
mov eax, dword [esp + 0x17c]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.005c1160
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x190], eax
add esp, 0x178
ret
mov dword [esp], ecx
mov byte [esp + 4], 0x2b
call fcn.005c1160
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov eax, dword [esp + 0xb0]
mov eax, dword [eax]
mov ecx, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
lea eax, [0x6e78a1]
mov dword [esp], eax
mov dword [esp + 4], 0x48
lea eax, [esp + 0xb8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.005242a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], ecx
add esp, 0x178
ret
xor eax, eax
mov ecx, eax
call fcn.00464360
mov dword [esp + 0x74], esi
mov ecx, dword [eax + esi*4]
mov edx, dword [esp + 0xf0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.005a3180
mov eax, dword [esp + 0x74]
lea esi, [eax + 1]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x17c]
mov edx, dword [esp + 0x184]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0xb0]
cmp esi, ebx
jl 0x5ca68f
mov eax, dword [ebp]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0xe8]
call fcn.00464a0e
call fcn.005afda0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov esi, ebp
mov ebp, dword [esp + 0x44]
mov edi, ebp
mov ebp, dword [esp + 0x17c]
mov dword [ebp + 0x68], ecx
mov dword [ebp + 0x6c], edx
mov ecx, dword [0x8f52e0]
test ecx, ecx
jne 0x5ca727
mov dword [ebp + 0x64], eax
jmp 0x5ca739
mov ecx, esi
lea esi, [ebp + 0x64]
mov edx, edi
mov edi, esi
call fcn.004642e0
mov esi, ecx
mov edi, edx
test ebx, ebx
jne 0x5ca752
mov eax, dword [esp + 0xb0]
mov ecx, ebp
mov ebx, dword [esp + 0x184]
jmp 0x5ca3f4
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], esi
mov dword [esp], ebp
mov byte [esp + 4], 0x2a
call fcn.005c1160
lea eax, [0x6a88a0]
mov dword [esp], eax
call fcn.0040bd30
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x184]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [0x8f52e0]
test eax, eax
jne 0x5ca7a1
mov ecx, dword [esp + 0xb0]
mov dword [edi], ecx
jmp 0x5ca7ad
mov eax, dword [esp + 0xb0]
call fcn.004642e0
mov ecx, dword [esp + 0x9c]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x8f52e0]
test ecx, ecx
jne 0x5ca7cd
mov eax, dword [esp + 0x98]
mov dword [edi + 0x10], eax
jmp 0x5ca7e2
lea ecx, [edi + 0x10]
mov eax, dword [esp + 0x98]
mov edx, edi
mov edi, ecx
call fcn.004642e0
mov edi, edx
lea eax, [0x73bd28]
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], edi
add esp, 0x178
ret
mov eax, 1
xor ecx, ecx
call fcn.004643c0
mov eax, ebx
call fcn.00464360
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x698460]
mov dword [esp + 8], eax
call fcn.004092c0
nop
call fcn.00462ed0
jmp fcn.005c9f70