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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x5d5d12
sub esp, 0x84
lea edi, [esp + 0x90]
xor eax, eax
call fcn.00462cf7
lea edi, [esp + 0x60]
call fcn.00462cf7
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp + 4], edx
call fcn.005dac10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5d59a3
mov edx, dword [0x8bc9f8]
xor ebx, ebx
jmp 0x5d59db
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5d5d0a
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
cmp edx, 3
jbe 0x5d5cfe
mov ebx, dword [ebp + ebx]
xor edx, edx
test edx, edx
jne 0x5d5a3e
mov dword [esp + 0x20], eax
mov edx, ebx
and ebx, 7
mov byte [esp + 0x60], bl
mov ebx, edx
and edx, 0xf8
shr edx, 3
mov byte [esp + 0x61], dl
mov edx, ebx
and ebx, 0xff00
shr ebx, 8
mov byte [esp + 0x62], bl
mov ebx, edx
and edx, 0xff0000
shr edx, 0x10
mov byte [esp + 0x63], dl
mov edx, ebx
and ebx, 0xf00000
shr ebx, 0x18
mov byte [esp + 0x64], bl
and edx, 0xf0000000
shr edx, 0x1c
lea edx, [edx + edx*2]
shl edx, 1
mov byte [esp + 0x65], dl
xor edx, edx
jmp 0x5d5a64
lea edi, [esp + 0x90]
lea esi, [esp + 0x60]
call fcn.004631b6
add esp, 0x84
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x24], edx
movzx ebx, byte [esp + 0x63]
movzx ebp, bl
cmp edx, ebp
jge 0x5d5b89
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
movzx ebx, byte [esp + 0x60]
mov dword [esp], ecx
lea ebp, [eax + edx*2 + 4]
mov dword [esp + 4], ebp
mov byte [esp + 8], bl
call fcn.005d4f20
mov eax, dword [esp + 0x1c]
lea edi, [esp + 0x50]
lea esi, [esp + 0xc]
call fcn.004631e8
lea edi, [esp + 0x40]
lea esi, [esp + 0x50]
call fcn.004631e8
test eax, eax
je 0x5d5b72
mov ecx, dword [esp + 0x6c]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x70]
cmp ebp, edx
jae 0x5d5b24
mov dword [esp + 0x28], eax
lea eax, [0x682d00]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.0044b610
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x28]
lea edx, [ecx + 1]
mov dword [esp + 0x6c], edx
mov edx, dword [0x8e4520]
shl ecx, 4
lea edi, [ebx + ecx]
mov ecx, dword [esp + 0x24]
add ecx, eax
mov dword [esp + 0x24], ecx
test edx, edx
jne 0x5d5b53
lea esi, [esp + 0x40]
call fcn.004631e8
jmp 0x5d5a55
lea eax, [0x682d00]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
call fcn.00410b40
jmp 0x5d5a55
lea edi, [esp + 0x90]
lea esi, [esp + 0x60]
call fcn.004631b6
add esp, 0x84
ret
lea ebp, [eax + 4]
test bl, 1
je 0x5d5b94
lea ebp, [eax + 6]
movzx ebx, byte [esp + 0x61]
test bl, 1
jne 0x5d5ba3
test bl, 2
je 0x5d5bf2
test bl, 4
jne 0x5d5bec
lea eax, [ebp + edx*2]
mov ebx, dword [ecx + 0x28c]
mov esi, edx
mov edx, dword [ecx + 0x288]
mov edi, ebp
mov ebp, dword [ecx + 0x290]
cmp ebx, eax
jb 0x5d5cf7
sub ebx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
cmp ebx, 3
jbe 0x5d5ceb
mov eax, dword [ebp + edx]
mov dword [esp + 0x74], eax
jmp 0x5d5bf6
mov esi, edx
mov edi, ebp
jmp 0x5d5bf6
mov esi, edx
mov edi, ebp
movzx eax, byte [esp + 0x61]
test al, 4
je 0x5d5cbd
mov dword [esp + 0x2c], edi
lea eax, [0x67b540]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea ecx, [0x67b540]
mov dword [esp], ecx
lea edx, [esp + 0x30]
mov dword [esp + 4], edx
call fcn.00408fb0
mov eax, dword [esp + 8]
lea ecx, [0x67b540]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004bbd20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
lea ecx, [0x651ba0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
lea edx, [ebx + edx*2]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.005db930
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5d5cd4
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
lea edi, [esp + 0x90]
lea esi, [esp + 0x60]
call fcn.004631b6
add esp, 0x84
ret
lea edi, [esp + 0x90]
lea esi, [esp + 0x60]
call fcn.004631b6
add esp, 0x84
ret
mov eax, 3
mov ecx, ebx
call fcn.00462af0
mov ecx, ebx
call fcn.00462b60
mov eax, 3
mov ecx, edx
call fcn.00462af0
mov ecx, edx
call fcn.00462b60
nop
call fcn.00461660
jmp fcn.005d5930