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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x38]
mov dword [rsp], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xb8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x58]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 2]
mov ecx, 1
mov dword [rsp + 0x78], ecx
movzx ecx, al
mov eax, dword [rsp + 0x78]
shl eax, cl
dec eax
mov rcx, qword [rsp + 0xb0]
mov ecx, dword [rcx + 0x40]
and ecx, eax
mov eax, ecx
shl eax, 4
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2 - 0x200]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movzx eax, word [rax]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x1400647f3
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xb8], rax
jb 0x1400647bf
xor eax, eax
jmp 0x14006564f
mov eax, dword [rsp]
shl eax, 8
mov dword [rsp], eax
mov eax, dword [rsp + 4]
shl eax, 8
mov rcx, qword [rsp + 0xb8]
movzx ecx, byte [rcx]
or eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 4], eax
jae 0x140064bd3
mov eax, dword [rsp + 8]
mov dword [rsp], eax
mov rax, qword [rsp + 0x48]
add rax, 0x280
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x44], 0
jne 0x140064847
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x40], 0
je 0x140064919
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x28], 0
jne 0x14006486c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x88], rax
jmp 0x140064880
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 1]
mov ecx, 1
mov dword [rsp + 0x7c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x7c]
shl eax, cl
dec eax
mov rcx, qword [rsp + 0xb0]
mov ecx, dword [rcx + 0x40]
and ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xb0]
movzx ecx, byte [rcx]
shl eax, cl
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x18]
mov rdx, qword [rsp + 0x88]
movzx ecx, byte [rcx + rdx - 1]
mov dword [rsp + 0x80], ecx
mov rdx, qword [rsp + 0xb0]
movzx edx, byte [rdx]
mov r8d, 8
sub r8d, edx
mov edx, r8d
movzx ecx, dl
mov edx, dword [rsp + 0x80]
sar edx, cl
mov ecx, edx
add eax, ecx
imul eax, eax, 0x300
mov eax, eax
mov rcx, qword [rsp + 0x18]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x18], rax
cmp dword [rsp + 0x20], 7
jae 0x140064a03
mov dword [rsp + 0x28], 1
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x18]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x140064990
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xb8], rax
jb 0x14006495c
xor eax, eax
jmp 0x14006564f
mov eax, dword [rsp]
shl eax, 8
mov dword [rsp], eax
mov eax, dword [rsp + 4]
shl eax, 8
mov rcx, qword [rsp + 0xb8]
movzx ecx, byte [rcx]
or eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 4], eax
jae 0x1400649c2
mov eax, dword [rsp + 8]
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x1400649f0
mov eax, dword [rsp + 8]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x28]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x100
jb 0x14006492c
jmp 0x140064bc6
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x48]
mov rcx, qword [rsp + 0xb0]
cmp qword [rcx + 0x28], rax
jae 0x140064a3c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x90], rax
jmp 0x140064a48
mov qword [rsp + 0x90], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x48]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x28]
sub rcx, rax
mov rax, rcx
add rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x18]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x40], 0x100
mov dword [rsp + 0x2c], 1
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x40]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x2c]
mov eax, eax
mov rcx, qword [rsp + 0x18]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movzx eax, word [rax]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x140064b48
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xb8], rax
jb 0x140064b14
xor eax, eax
jmp 0x14006564f
mov eax, dword [rsp]
shl eax, 8
mov dword [rsp], eax
mov eax, dword [rsp + 4]
shl eax, 8
mov rcx, qword [rsp + 0xb8]
movzx ecx, byte [rcx]
or eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 4], eax
jae 0x140064b8a
mov eax, dword [rsp + 8]
mov dword [rsp], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x40]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x140064bb8
mov eax, dword [rsp + 8]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x2c]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x100
jb 0x140064a9b
mov dword [rsp + 0x64], 1
jmp 0x1400655fb
mov eax, dword [rsp + 8]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2 + 0x20]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movzx eax, word [rax]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x140064c63
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xb8], rax
jb 0x140064c2f
xor eax, eax
jmp 0x14006564f
mov eax, dword [rsp]
shl eax, 8
mov dword [rsp], eax
mov eax, dword [rsp + 4]
shl eax, 8
mov rcx, qword [rsp + 0xb8]
movzx ecx, byte [rcx]
or eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 4], eax
jae 0x140064ca8
mov eax, dword [rsp + 8]
mov dword [rsp], eax
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x48]
sub rax, 0x600
mov qword [rsp + 0x18], rax
mov dword [rsp + 0x64], 2
jmp 0x140065022
mov eax, dword [rsp + 8]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov dword [rsp + 0x64], 3
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2 + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movzx eax, word [rax]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x140064d40
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xb8], rax
jb 0x140064d0c
xor eax, eax
jmp 0x14006564f
mov eax, dword [rsp]
shl eax, 8
mov dword [rsp], eax
mov eax, dword [rsp + 4]
shl eax, 8
mov rcx, qword [rsp + 0xb8]
movzx ecx, byte [rcx]
or eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 4], eax
jae 0x140064e85
mov eax, dword [rsp + 8]
mov dword [rsp], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2 - 0xc00]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movzx eax, word [rax]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x140064de3
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xb8], rax
jb 0x140064daf
xor eax, eax
jmp 0x14006564f
mov eax, dword [rsp]
shl eax, 8
mov dword [rsp], eax
mov eax, dword [rsp + 4]
shl eax, 8
mov rcx, qword [rsp + 0xb8]
movzx ecx, byte [rcx]
or eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 4], eax
jae 0x140064e62
mov eax, dword [rsp + 8]
mov dword [rsp], eax
cmp dword [rsp], 0x1000000
jae 0x140064e56
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xb8], rax
jb 0x140064e22
xor eax, eax
jmp 0x14006564f
mov eax, dword [rsp]
shl eax, 8
mov dword [rsp], eax
mov eax, dword [rsp + 4]
shl eax, 8
mov rcx, qword [rsp + 0xb8]
movzx ecx, byte [rcx]
or eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, 3
jmp 0x14006564f
mov eax, dword [rsp + 8]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
jmp 0x14006500a
mov eax, dword [rsp + 8]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2 + 0x50]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movzx eax, word [rax]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x140064f15
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xb8], rax
jb 0x140064ee1
xor eax, eax
jmp 0x14006564f
mov eax, dword [rsp]
shl eax, 8
mov dword [rsp], eax
mov eax, dword [rsp + 4]
shl eax, 8
mov rcx, qword [rsp + 0xb8]
movzx ecx, byte [rcx]
or eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 4], eax
jae 0x140064f3a
mov eax, dword [rsp + 8]
mov dword [rsp], eax
jmp 0x14006500a
mov eax, dword [rsp + 8]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2 + 0x68]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movzx eax, word [rax]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x140064fca
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xb8], rax
jb 0x140064f96
xor eax, eax
jmp 0x14006564f
mov eax, dword [rsp]
shl eax, 8
mov dword [rsp], eax
mov eax, dword [rsp + 4]
shl eax, 8
mov rcx, qword [rsp + 0xb8]
movzx ecx, byte [rcx]
or eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 4], eax
jae 0x140064fec
mov eax, dword [rsp + 8]
mov dword [rsp], eax
jmp 0x14006500a
mov eax, dword [rsp + 8]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov dword [rsp + 0x20], select
mov rax, qword [rsp + 0x48]
sub rax, 0xa00
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x14006508b
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xb8], rax
jb 0x140065057
xor eax, eax
jmp 0x14006564f
mov eax, dword [rsp]
shl eax, 8
mov dword [rsp], eax
mov eax, dword [rsp + 4]
shl eax, 8
mov rcx, qword [rsp + 0xb8]
movzx ecx, byte [rcx]
or eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 4], eax
jae 0x1400650d2
mov eax, dword [rsp + 8]
mov dword [rsp], eax
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x18]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x5c], 8
jmp 0x1400651e0
mov eax, dword [rsp + 8]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x18]
add rax, 0x10
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x14006515d
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xb8], rax
jb 0x140065129
xor eax, eax
jmp 0x14006564f
mov eax, dword [rsp]
shl eax, 8
mov dword [rsp], eax
mov eax, dword [rsp + 4]
shl eax, 8
mov rcx, qword [rsp + 0xb8]
movzx ecx, byte [rcx]
or eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 4], eax
jae 0x1400651a2
mov eax, dword [rsp + 8]
mov dword [rsp], eax
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x18]
lea rax, [rcx + rax*2 + 0x10]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 8
mov dword [rsp + 0x5c], 8
jmp 0x1400651e0
mov eax, dword [rsp + 8]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x18]
add rax, 0x200
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], reloc.WS2_32.dll_recv
mov dword [rsp + 0x5c], 0x100
mov dword [rsp + 0x10], 1
mov eax, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x14006524c
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xb8], rax
jb 0x140065218
xor eax, eax
jmp 0x14006564f
mov eax, dword [rsp]
shl eax, 8
mov dword [rsp], eax
mov eax, dword [rsp + 4]
shl eax, 8
mov rcx, qword [rsp + 0xb8]
movzx ecx, byte [rcx]
or eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 4], eax
jae 0x14006527e
mov eax, dword [rsp + 8]
mov dword [rsp], eax
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp + 0x10]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
jmp 0x1400652ac
mov eax, dword [rsp + 8]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp + 0x10]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x10], eax
jb 0x1400651e8
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x10]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x10]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
cmp dword [rsp + 0x20], 4
jae 0x1400655fb
cmp dword [rsp + 0x10], 3
jae 0x1400652f6
mov eax, dword [rsp + 0x10]
mov dword [rsp + 0x74], eax
jmp 0x1400652fe
mov dword [rsp + 0x74], 3
mov eax, dword [rsp + 0x74]
shl eax, 6
mov eax, eax
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2 + 0x80]
mov qword [rsp + 0x18], rax
mov dword [rsp + 0x14], 1
mov eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x18]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x140065385
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xb8], rax
jb 0x140065351
xor eax, eax
jmp 0x14006564f
mov eax, dword [rsp]
shl eax, 8
mov dword [rsp], eax
mov eax, dword [rsp + 4]
shl eax, 8
mov rcx, qword [rsp + 0xb8]
movzx ecx, byte [rcx]
or eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 4], eax
jae 0x1400653b7
mov eax, dword [rsp + 8]
mov dword [rsp], eax
mov eax, dword [rsp + 0x14]
mov ecx, dword [rsp + 0x14]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x14], eax
jmp 0x1400653e5
mov eax, dword [rsp + 8]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x14]
mov ecx, dword [rsp + 0x14]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0x14], eax
cmp dword [rsp + 0x14], 0x40
jb 0x140065321
mov eax, dword [rsp + 0x14]
sub eax, 0x40
mov dword [rsp + 0x14], eax
cmp dword [rsp + 0x14], 4
jb 0x1400655fb
mov eax, dword [rsp + 0x14]
shr eax, 1
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x14], 0xe
jae 0x140065442
mov eax, dword [rsp + 0x14]
and eax, 1
or eax, 2
mov ecx, dword [rsp + 0x24]
shl eax, cl
mov eax, eax
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2 - 0xd00]
mov qword [rsp + 0x18], rax
jmp 0x1400654f2
mov eax, dword [rsp + 0x24]
sub eax, 4
mov dword [rsp + 0x24], eax
cmp dword [rsp], 0x1000000
jae 0x1400654a0
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xb8], rax
jb 0x14006546c
xor eax, eax
jmp 0x14006564f
mov eax, dword [rsp]
shl eax, 8
mov dword [rsp], eax
mov eax, dword [rsp + 4]
shl eax, 8
mov rcx, qword [rsp + 0xb8]
movzx ecx, byte [rcx]
or eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp]
shr eax, 1
mov dword [rsp], eax
mov eax, dword [rsp]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
shr eax, 0x1f
dec eax
mov ecx, dword [rsp]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x14006544d
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x18], rax
mov dword [rsp + 0x24], 4
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x30], 1
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x18]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0xc], eax
cmp dword [rsp], 0x1000000
jae 0x140065566
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xb8], rax
jb 0x140065532
xor eax, eax
jmp 0x14006564f
mov eax, dword [rsp]
shl eax, 8
mov dword [rsp], eax
mov eax, dword [rsp + 4]
shl eax, 8
mov rcx, qword [rsp + 0xb8]
movzx ecx, byte [rcx]
or eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp]
shr eax, 0xb
imul eax, dword [rsp + 0xc]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 4], eax
jae 0x1400655a8
mov eax, dword [rsp + 8]
mov dword [rsp], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x1400655e6
mov eax, dword [rsp + 8]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x140065502
cmp dword [rsp], 0x1000000
jae 0x14006564b
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xb8], rax
jb 0x140065617
xor eax, eax
jmp 0x14006564f
mov eax, dword [rsp]
shl eax, 8
mov dword [rsp], eax
mov eax, dword [rsp + 4]
shl eax, 8
mov rcx, qword [rsp + 0xb8]
movzx ecx, byte [rcx]
or eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x64]
add rsp, 0xa8
ret