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

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59e4d8
sub esp, 0x74
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x59e481
mov ecx, dword [eax + 8]
cmp ecx, 0x62de383d
ja 0x59dfa8
cmp ecx, 0x43cfbb1f
ja 0x59df31
cmp ecx, 0x2e74d42b
jne 0x59ded5
lea ecx, [0x6d1340]
cmp eax, ecx
je 0x59e032
jmp 0x59e481
cmp ecx, 0x338a7ec0
jne 0x59def0
lea ecx, [0x6d1300]
cmp eax, ecx
je 0x59e266
jmp 0x59e481
cmp ecx, 0x43cfbb1f
jne 0x59e481
lea ecx, [0x6d48a0]
cmp eax, ecx
jne 0x59e481
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.0059e700
movzx eax, byte [esp + 8]
mov byte [esp + 0x84], al
add esp, 0x74
ret
cmp ecx, 0x49163278
jne 0x59df4c
lea ecx, [0x6d1380]
cmp eax, ecx
je 0x59e266
jmp 0x59e481
cmp ecx, 0x5051f1be
jne 0x59df89
lea ecx, [0x724880]
cmp eax, ecx
jne 0x59e481
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.0059e4f0
movzx eax, byte [esp + 8]
mov byte [esp + 0x84], al
add esp, 0x74
ret
cmp ecx, 0x62de383d
jne 0x59e481
lea ecx, [0x6d12c0]
cmp eax, ecx
je 0x59e032
jmp 0x59e481
cmp ecx, 0xba585d67
ja 0x59e001
cmp ecx, 0x6e78e923
jne 0x59dfcb
lea ecx, [0x6d1400]
cmp eax, ecx
je 0x59e266
jmp 0x59e481
cmp ecx, 0x889ce7f8
jne 0x59dfe6
lea ecx, [0x6d1280]
cmp eax, ecx
je 0x59e266
jmp 0x59e481
cmp ecx, 0xba585d67
jne 0x59e481
lea ecx, [0x6d13c0]
cmp eax, ecx
je 0x59e032
jmp 0x59e481
cmp ecx, 0xc3230e0b
jne 0x59e018
lea ecx, [0x6d1240]
cmp eax, ecx
je 0x59e032
jmp 0x59e481
cmp ecx, 0xd6631a7c
jne 0x59e24c
lea ecx, [0x6d11c0]
cmp eax, ecx
jne 0x59e481
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
call fcn.0059e800
movzx eax, byte [esp + 8]
test al, al
je 0x59e240
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x59e0a6
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x59e09e
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x59e098
or ebx, 0x80
mov ebp, dword [esp + 0x70]
jmp 0x59e0ac
xor ebx, ebx
xor edx, edx
xor ebp, ebp
jmp 0x59e0ac
xor ebx, ebx
xor edx, edx
xor ebp, ebp
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.0049bc90
mov eax, dword [esp + 0x14]
and eax, 0x1f
lea ecx, [eax - 2]
nop
cmp ecx, 4
ja 0x59e499
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x1c], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x24], ebx
mov eax, dword [eax]
shl eax, 3
lea ecx, [eax - 0x40]
neg ecx
mov dword [esp + 0x50], ecx
mov eax, edx
shl edx, cl
shl ebx, cl
lea esi, [ecx - 0x20]
mov edi, ecx
mov ecx, esi
shl eax, cl
mov dword [esp + 0x4c], eax
neg ecx
mov dword [esp + 0x48], ecx
mov ebp, dword [esp + 0x1c]
shr ebp, cl
mov dword [esp + 0x44], ebp
shr edi, 5
mov ebp, dword [esp + 0x50]
cmp ebp, 0x20
sbb ecx, ecx
mov dword [esp + 0x40], ecx
sbb eax, eax
and ebx, ecx
mov dword [esp + 0x3c], ebx
and edx, ecx
mov ecx, ebp
shr edx, cl
mov ebx, dword [esp + 0x40]
and edx, ebx
mov dword [esp + 0x40], edx
not eax
or ecx, eax
cmp edi, 1
sbb eax, eax
xor eax, 0xffffffff
cmp esi, 0x20
sbb ebx, ebx
mov ebp, dword [esp + 0x4c]
and ebp, ebx
not ebx
or ebx, esi
mov esi, dword [esp + 0x48]
cmp esi, 0x20
sbb edi, edi
mov dword [esp + 0x4c], edi
mov edx, dword [esp + 0x44]
and edx, edi
mov edi, dword [esp + 0x3c]
or edx, edi
or ebp, edx
mov edx, ecx
mov ecx, ebx
mov edi, ebp
sar ebp, cl
mov ecx, edx
mov edx, edi
sar edi, cl
and eax, ebp
mov ecx, esi
shl edx, cl
mov ebx, dword [esp + 0x4c]
and edx, ebx
mov ebx, dword [esp + 0x40]
or edx, ebx
or eax, edx
mov edx, dword [esp + 0x1c]
cmp edx, eax
setne al
mov edx, dword [esp + 0x24]
cmp edx, edi
setne dl
or eax, edx
test al, al
jne 0x59e240
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x59e1f2
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x59e1ea
movzx ecx, byte [eax + 0xf]
mov edx, ecx
and ecx, 0x1f
test dl, 0x20
jne 0x59e1e4
or ecx, 0x80
mov edx, dword [esp + 0x68]
jmp 0x59e1f8
xor ecx, ecx
xor eax, eax
xor edx, edx
jmp 0x59e1f8
xor ecx, ecx
xor eax, eax
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0049bc90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0049d160
mov byte [esp + 0x84], 1
add esp, 0x74
ret
mov byte [esp + 0x84], 0
add esp, 0x74
ret
cmp ecx, 0xf3b50de0
jne 0x59e481
lea ecx, [0x6d1200]
cmp eax, ecx
jne 0x59e481
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
call fcn.0059e9c0
movzx eax, byte [esp + 8]
test al, al
je 0x59e437
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x59e2da
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x59e2d2
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x59e2cc
or ebx, 0x80
mov ebp, dword [esp + 0x60]
jmp 0x59e2e0
xor ebx, ebx
xor edx, edx
xor ebp, ebp
jmp 0x59e2e0
xor ebx, ebx
xor edx, edx
xor ebp, ebp
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.0049bc90
mov eax, dword [esp + 0x14]
and eax, 0x1f
lea ecx, [eax - 7]
nop
cmp ecx, 5
ja 0x59e443
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x20], ebx
mov eax, dword [eax]
shl eax, 3
lea ecx, [eax - 0x40]
neg ecx
mov eax, edx
shl edx, cl
shl ebx, cl
lea esi, [ecx - 0x20]
mov edi, ecx
mov ecx, esi
shl eax, cl
neg ecx
mov dword [esp + 0x4c], ecx
mov ebp, dword [esp + 0x18]
shr ebp, cl
cmp ecx, 0x20
sbb ecx, ecx
mov dword [esp + 0x48], ecx
and ebp, ecx
cmp edi, 0x20
sbb ecx, ecx
mov dword [esp + 0x44], ecx
and ebx, ecx
or ebp, ebx
and edx, ecx
mov ebx, ecx
mov ecx, edi
shr edx, cl
and edx, ebx
cmp esi, 0x20
sbb ebx, ebx
and eax, ebx
or eax, ebp
mov ecx, esi
mov ebp, eax
shr eax, cl
and eax, ebx
mov ecx, dword [esp + 0x4c]
mov ebx, ebp
shl ebp, cl
mov esi, dword [esp + 0x48]
and ebp, esi
or edx, ebp
or edx, eax
mov ecx, edi
shr ebx, cl
mov eax, dword [esp + 0x44]
and ebx, eax
mov eax, dword [esp + 0x18]
cmp eax, edx
setne al
mov edx, dword [esp + 0x20]
cmp edx, ebx
setne dl
or edx, eax
test dl, dl
jne 0x59e437
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x59e3e9
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x59e3e1
movzx ecx, byte [eax + 0xf]
mov edx, ecx
and ecx, 0x1f
test dl, 0x20
jne 0x59e3db
or ecx, 0x80
mov edx, dword [esp + 0x58]
jmp 0x59e3ef
xor ecx, ecx
xor eax, eax
xor edx, edx
jmp 0x59e3ef
xor ecx, ecx
xor eax, eax
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0049bc90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0049d250
mov byte [esp + 0x84], 1
add esp, 0x74
ret
mov byte [esp + 0x84], 0
add esp, 0x74
ret
mov dword [esp + 0x38], eax
lea eax, [0x6f45e0]
mov dword [esp], eax
call fcn.0040bc10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x736a2b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
lea ecx, [0x6e80c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046ae10
lea eax, [0x6e0660]
mov dword [esp], eax
lea eax, [0x7a4040]
mov dword [esp + 4], eax
call fcn.0046ae10
mov dword [esp + 0x38], eax
lea eax, [0x6f45e0]
mov dword [esp], eax
call fcn.0040bc10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x735f48]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
lea ecx, [0x6e80c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046ae10
nop
call fcn.004706b0
jmp fcn.0059de80