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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c93d0
sub esp, 0x5c
mov eax, dword [esp + 0x68]
cmp eax, 0xc
jl 0x5c91fd
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
mov edx, dword [esp + 0x64]
lea ebx, [edx + 2]
mov dword [esp + 4], ebx
mov dword [esp + 8], 2
mov ebx, dword [esp + 0x6c]
lea ebp, [ebx - 2]
mov dword [esp + 0xc], ebp
call ecx
movzx eax, word [esp + 0x10]
movzx ecx, ax
lea edx, [ecx - 1]
cmp edx, 5
jae 0x5c91ca
mov word [esp + 0x2e], ax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x24]
mov dword [esp], edx
mov edx, dword [esp + 0x64]
lea ebx, [edx + 4]
mov dword [esp + 4], ebx
mov dword [esp + 8], 4
mov ebx, dword [esp + 0x6c]
lea ebp, [ebx - 4]
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
lea edx, [0x911760]
mov ecx, dword [edx + ecx*4]
test ecx, ecx
je 0x5c93ca
mov dword [esp + 0x48], eax
mov eax, 0x7fffffff
xor edx, edx
div ecx
mov edx, dword [esp + 0x48]
cmp edx, eax
ja 0x5c9197
imul ecx, edx
cmp ecx, 4
ja 0x5c9028
lea ebx, [ecx + 8]
mov ebp, dword [esp + 0x6c]
cmp ebp, ebx
jb 0x5c93c1
cmp ebx, 8
jb 0x5c93b5
lea eax, [ebp - 8]
mov ebx, dword [esp + 0x64]
add ebx, 8
xor ebp, ebp
xor esi, esi
jmp 0x5c90b3
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x24]
mov dword [esp], edx
mov edx, dword [esp + 0x64]
add edx, 8
mov dword [esp + 4], edx
mov dword [esp + 8], 4
mov edx, dword [esp + 0x6c]
add edx, 0xfffffff8
mov dword [esp + 0xc], edx
call ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
call fcn.005c8ad0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, ecx
mov ecx, edx
mov edx, dword [esp + 0x48]
mov edi, ebp
mov ebp, eax
mov eax, edi
test ebp, ebp
jne 0x5c9170
mov dword [esp + 0x30], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x34], eax
lea eax, [0x69bd80]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044bce0
mov eax, dword [esp + 0xc]
movzx ecx, word [esp + 0x2e]
cmp cx, 1
jne 0x5c90ff
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
xor ebp, ebp
jmp 0x5c938c
mov dword [esp + 0x58], eax
cmp cx, 3
jne 0x5c9120
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x54]
xor ecx, ecx
jmp 0x5c9314
cmp cx, 4
jne 0x5c913d
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x54]
xor ecx, ecx
jmp 0x5c9251
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x785df4]
mov dword [esp + 0x7c], eax
lea eax, [0x784a78]
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], esi
add esp, 0x5c
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x785de0]
mov dword [esp + 0x7c], eax
lea eax, [0x784a70]
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x785df4]
mov dword [esp + 0x7c], eax
lea eax, [0x784a40]
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x785de0]
mov dword [esp + 0x7c], eax
lea eax, [0x784a38]
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
mov edi, dword [esp + 0x58]
mov dword [edi + ecx*4], eax
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov eax, edi
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x48]
cmp ecx, ebx
jae 0x5c92b7
lea edi, [ecx + 1]
mov dword [esp + 0x50], edi
shl edi, 2
cmp edx, edi
jb 0x5c92ec
mov dword [esp + 0x38], ecx
shl ecx, 2
cmp edi, ecx
jb 0x5c92e3
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
mov dword [esp], ebx
sub edx, ecx
mov dword [esp + 0x4c], edx
neg edx
sar edx, 0x1f
and edx, ecx
add edx, esi
mov dword [esp + 4], edx
sub edi, ecx
mov dword [esp + 8], edi
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xc], ecx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jb 0x5c9230
jmp 0x5c92da
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x5c
ret
mov eax, ecx
mov ecx, edx
call fcn.00465e10
mov eax, ecx
mov ecx, edi
call fcn.00465e70
mov ecx, edi
call fcn.00465e50
mov edi, dword [esp + 0x58]
mov dword [edi + ecx*4], eax
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov eax, edi
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x48]
cmp ecx, ebx
jae 0x5c92b7
lea edi, [ecx + 1]
mov dword [esp + 0x50], edi
shl edi, 1
cmp edx, edi
jb 0x5c9381
mov dword [esp + 0x3c], ecx
shl ecx, 1
cmp edi, ecx
jb 0x5c9378
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [eax + 0x20]
mov dword [esp], ebx
sub edx, ecx
mov dword [esp + 0x4c], edx
neg edx
sar edx, 0x1f
and edx, ecx
add edx, esi
mov dword [esp + 4], edx
sub edi, ecx
mov dword [esp + 8], edi
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xc], ecx
call eax
movzx eax, word [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jb 0x5c92f3
mov eax, ecx
mov ecx, edx
call fcn.00465e10
mov eax, ecx
mov ecx, edi
call fcn.00465e70
mov ecx, edi
call fcn.00465e50
mov dword [eax + ebp*4], esi
inc ebp
cmp ebp, ecx
jae 0x5c939e
cmp ebx, ebp
jbe 0x5c93ac
movzx esi, byte [edx + ebp]
cmp ebp, ecx
jb 0x5c9388
jmp 0x5c93a5
mov ebx, ecx
jmp 0x5c92b7
mov eax, ebp
call fcn.00465e10
mov eax, ebp
mov ecx, ebx
call fcn.00465e10
mov eax, 8
mov ecx, ebx
call fcn.00465e60
mov ecx, ebx
mov edx, ebp
call fcn.00465e50
call fcn.00435bc0
nop
call fcn.004649b0
jmp fcn.005c8f20