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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5881de
sub esp, 0x74
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x588187
mov eax, dword [eax + 8]
cmp eax, 0x62de383d
ja 0x587b5e
cmp eax, 0x43cfbb1f
ja 0x587ade
cmp eax, 0x2e74d42b
jne 0x587a7c
mov eax, dword [esp + 0x7c]
lea ecx, [0x680120]
cmp eax, ecx
je 0x587bf6
jmp 0x588187
cmp eax, 0x338a7ec0
jne 0x587a9a
mov eax, dword [esp + 0x7c]
lea ecx, [0x682fa0]
cmp eax, ecx
je 0x587ec2
jmp 0x588187
cmp eax, 0x43cfbb1f
jne 0x588187
mov eax, dword [esp + 0x7c]
lea ecx, [0x67e4e0]
cmp eax, ecx
jne 0x588187
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.005883f0
movzx eax, byte [esp + 8]
mov byte [esp + 0x84], al
add esp, 0x74
ret
cmp eax, 0x49163278
jne 0x587afc
mov eax, dword [esp + 0x7c]
lea ecx, [0x682fe0]
cmp eax, ecx
je 0x587ec2
jmp 0x588187
cmp eax, 0x5051f1be
jne 0x587b3c
mov eax, dword [esp + 0x7c]
lea ecx, [0x6c6e40]
cmp eax, ecx
jne 0x588187
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.005881f0
movzx eax, byte [esp + 8]
mov byte [esp + 0x84], al
add esp, 0x74
ret
cmp eax, 0x62de383d
jne 0x588187
mov eax, dword [esp + 0x7c]
lea ecx, [0x6800e0]
cmp eax, ecx
je 0x587bf6
jmp 0x588187
cmp eax, 0xba585d67
ja 0x587bbf
cmp eax, 0x6e78e923
jne 0x587b83
mov eax, dword [esp + 0x7c]
lea ecx, [0x682f20]
cmp eax, ecx
je 0x587ec2
jmp 0x588187
cmp eax, 0x889ce7f8
jne 0x587ba1
mov eax, dword [esp + 0x7c]
lea ecx, [0x682f60]
cmp eax, ecx
je 0x587ec2
jmp 0x588187
cmp eax, 0xba585d67
jne 0x588187
mov eax, dword [esp + 0x7c]
lea ecx, [0x680060]
cmp eax, ecx
je 0x587bf6
jmp 0x588187
cmp eax, 0xc3230e0b
jne 0x587bd9
mov eax, dword [esp + 0x7c]
lea ecx, [0x6800a0]
cmp eax, ecx
je 0x587bf6
jmp 0x588187
cmp eax, 0xd6631a7c
jne 0x587ea5
mov eax, dword [esp + 0x7c]
lea ecx, [0x680160]
cmp eax, ecx
jne 0x588187
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.005884f0
movzx eax, byte [esp + 8]
test al, al
je 0x587e99
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x587cb6
nop
movzx edx, byte [0x8c1598]
test dl, dl
je 0x587c76
mov edx, dword [esp + 0x7c]
mov dword [0x8c159c], edx
mov ebx, dword [0x8e7a50]
test ebx, ebx
jne 0x587c62
mov eax, dword [esp + 0x80]
mov dword [0x8c15a0], eax
jmp 0x587c81
lea edi, [0x8c15a0]
mov eax, dword [esp + 0x80]
call fcn.00464190
jmp 0x587c81
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x587cac
nop
movzx ebp, byte [ebx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x587ca8
or ebp, 0x80
mov esi, eax
jmp 0x587cbc
mov esi, eax
xor ebp, ebp
xor ebx, ebx
xor eax, eax
jmp 0x587cbc
xor ebp, ebp
xor ebx, ebx
xor eax, eax
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00496bc0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
and edx, 0x1f
lea ebx, [edx - 2]
mov ebp, dword [esp + 0xc]
cmp ebx, 4
ja 0x58819f
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
mov edx, dword [ebp]
shl edx, 3
add edx, 0xffffffc0
neg edx
mov dword [esp + 0x40], edx
lea ebx, [edx - 0x20]
cmp ebx, 0x20
sbb ebp, ebp
mov dword [esp + 0x3c], ebp
cmp edx, 0x20
sbb esi, esi
mov dword [esp + 0x38], esi
mov edi, ebx
neg ebx
mov dword [esp + 0x34], ebx
cmp ebx, 0x20
sbb ebp, ebp
mov dword [esp + 0x30], ebp
shr edx, 5
cmp edx, 1
sbb edx, edx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x40]
cmp edx, 0x20
sbb esi, esi
mov dword [esp + 0x40], esi
mov ecx, edi
shl eax, cl
mov ecx, ebx
mov esi, dword [esp + 0x1c]
shr esi, cl
and esi, ebp
mov ecx, edx
mov ebp, dword [esp + 0x24]
shl ebp, cl
mov ebx, dword [esp + 0x38]
and ebp, ebx
or ebp, esi
mov esi, dword [esp + 0x3c]
and eax, esi
or eax, ebp
mov dword [esp + 0x3c], eax
mov ebp, dword [esp + 0x1c]
shl ebp, cl
and ebp, ebx
xchg esi, ebx
not ebx
xchg esi, ebx
or esi, edi
mov ecx, esi
mov edi, eax
sar eax, cl
mov ecx, dword [esp + 0x34]
shl edi, cl
mov ecx, edx
shr ebp, cl
mov esi, dword [esp + 0x2c]
xor esi, 0xffffffff
and esi, eax
mov edx, dword [esp + 0x30]
and edi, edx
and ebp, ebx
or ebp, edi
or esi, ebp
mov edx, dword [esp + 0x1c]
cmp edx, esi
setne dl
mov ebx, dword [esp + 0x40]
not ebx
or ecx, ebx
mov ebx, dword [esp + 0x3c]
sar ebx, cl
mov ebp, dword [esp + 0x24]
cmp ebp, ebx
setne bl
or ebx, edx
test bl, bl
jne 0x587e99
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x587e4b
nop
movzx edx, byte [0x8c1598]
test dl, dl
je 0x587e15
mov edx, dword [esp + 0x7c]
mov dword [0x8c159c], edx
mov edx, dword [0x8e7a50]
test edx, edx
jne 0x587e01
mov eax, dword [esp + 0x80]
mov dword [0x8c15a0], eax
jmp 0x587e1c
lea edi, [0x8c15a0]
mov eax, dword [esp + 0x80]
call fcn.00464190
jmp 0x587e1c
mov eax, dword [esp + 0x80]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x587e43
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x587e51
or edx, 0x80
jmp 0x587e51
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x587e51
xor edx, edx
xor ecx, ecx
xor eax, eax
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00496bc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebx
call fcn.00498400
mov byte [esp + 0x84], 1
add esp, 0x74
ret
mov byte [esp + 0x84], 0
add esp, 0x74
ret
cmp eax, 0xf3b50de0
jne 0x588187
mov eax, dword [esp + 0x7c]
lea ecx, [0x683020]
cmp eax, ecx
jne 0x588187
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
call fcn.005886d0
movzx eax, byte [esp + 8]
test al, al
je 0x58813d
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x587f82
nop
movzx edx, byte [0x8c1598]
test dl, dl
je 0x587f42
mov edx, dword [esp + 0x7c]
mov dword [0x8c159c], edx
mov ebx, dword [0x8e7a50]
test ebx, ebx
jne 0x587f2e
mov eax, dword [esp + 0x80]
mov dword [0x8c15a0], eax
jmp 0x587f4d
lea edi, [0x8c15a0]
mov eax, dword [esp + 0x80]
call fcn.00464190
jmp 0x587f4d
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov ebx, dword [esp + 0x5c]
test ebx, ebx
je 0x587f78
nop
movzx ebp, byte [ebx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x587f74
or ebp, 0x80
mov esi, eax
jmp 0x587f88
mov esi, eax
xor ebp, ebp
xor ebx, ebx
xor eax, eax
jmp 0x587f88
xor ebp, ebp
xor ebx, ebx
xor eax, eax
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00496bc0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
and edx, 0x1f
lea ebx, [edx - 7]
mov ebp, dword [esp + 0xc]
cmp ebx, 5
ja 0x588149
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov edx, dword [ebp]
shl edx, 3
add edx, 0xffffffc0
neg edx
cmp edx, 0x20
sbb ebx, ebx
mov dword [esp + 0x3c], ebx
lea ebp, [edx - 0x20]
cmp ebp, 0x20
sbb esi, esi
mov dword [esp + 0x38], esi
mov edi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
cmp ebp, 0x20
sbb esi, esi
mov dword [esp + 0x34], esi
mov ecx, ebp
shr eax, cl
and eax, esi
mov ecx, edx
mov esi, dword [esp + 0x20]
shl esi, cl
and esi, ebx
or esi, eax
mov ecx, edi
mov eax, ebp
mov ebp, dword [esp + 0x18]
shl ebp, cl
mov ebx, dword [esp + 0x38]
and ebp, ebx
or ebp, esi
mov ecx, edx
mov esi, dword [esp + 0x18]
shl esi, cl
mov ebx, dword [esp + 0x3c]
and esi, ebx
mov ecx, eax
mov eax, ebp
shl ebp, cl
mov ecx, ebx
mov ebx, dword [esp + 0x34]
and ebp, ebx
mov ebx, ecx
mov ecx, edx
shr esi, cl
and esi, ebx
or esi, ebp
mov ecx, edi
mov ebp, eax
shr eax, cl
mov ecx, ebx
mov ebx, dword [esp + 0x38]
and eax, ebx
or esi, eax
mov ebx, dword [esp + 0x18]
cmp ebx, esi
setne bl
mov eax, ecx
mov ecx, edx
shr ebp, cl
and ebp, eax
mov edx, dword [esp + 0x20]
cmp edx, ebp
setne dl
or edx, ebx
test dl, dl
jne 0x58813d
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x5880ef
nop
movzx edx, byte [0x8c1598]
test dl, dl
je 0x5880b9
mov edx, dword [esp + 0x7c]
mov dword [0x8c159c], edx
mov edx, dword [0x8e7a50]
test edx, edx
jne 0x5880a5
mov eax, dword [esp + 0x80]
mov dword [0x8c15a0], eax
jmp 0x5880c0
lea edi, [0x8c15a0]
mov eax, dword [esp + 0x80]
call fcn.00464190
jmp 0x5880c0
mov eax, dword [esp + 0x80]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x5880e7
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x5880f5
or edx, 0x80
jmp 0x5880f5
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x5880f5
xor edx, edx
xor ecx, ecx
xor eax, eax
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00496bc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebx
call fcn.004989e0
mov byte [esp + 0x84], 1
add esp, 0x74
ret
mov byte [esp + 0x84], 0
add esp, 0x74
ret
mov dword [esp + 0x28], edx
lea eax, [0x69f980]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x6d0ce4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
lea ecx, [0x694a00]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436170
lea eax, [0x68de40]
mov dword [esp], eax
lea eax, [0x7306c8]
mov dword [esp + 4], eax
call fcn.00436170
mov dword [esp + 0x28], edx
lea eax, [0x69f980]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x6d048f]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
lea ecx, [0x694a00]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436170
nop
call fcn.00462d80
jmp fcn.00587a20