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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xa8]
cmp eax, dword [ecx + 8]
jbe 0x5c8fa9
sub esp, 0x128
mov eax, dword [esp + 0x130]
jmp 0x5c8560
mov eax, dword [esp + 0x68]
mov dword [esp + 0x68], eax
lea ecx, [0x67b340]
mov dword [esp], ecx
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0xa8], eax
mov ecx, dword [eax]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.004090f0
mov eax, dword [esp + 8]
lea ecx, [0x67b340]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004bbd20
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x12c]
mov dword [esp], ecx
lea edx, [0x6514a0]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x68]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.005db930
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5c8a28
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax]
movzx edx, word [eax + 4]
movzx ebx, word [eax + 6]
mov dword [esp + 0x84], ecx
mov word [esp + 0x88], dx
mov word [esp + 0x8a], bx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [esp + 0x84]
mov dword [esp], ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 4], ecx
call fcn.004033c0
movzx eax, byte [esp + 8]
test al, al
jne 0x5c8a26
mov eax, dword [esp + 0x12c]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
add ecx, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 4], ecx
call fcn.005dac10
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x12c]
mov edx, dword [ecx + 0xa4]
mov ebx, dword [ecx + 0xa0]
test edx, edx
je 0x5c86b6
mov dword [esp + 0x64], edx
xor ebp, ebp
jmp 0x5c8a85
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x12c]
xor edx, edx
jmp 0x5c86cc
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x12c]
lea edx, [esp + 0xd0]
mov dword [esp + 0x8c], edx
test edx, edx
jne 0x5c8720
mov ebx, dword [ecx + 0x2ac]
sub ebx, eax
mov dword [esp + 0x30], ebx
mov ebp, dword [ecx + 0xa4]
mov esi, ecx
mov ecx, dword [ecx + 0xa0]
test ebp, ebp
je 0x5c8717
mov dword [esp + 0x64], ebp
xor edi, edi
xor edi, edi
mov dword [esp + 0x28], edi
xor edi, edi
mov dword [esp + 0x2c], edi
xor edi, edi
mov dword [esp + 0x90], edi
xor edi, edi
jmp 0x5c8ed3
xor ecx, ecx
xor ebp, ebp
jmp 0x5c8e45
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
call fcn.005e91c0
mov edx, dword [esp + 0x8c]
mov eax, dword [edx + 0x14]
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
sub eax, ecx
test edx, edx
je 0x5c8adf
mov dword [esp + 0x30], eax
lea eax, [0x67b2c0]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0xa4], eax
mov ecx, dword [eax]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], 0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.004090f0
mov eax, dword [esp + 8]
lea ecx, [0x67b2c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004bbd20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xa8]
movzx edx, word [ecx + 6]
test eax, eax
je 0x5c8e40
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov ebx, eax
mov eax, dword [esp + 0x30]
xor edx, edx
div ebx
mov edx, dword [esp + 0x68]
cmp edx, eax
jb 0x5c87e0
mov edx, eax
mov dword [esp + 0x24], edx
lea eax, [0x672000]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044b410
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, dword [esp + 0x34]
xor ebx, ebx
xor ebp, ebp
jmp 0x5c8b90
mov esi, dword [esp + 0xa8]
movzx edi, word [esi + 4]
mov ecx, ebx
mov ebx, dword [esp + 0x130]
lea ebp, [edi + ebx]
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x12c]
mov ebp, dword [esi + 0x290]
mov esi, dword [esi + 0x288]
lea edi, [edi + ebx + 0x100]
cmp ebp, edi
jb 0x5c8de7
mov ebx, dword [esp + 0x38]
cmp edi, ebx
jb 0x5c8dde
sub ebp, ebx
mov edi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebx, ebp
add ebx, esi
xor ebp, ebp
jmp 0x5c8db9
cmp ebp, edi
ja 0x5c8dd5
mov dword [esp + 0x68], edx
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.0044efe0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x9c], ecx
test eax, eax
je 0x5c88de
cmp eax, 0x100
jle 0x5c88b7
mov edx, 1
jmp 0x5c88e0
mov dword [esp + 0x54], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005da7f0
movzx eax, byte [esp + 8]
xor eax, 1
mov ecx, dword [esp + 0x9c]
mov edx, eax
mov eax, dword [esp + 0x54]
jmp 0x5c88e0
xor edx, edx
test dl, dl
jne 0x5c8a3d
lea edi, [esp + 0xb4]
mov edx, eax
xor eax, eax
call fcn.00462cf9
mov ecx, dword [esp + 0xa8]
mov ebx, dword [ecx]
movzx ebp, word [ecx + 4]
movzx ecx, word [ecx + 6]
mov dword [esp + 0xb4], ebx
mov word [esp + 0xb8], bp
mov word [esp + 0xba], cx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x12c]
mov edx, dword [ecx + 0x1bc]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x1b8]
mov esi, ecx
mov ecx, dword [ecx + 0x1c0]
cmp ecx, ebx
jae 0x5c89d7
lea eax, [0x67abc0]
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.0044b610
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x12c]
mov dword [ebx + 0x1c0], edx
mov edx, dword [0x8e4520]
test edx, edx
jne 0x5c89c4
mov dword [ebx + 0x1b8], eax
jmp 0x5c89cf
lea edi, [ebx + 0x1b8]
call fcn.00462a70
mov esi, ebx
mov edx, ecx
mov ebp, eax
xor eax, eax
lea ecx, [edx + 1]
mov dword [esi + 0x1bc], ecx
mov ecx, dword [0x8e4520]
imul edx, edx, 0x1c
lea edi, [ebp + edx]
test ecx, ecx
jne 0x5c8a02
lea esi, [esp + 0xb4]
call fcn.004631ca
jmp 0x5c855c
lea eax, [0x67abc0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xb4]
mov dword [esp + 8], eax
call fcn.00410b40
xor eax, eax
jmp 0x5c855c
jmp 0x5c8a3d
mov dword [esp + 0x138], ecx
mov dword [esp + 0x13c], edx
add esp, 0x128
ret
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 0x1bc]
test ecx, ecx
je 0x5c8a55
mov byte [eax + 0x2a6], 1
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
add esp, 0x128
ret
mov edx, dword [esp + 0xa0]
lea ebx, [edx + 0x2c]
mov ecx, dword [esp + 0x12c]
mov ebp, eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0xa0], ebx
lea edi, [esp + 0xd0]
mov esi, ebx
call fcn.004631a2
lea eax, [esp + 0xd0]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x12c]
mov dword [esp + 8], ecx
call fcn.005e8b80
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5c86ba
mov eax, dword [esp + 0x60]
inc eax
mov ecx, dword [esp + 0x64]
cmp ecx, eax
jg 0x5c8a72
jmp 0x5c86ab
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00409090
mov eax, dword [esp + 4]
lea ecx, [0x662d20]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x12c]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [0x6b0406]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x47
lea eax, [esp + 0xac]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0051bfd0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
add esp, 0x128
ret
mov edi, dword [esp + 0x40]
lea ecx, [edi + 1]
mov edx, dword [esp + 0x68]
mov ebx, esi
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x94], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebp
mov esi, dword [esp + 0x24]
cmp ecx, esi
jae 0x5c8815
mov dword [esp + 0x40], ecx
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x12c]
mov dword [esp], eax
lea ecx, [0x651460]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x10], ebp
call fcn.005db930
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5c8da3
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x64]
add ebx, ebp
mov esi, dword [esp + 0xa4]
movzx edi, word [esi + 4]
mov eax, ebp
mov ebp, dword [esp + 0x130]
mov ecx, ebx
lea ebx, [edi + ebp]
mov dword [esp + 0x3c], ebx
mov edx, esi
mov esi, dword [esp + 0x12c]
mov ebx, dword [esi + 0x290]
mov esi, dword [esi + 0x288]
lea edi, [edi + ebp + 0x100]
cmp ebx, edi
jb 0x5c8e37
mov ebp, dword [esp + 0x3c]
cmp edi, ebp
jb 0x5c8e2e
sub ebx, ebp
mov edi, ebx
neg ebx
sar ebx, 0x1f
and ebp, ebx
lea ebx, [esi + ebp]
xor ebp, ebp
jmp 0x5c8df1
cmp ebp, edi
ja 0x5c8e25
mov dword [esp + 0x68], ecx
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.0044efe0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
test ecx, ecx
je 0x5c8ccc
cmp ecx, 0x100
jle 0x5c8ca9
mov edx, 1
jmp 0x5c8cce
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005da7f0
movzx eax, byte [esp + 8]
xor eax, 1
mov ecx, dword [esp + 0x50]
mov edx, eax
mov eax, dword [esp + 0x98]
jmp 0x5c8cce
xor edx, edx
test dl, dl
jne 0x5c8e0d
mov ebx, dword [esp + 0x44]
lea ebp, [ebx + 1]
mov esi, dword [esp + 0xa4]
mov edx, ebx
mov ebx, dword [esi]
mov edi, ebx
movzx ebx, word [esi + 4]
movzx esi, word [esi + 6]
mov word [esp + 0x22], si
mov esi, dword [esp + 0x48]
cmp esi, ebp
jae 0x5c8d5d
mov word [esp + 0x20], bx
mov dword [esp + 0x58], edi
lea eax, [0x672000]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.0044b610
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x94], eax
mov esi, ebx
mov eax, dword [esp + 0x98]
movzx ebx, word [esp + 0x20]
mov dword [esp + 0x44], ebp
shl edx, 4
mov ebp, dword [esp + 0x94]
mov dword [ebp + edx], edi
mov word [ebp + edx + 4], bx
movzx ebx, word [esp + 0x22]
mov word [ebp + edx + 6], bx
mov dword [ebp + edx + 0xc], ecx
mov ebx, dword [0x8e4520]
lea edi, [ebp + edx + 8]
test ebx, ebx
jne 0x5c8d99
mov dword [ebp + edx + 8], eax
jmp 0x5c8b78
call fcn.00462a70
jmp 0x5c8b78
mov dword [esp + 0x138], ecx
mov dword [esp + 0x13c], edx
add esp, 0x128
ret
inc ebp
cmp ebp, 0x100
jae 0x5c8876
movzx esi, byte [ebp + ebx]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5c8db8
jmp 0x5c8876
mov ecx, ebp
mov edx, edi
call fcn.00462b40
mov eax, ebx
mov ecx, edi
call fcn.00462b60
mov ecx, edi
mov edx, ebp
call fcn.00462b40
inc ebp
cmp ebp, 0x100
jae 0x5c8c63
movzx esi, byte [ebp + ebx]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5c8df0
jmp 0x5c8c63
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x68]
jmp 0x5c8815
mov ecx, ebp
mov edx, edi
call fcn.00462b40
mov eax, ebp
mov ecx, edi
call fcn.00462b60
mov ecx, edi
mov edx, ebx
call fcn.00462b40
call fcn.00435a70
test ecx, ecx
je 0x5c8e50
mov edx, dword [ebp]
xor edi, edi
jmp 0x5c8e5e
mov eax, ebx
jmp 0x5c8750
inc edi
mov edx, ebx
mov ebx, dword [esp + 0x30]
cmp edi, ecx
jge 0x5c8e6e
mov ebx, dword [ebp + edi*4]
cmp edx, ebx
ja 0x5c8e57
mov ebx, edx
jmp 0x5c8e57
mov dword [esp], esi
mov dword [esp + 4], edx
call fcn.005da910
mov eax, dword [esp + 8]
test eax, eax
je 0x5c8e8d
mov ebx, dword [eax + 0x14]
mov ecx, dword [esp + 0x4c]
sub ebx, ecx
jmp 0x5c8e91
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x12c]
mov edx, eax
jmp 0x5c8e50
mov esi, dword [esp + 0xa0]
add esi, 0x2c
mov edx, dword [esp + 0x8c]
mov edi, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x90], ebp
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x64]
mov ecx, esi
mov esi, dword [esp + 0x12c]
mov dword [esp + 0x60], edi
mov dword [esp + 0xa0], ecx
lea edi, [esp + 0xfc]
mov esi, ecx
call fcn.004631a2
mov ecx, dword [esp + 0x110]
cmp ecx, eax
jbe 0x5c8f6f
mov esi, edx
mov edx, dword [esp + 0x28]
mov edi, ebx
lea ebx, [edx + 1]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jae 0x5c8f62
mov dword [esp + 0x68], ecx
lea ecx, [0x662d20]
mov dword [esp], ecx
mov ebp, dword [esp + 0x90]
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0044b610
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x68]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x90], eax
mov eax, edx
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x90]
mov dword [ebp + edx*4], ecx
jmp 0x5c8f82
mov esi, edx
mov edi, ebx
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x90]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x60]
inc ecx
mov edx, dword [esp + 0x64]
cmp edx, ecx
jg 0x5c8e9c
mov eax, dword [esp + 0x4c]
mov edx, esi
mov esi, dword [esp + 0x12c]
mov ecx, ebx
mov ebx, edi
jmp 0x5c8e45
call fcn.00461660
jmp fcn.005c8530