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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1d4]
cmp eax, dword [ecx + 8]
jbe 0x5d91ed
sub esp, 0x254
lea eax, [0x63dd80]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0x240], eax
lea ecx, [0x6466c0]
mov dword [esp], ecx
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0x244], eax
mov ecx, dword [esp + 0x258]
mov edx, dword [ecx + 0x138]
mov ebx, dword [ecx + 0x13c]
test edx, edx
je 0x5d8c3d
nop
movzx ebp, byte [0x8553f8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5d8c03
mov dword [0x8553fc], edx
mov ebp, dword [0x87bd00]
test ebp, ebp
jne 0x5d8bf2
mov dword [0x855400], ebx
jmp 0x5d8c03
lea edi, [0x855400]
mov ebp, eax
mov eax, ebx
call fcn.004626c0
mov eax, ebp
mov dword [esp + 0x24c], edx
mov dword [esp + 0x250], ebx
mov edx, dword [esp + 0x24c]
test edx, edx
je 0x5d8c35
nop
movzx ebp, byte [edx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x5d8c43
or ebp, 0x80
jmp 0x5d8c43
xor ebp, ebp
xor edx, edx
xor ebx, ebx
jmp 0x5d8c43
xor ebp, ebp
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x238], ebx
mov dword [esp + 0x23c], edx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004b6ba0
cmp dword [esp + 0xc], 0x29
jle 0x5d8ea2
mov eax, dword [esp + 0x23c]
mov dword [esp], eax
mov eax, dword [esp + 0x238]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x29
call fcn.004b57e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x44], eax
cmp eax, 9
ja 0x5d8cd5
cmp eax, 7
jne 0x5d8cb9
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5d8cfb
cmp eax, 8
jne 0x5d8cc5
movzx ecx, byte [ecx]
xor ebx, ebx
jmp 0x5d8cfb
cmp eax, 9
jne 0x5d91b2
movzx ecx, word [ecx]
xor ebx, ebx
jmp 0x5d8cfb
cmp eax, 0xa
jne 0x5d8ce0
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5d8cfb
cmp eax, 0xb
jne 0x5d8cee
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, edx
jmp 0x5d8cfb
cmp eax, 0xc
jne 0x5d91b2
mov ecx, dword [ecx]
xor ebx, ebx
test ebx, ebx
sete dl
test ecx, ecx
sete bl
and edx, ebx
test dl, dl
jne 0x5d8e90
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x258]
movzx ebx, byte [edx + 0x294]
test bl, bl
je 0x5d8d5c
lea edi, [esp + 0x68]
xor eax, eax
call fcn.00462908
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x652a00]
cmp ecx, ebx
jne 0x5d919c
lea edi, [esp + 0x68]
call fcn.00462c20
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x24]
sub ecx, eax
jmp 0x5d8d97
lea edi, [esp + 0x148]
xor eax, eax
call fcn.00462904
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x6524c0]
cmp ecx, ebx
jne 0x5d9186
lea edi, [esp + 0x148]
call fcn.00462bf8
mov eax, dword [esp + 0x160]
mov ecx, dword [esp + 0x24]
sub ecx, eax
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.005cf880
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
lea edi, [esp + 0x50]
mov esi, dword [esp + 0x244]
call fcn.00462e14
lea ecx, [0x6466c0]
mov dword [esp], ecx
lea edx, [esp + 0x50]
mov dword [esp + 4], edx
call fcn.00408fb0
mov eax, dword [esp + 8]
lea ecx, [0x6466c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ba710
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x258]
mov dword [esp], ecx
lea edx, [0x618cc0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x244]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.005d05a0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5d8e7e
mov edi, dword [esp + 0x240]
mov esi, dword [esp + 0x244]
call fcn.00462e14
mov eax, dword [esp + 0x244]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x5d8eb4
mov edx, dword [eax + 0xc]
test edx, edx
je 0x5d8eb4
mov eax, dword [esp + 0x258]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005cf880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x240]
mov edx, dword [esp + 0x244]
mov ebx, dword [esp + 0x258]
xor ebp, ebp
jmp 0x5d9089
mov dword [esp + 0x25c], 0
add esp, 0x254
ret
mov dword [esp + 0x25c], 0
add esp, 0x254
ret
mov dword [esp + 0x25c], 0
add esp, 0x254
ret
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5d8f2e
mov edx, dword [eax + 0x14]
test edx, edx
je 0x5d8f2e
mov eax, dword [esp + 0x258]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005cf880
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], 0
mov dword [esp], ecx
call fcn.004090f0
mov eax, dword [esp + 8]
lea ecx, [0x636560]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ba710
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x244]
mov edx, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x5d8f81
mov eax, dword [esp + 0x240]
mov dword [esp + 0x25c], eax
add esp, 0x254
ret
lea esi, [edx + 1]
mov dword [ecx + 0x28], esi
mov esi, dword [esp + 0x248]
mov edi, dword [esi]
mov eax, ebp
lea ebp, [ebp + edx*8]
mov esi, dword [esi + 4]
mov dword [ebp], edi
lea ebp, [eax + edx*8 + 4]
mov dword [ebp], esi
mov ebp, dword [esp + 0x38]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x2c]
lea edx, [ebp + eax]
mov ebp, dword [esp + 0x244]
mov ecx, ebp
mov ebp, dword [ecx + 0x14]
test eax, eax
je 0x5d9063
mov dword [esp + 0x2c], edx
mov esi, eax
mov eax, ebp
xor edx, edx
div esi
cmp ebx, eax
jae 0x5d8f2e
mov dword [esp + 0x38], ebx
lea eax, [0x636560]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0x248], eax
mov ecx, dword [esp + 0x258]
mov dword [esp], ecx
lea edx, [0x619340]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x10], ebp
call fcn.005d05a0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5d8f2e
mov ecx, dword [esp + 0x240]
mov edx, dword [ecx + 0x28]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x24]
mov esi, dword [ecx + 0x2c]
cmp esi, ebx
jae 0x5d8f43
lea eax, [0x636560]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.0044b2b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x240]
mov dword [ebx + 0x2c], edx
mov edx, dword [0x87bd00]
test edx, edx
jne 0x5d9050
mov dword [ebx + 0x24], eax
jmp 0x5d9058
lea edi, [ebx + 0x24]
call fcn.004626c0
mov edx, ecx
mov ebp, eax
mov ecx, ebx
jmp 0x5d8f43
call fcn.00435710
mov ebx, esi
inc esi
mov dword [ecx + 0x1c], esi
mov dword [edx + ebx*4], edi
mov esi, dword [esp + 0x3c]
lea ebp, [esi + 1]
add eax, 4
mov edx, dword [esp + 0x244]
mov ebx, dword [esp + 0x258]
mov esi, dword [edx + 0xc]
shr esi, 2
cmp ebp, esi
jae 0x5d916c
mov esi, dword [ebx + 0x2ac]
add esi, 0xfffffffc
cmp eax, esi
jbe 0x5d90ae
mov esi, dword [0x854c78]
xor edi, edi
jmp 0x5d90ea
mov esi, dword [ebx + 0x28c]
mov edi, dword [ebx + 0x288]
mov ebx, dword [ebx + 0x290]
cmp eax, esi
ja 0x5d917f
sub esi, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
cmp esi, 3
jbe 0x5d9173
mov ebx, dword [edi + ebx]
xor esi, esi
mov edi, ebx
mov ebx, dword [esp + 0x258]
test esi, esi
jne 0x5d916c
mov dword [esp + 0x3c], ebp
mov esi, dword [ecx + 0x1c]
lea ebx, [esi + 1]
mov edx, dword [ecx + 0x18]
mov ebp, dword [ecx + 0x20]
cmp ebp, ebx
jae 0x5d9068
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], eax
lea eax, [0x6283e0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044b2b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x240]
mov dword [ebx + 0x20], edx
mov edx, dword [0x87bd00]
test edx, edx
jne 0x5d9151
mov dword [ebx + 0x18], eax
jmp 0x5d9159
lea edi, [ebx + 0x18]
call fcn.004626c0
mov edi, dword [esp + 0x28]
mov esi, ecx
mov edx, eax
mov eax, dword [esp + 0x30]
mov ecx, ebx
jmp 0x5d9068
mov eax, edx
jmp 0x5d8eb4
mov eax, 3
mov ecx, esi
call fcn.00462740
mov ecx, esi
call fcn.004627b0
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x627be0]
mov dword [esp + 8], eax
call fcn.00408df0
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x627be0]
mov dword [esp + 8], eax
call fcn.00408df0
lea eax, [0x637580]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x65fac4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
lea ecx, [0x62edc0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004369c0
nop
call fcn.004612b0
jmp fcn.005d8b60