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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59b80e
sub esp, 0x74
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x59b7b7
mov eax, dword [eax + 8]
cmp eax, 0x62de383d
ja 0x59b18e
cmp eax, 0x43cfbb1f
ja 0x59b10e
cmp eax, 0x2e74d42b
jne 0x59b0ac
mov eax, dword [esp + 0x7c]
lea ecx, [0x62a2a0]
cmp eax, ecx
je 0x59b226
jmp 0x59b7b7
cmp eax, 0x338a7ec0
jne 0x59b0ca
mov eax, dword [esp + 0x7c]
lea ecx, [0x62cae0]
cmp eax, ecx
je 0x59b4f2
jmp 0x59b7b7
cmp eax, 0x43cfbb1f
jne 0x59b7b7
mov eax, dword [esp + 0x7c]
lea ecx, [0x626860]
cmp eax, ecx
jne 0x59b7b7
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.0059ba20
movzx eax, byte [esp + 8]
mov byte [esp + 0x84], al
add esp, 0x74
ret
cmp eax, 0x49163278
jne 0x59b12c
mov eax, dword [esp + 0x7c]
lea ecx, [0x62cb20]
cmp eax, ecx
je 0x59b4f2
jmp 0x59b7b7
cmp eax, 0x5051f1be
jne 0x59b16c
mov eax, dword [esp + 0x7c]
lea ecx, [0x66a7e0]
cmp eax, ecx
jne 0x59b7b7
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.0059b820
movzx eax, byte [esp + 8]
mov byte [esp + 0x84], al
add esp, 0x74
ret
cmp eax, 0x62de383d
jne 0x59b7b7
mov eax, dword [esp + 0x7c]
lea ecx, [0x62a260]
cmp eax, ecx
je 0x59b226
jmp 0x59b7b7
cmp eax, 0xba585d67
ja 0x59b1ef
cmp eax, 0x6e78e923
jne 0x59b1b3
mov eax, dword [esp + 0x7c]
lea ecx, [0x62ca60]
cmp eax, ecx
je 0x59b4f2
jmp 0x59b7b7
cmp eax, 0x889ce7f8
jne 0x59b1d1
mov eax, dword [esp + 0x7c]
lea ecx, [0x62caa0]
cmp eax, ecx
je 0x59b4f2
jmp 0x59b7b7
cmp eax, 0xba585d67
jne 0x59b7b7
mov eax, dword [esp + 0x7c]
lea ecx, [0x62a1e0]
cmp eax, ecx
je 0x59b226
jmp 0x59b7b7
cmp eax, 0xc3230e0b
jne 0x59b209
mov eax, dword [esp + 0x7c]
lea ecx, [0x62a220]
cmp eax, ecx
je 0x59b226
jmp 0x59b7b7
cmp eax, 0xd6631a7c
jne 0x59b4d5
mov eax, dword [esp + 0x7c]
lea ecx, [0x62a2e0]
cmp eax, ecx
jne 0x59b7b7
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.0059bb20
movzx eax, byte [esp + 8]
test al, al
je 0x59b4c9
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x59b2e6
nop
movzx edx, byte [0x86e3e0]
test dl, dl
je 0x59b2a6
mov edx, dword [esp + 0x7c]
mov dword [0x86e3e4], edx
mov ebx, dword [0x893c80]
test ebx, ebx
jne 0x59b292
mov eax, dword [esp + 0x80]
mov dword [0x86e3e8], eax
jmp 0x59b2b1
lea edi, [0x86e3e8]
mov eax, dword [esp + 0x80]
call fcn.00463680
jmp 0x59b2b1
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 0x59b2dc
nop
movzx ebp, byte [ebx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x59b2d8
or ebp, 0x80
mov esi, eax
jmp 0x59b2ec
mov esi, eax
xor ebp, ebp
xor ebx, ebx
xor eax, eax
jmp 0x59b2ec
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.004b78f0
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 0x59b7cf
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 0x59b4c9
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x59b47b
nop
movzx edx, byte [0x86e3e0]
test dl, dl
je 0x59b445
mov edx, dword [esp + 0x7c]
mov dword [0x86e3e4], edx
mov edx, dword [0x893c80]
test edx, edx
jne 0x59b431
mov eax, dword [esp + 0x80]
mov dword [0x86e3e8], eax
jmp 0x59b44c
lea edi, [0x86e3e8]
mov eax, dword [esp + 0x80]
call fcn.00463680
jmp 0x59b44c
mov eax, dword [esp + 0x80]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x59b473
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x59b481
or edx, 0x80
jmp 0x59b481
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x59b481
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.004b78f0
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.004b9650
mov byte [esp + 0x84], 1
add esp, 0x74
ret
mov byte [esp + 0x84], 0
add esp, 0x74
ret
cmp eax, 0xf3b50de0
jne 0x59b7b7
mov eax, dword [esp + 0x7c]
lea ecx, [0x62cb60]
cmp eax, ecx
jne 0x59b7b7
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.0059bd00
movzx eax, byte [esp + 8]
test al, al
je 0x59b76d
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x59b5b2
nop
movzx edx, byte [0x86e3e0]
test dl, dl
je 0x59b572
mov edx, dword [esp + 0x7c]
mov dword [0x86e3e4], edx
mov ebx, dword [0x893c80]
test ebx, ebx
jne 0x59b55e
mov eax, dword [esp + 0x80]
mov dword [0x86e3e8], eax
jmp 0x59b57d
lea edi, [0x86e3e8]
mov eax, dword [esp + 0x80]
call fcn.00463680
jmp 0x59b57d
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 0x59b5a8
nop
movzx ebp, byte [ebx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x59b5a4
or ebp, 0x80
mov esi, eax
jmp 0x59b5b8
mov esi, eax
xor ebp, ebp
xor ebx, ebx
xor eax, eax
jmp 0x59b5b8
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.004b78f0
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 0x59b779
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 0x59b76d
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x59b71f
nop
movzx edx, byte [0x86e3e0]
test dl, dl
je 0x59b6e9
mov edx, dword [esp + 0x7c]
mov dword [0x86e3e4], edx
mov edx, dword [0x893c80]
test edx, edx
jne 0x59b6d5
mov eax, dword [esp + 0x80]
mov dword [0x86e3e8], eax
jmp 0x59b6f0
lea edi, [0x86e3e8]
mov eax, dword [esp + 0x80]
call fcn.00463680
jmp 0x59b6f0
mov eax, dword [esp + 0x80]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x59b717
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x59b725
or edx, 0x80
jmp 0x59b725
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x59b725
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.004b78f0
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.004b9740
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, [0x6483a0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x676f81]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
lea ecx, [0x63f6c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435bb0
lea eax, [0x638660]
mov dword [esp], eax
lea eax, [0x6cf2e8]
mov dword [esp + 4], eax
call fcn.00435bb0
mov dword [esp + 0x28], edx
lea eax, [0x6483a0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x676640]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
lea ecx, [0x63f6c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435bb0
nop
call fcn.00462270
jmp fcn.0059b050