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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5839b8
sub esp, 0x74
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x583961
mov eax, dword [eax + 8]
cmp eax, 0x62de383d
ja 0x58333e
cmp eax, 0x43cfbb1f
ja 0x5832be
cmp eax, 0x2e74d42b
jne 0x58325c
mov eax, dword [esp + 0x7c]
lea ecx, [0x727fe0]
cmp eax, ecx
je 0x5833d6
jmp 0x583961
cmp eax, 0x338a7ec0
jne 0x58327a
mov eax, dword [esp + 0x7c]
lea ecx, [0x72a420]
cmp eax, ecx
je 0x5836a2
jmp 0x583961
cmp eax, 0x43cfbb1f
jne 0x583961
mov eax, dword [esp + 0x7c]
lea ecx, [0x726e60]
cmp eax, ecx
jne 0x583961
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.00583bd0
movzx eax, byte [esp + 8]
mov byte [esp + 0x84], al
add esp, 0x74
ret
cmp eax, 0x45efec9a
jne 0x5832fe
mov eax, dword [esp + 0x7c]
lea ecx, [0x767bc0]
cmp eax, ecx
jne 0x583961
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.005839d0
movzx eax, byte [esp + 8]
mov byte [esp + 0x84], al
add esp, 0x74
ret
cmp eax, 0x49163278
jne 0x58331c
mov eax, dword [esp + 0x7c]
lea ecx, [0x72a460]
cmp eax, ecx
je 0x5836a2
jmp 0x583961
cmp eax, 0x62de383d
jne 0x583961
mov eax, dword [esp + 0x7c]
lea ecx, [0x727fa0]
cmp eax, ecx
je 0x5833d6
jmp 0x583961
cmp eax, 0xba585d67
ja 0x58339f
cmp eax, 0x6e78e923
jne 0x583363
mov eax, dword [esp + 0x7c]
lea ecx, [0x72a3a0]
cmp eax, ecx
je 0x5836a2
jmp 0x583961
cmp eax, 0x889ce7f8
jne 0x583381
mov eax, dword [esp + 0x7c]
lea ecx, [0x72a3e0]
cmp eax, ecx
je 0x5836a2
jmp 0x583961
cmp eax, 0xba585d67
jne 0x583961
mov eax, dword [esp + 0x7c]
lea ecx, [0x727f20]
cmp eax, ecx
je 0x5833d6
jmp 0x583961
cmp eax, 0xc3230e0b
jne 0x5833b9
mov eax, dword [esp + 0x7c]
lea ecx, [0x727f60]
cmp eax, ecx
je 0x5833d6
jmp 0x583961
cmp eax, 0xd6631a7c
jne 0x583685
mov eax, dword [esp + 0x7c]
lea ecx, [0x728020]
cmp eax, ecx
jne 0x583961
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.00583cd0
movzx eax, byte [esp + 8]
test al, al
je 0x583679
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x583496
nop
movzx edx, byte [0x8db5a8]
test dl, dl
je 0x583456
mov edx, dword [esp + 0x7c]
mov dword [0x8db5ac], edx
mov ebx, dword [0x901e80]
test ebx, ebx
jne 0x583442
mov eax, dword [esp + 0x80]
mov dword [0x8db5b0], eax
jmp 0x583461
lea edi, [0x8db5b0]
mov eax, dword [esp + 0x80]
call fcn.00456ac0
jmp 0x583461
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 0x58348c
nop
movzx ebp, byte [ebx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x583488
or ebp, 0x80
mov esi, eax
jmp 0x58349c
mov esi, eax
xor ebp, ebp
xor ebx, ebx
xor eax, eax
jmp 0x58349c
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.00484a70
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
and edx, 0x1f
lea ebx, [edx - 2]
mov ebp, dword [esp + 0xc]
cmp ebx, 4
ja 0x583979
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
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
mov dword [esp + 0x34], ebp
cmp ebp, 0x20
sbb esi, esi
mov dword [esp + 0x30], esi
shr edx, 5
cmp edx, 1
sbb edx, edx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x40]
cmp edx, 0x20
sbb ebx, ebx
mov dword [esp + 0x40], ebx
mov ecx, edi
shl eax, cl
mov ecx, ebp
mov ebx, dword [esp + 0x1c]
shr ebx, cl
and ebx, esi
mov ecx, edx
mov esi, dword [esp + 0x24]
shl esi, cl
mov ebp, dword [esp + 0x3c]
and esi, ebp
or esi, ebx
mov ebx, dword [esp + 0x38]
and eax, ebx
or eax, esi
mov dword [esp + 0x3c], eax
mov esi, dword [esp + 0x1c]
shl esi, cl
and esi, ebp
not ebx
or ebx, edi
mov ecx, ebx
mov edi, eax
sar eax, cl
mov ecx, dword [esp + 0x34]
shl edi, cl
mov ecx, edx
shr esi, cl
mov ebx, dword [esp + 0x2c]
xor ebx, 0xffffffff
and ebx, eax
mov edx, dword [esp + 0x30]
and edi, edx
and esi, ebp
or esi, edi
or ebx, esi
mov edx, dword [esp + 0x1c]
cmp edx, ebx
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 0x583679
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x58362b
nop
movzx edx, byte [0x8db5a8]
test dl, dl
je 0x5835f5
mov edx, dword [esp + 0x7c]
mov dword [0x8db5ac], edx
mov edx, dword [0x901e80]
test edx, edx
jne 0x5835e1
mov eax, dword [esp + 0x80]
mov dword [0x8db5b0], eax
jmp 0x5835fc
lea edi, [0x8db5b0]
mov eax, dword [esp + 0x80]
call fcn.00456ac0
jmp 0x5835fc
mov eax, dword [esp + 0x80]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x583623
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x583631
or edx, 0x80
jmp 0x583631
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x583631
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.00484a70
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.00485fc0
mov byte [esp + 0x84], 1
add esp, 0x74
ret
mov byte [esp + 0x84], 0
add esp, 0x74
ret
cmp eax, 0xf3b50de0
jne 0x583961
mov eax, dword [esp + 0x7c]
lea ecx, [0x72a4a0]
cmp eax, ecx
jne 0x583961
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.00583eb0
movzx eax, byte [esp + 8]
test al, al
je 0x583917
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x583762
nop
movzx edx, byte [0x8db5a8]
test dl, dl
je 0x583722
mov edx, dword [esp + 0x7c]
mov dword [0x8db5ac], edx
mov ebx, dword [0x901e80]
test ebx, ebx
jne 0x58370e
mov eax, dword [esp + 0x80]
mov dword [0x8db5b0], eax
jmp 0x58372d
lea edi, [0x8db5b0]
mov eax, dword [esp + 0x80]
call fcn.00456ac0
jmp 0x58372d
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 0x583758
nop
movzx ebp, byte [ebx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x583754
or ebp, 0x80
mov esi, eax
jmp 0x583768
mov esi, eax
xor ebp, ebp
xor ebx, ebx
xor eax, eax
jmp 0x583768
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.00484a70
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
and edx, 0x1f
lea ebx, [edx - 7]
mov ebp, dword [esp + 0xc]
cmp ebx, 5
ja 0x583923
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
lea ebp, [edx - 0x20]
mov dword [esp + 0x3c], ebp
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
cmp ebp, 0x20
mov edi, ebx
sbb ebx, ebx
mov dword [esp + 0x38], ebx
cmp esi, 0x20
sbb esi, esi
mov dword [esp + 0x34], esi
mov ecx, ebp
shr eax, cl
and eax, ebx
mov ecx, edx
mov ebx, dword [esp + 0x20]
shl ebx, cl
and ebx, edi
or ebx, eax
mov ecx, dword [esp + 0x3c]
mov eax, ebp
mov ebp, dword [esp + 0x18]
shl ebp, cl
and ebp, esi
or ebp, ebx
mov ebx, ecx
mov ecx, edx
mov esi, dword [esp + 0x18]
shl esi, cl
and esi, edi
mov ecx, eax
mov eax, ebp
shl ebp, cl
mov ecx, ebx
mov ebx, dword [esp + 0x38]
and ebp, ebx
mov ebx, ecx
mov ecx, edx
shr esi, cl
and esi, edi
or esi, ebp
mov ecx, ebx
mov ebp, eax
shr eax, cl
mov ebx, dword [esp + 0x34]
and eax, ebx
or esi, eax
mov ebx, dword [esp + 0x18]
cmp ebx, esi
setne bl
mov ecx, edx
shr ebp, cl
and ebp, edi
mov edx, dword [esp + 0x20]
cmp edx, ebp
setne dl
or edx, ebx
test dl, dl
jne 0x583917
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x5838c9
nop
movzx edx, byte [0x8db5a8]
test dl, dl
je 0x583893
mov edx, dword [esp + 0x7c]
mov dword [0x8db5ac], edx
mov edx, dword [0x901e80]
test edx, edx
jne 0x58387f
mov eax, dword [esp + 0x80]
mov dword [0x8db5b0], eax
jmp 0x58389a
lea edi, [0x8db5b0]
mov eax, dword [esp + 0x80]
call fcn.00456ac0
jmp 0x58389a
mov eax, dword [esp + 0x80]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x5838c1
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x5838cf
or edx, 0x80
jmp 0x5838cf
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x5838cf
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.00484a70
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.004860b0
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, [0x742be0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x771981]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
lea ecx, [0x73a580]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00430590
lea eax, [0x7346e0]
mov dword [esp], eax
lea eax, [0x7c9f54]
mov dword [esp + 4], eax
call fcn.00430590
mov dword [esp + 0x28], edx
lea eax, [0x742be0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x771072]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
lea ecx, [0x73a580]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00430590
nop
call fcn.00455690
jmp fcn.00583200