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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
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 rax, qword [rax]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x58]
mov dword [rsp + 0x18], 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 + 0x30], eax
mov eax, dword [rsp + 0x18]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax*2 - 0x200]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
mov dword [rsp + 0x2c], eax
cmp dword [rsp], 0x1000000
jae 0x140006019
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140005fe5
xor eax, eax
jmp 0x140006e40
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 + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 4], eax
jae 0x1400063f9
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
mov rax, qword [rsp + 0x10]
add rax, 0x280
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x44], 0
jne 0x14000606d
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x40], 0
je 0x140006145
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x28], 0
jne 0x140006092
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x80], rax
jmp 0x1400060a6
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 1]
mov ecx, 1
mov dword [rsp + 0x88], ecx
movzx ecx, al
mov eax, dword [rsp + 0x88]
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 + 0x80]
movzx ecx, byte [rcx + rdx - 1]
mov dword [rsp + 0x8c], 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 + 0x8c]
shr edx, cl
mov ecx, edx
add eax, ecx
imul eax, eax, 0x300
mov eax, eax
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x18], 7
jae 0x14000622f
mov dword [rsp + 0x34], 1
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x2c], eax
cmp dword [rsp], 0x1000000
jae 0x1400061bc
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006188
xor eax, eax
jmp 0x140006e40
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 + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 4], eax
jae 0x1400061ee
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x14000621c
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x34]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x100
jb 0x140006158
jmp 0x1400063ec
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 0x140006268
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x90], rax
jmp 0x140006274
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 + 0x38], eax
mov dword [rsp + 0x3c], 0x100
mov dword [rsp + 0x40], 1
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x3c]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x40]
mov eax, eax
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
mov dword [rsp + 0x2c], eax
cmp dword [rsp], 0x1000000
jae 0x14000636e
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x14000633a
xor eax, eax
jmp 0x140006e40
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 + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 4], eax
jae 0x1400063b0
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x3c]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
jmp 0x1400063de
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x40]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x100
jb 0x1400062c7
mov dword [rsp + 0x1c], 1
jmp 0x140006dd2
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x18]
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax*2 + 0x20]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
mov dword [rsp + 0x2c], eax
cmp dword [rsp], 0x1000000
jae 0x140006489
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006455
xor eax, eax
jmp 0x140006e40
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 + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 4], eax
jae 0x1400064ce
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
mov dword [rsp + 0x18], 0
mov rax, qword [rsp + 0x10]
sub rax, 0x600
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x1c], 2
jmp 0x1400067f0
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov dword [rsp + 0x1c], 3
mov eax, dword [rsp + 0x18]
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax*2 + 0x38]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
mov dword [rsp + 0x2c], eax
cmp dword [rsp], 0x1000000
jae 0x140006566
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006532
xor eax, eax
jmp 0x140006e40
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 + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 4], eax
jae 0x140006653
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp + 0x18]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax*2 - 0xc00]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
mov dword [rsp + 0x2c], eax
cmp dword [rsp], 0x1000000
jae 0x140006609
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x1400065d5
xor eax, eax
jmp 0x140006e40
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 + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 4], eax
jae 0x140006630
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
jmp 0x140006dd9
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
jmp 0x1400067d8
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x18]
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax*2 + 0x50]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
mov dword [rsp + 0x2c], eax
cmp dword [rsp], 0x1000000
jae 0x1400066e3
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x1400066af
xor eax, eax
jmp 0x140006e40
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 + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 4], eax
jae 0x140006708
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
jmp 0x1400067d8
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x18]
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax*2 + 0x68]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
mov dword [rsp + 0x2c], eax
cmp dword [rsp], 0x1000000
jae 0x140006798
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006764
xor eax, eax
jmp 0x140006e40
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 + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 4], eax
jae 0x1400067ba
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
jmp 0x1400067d8
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov dword [rsp + 0x18], recv
mov rax, qword [rsp + 0x10]
sub rax, 0xa00
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax]
mov dword [rsp + 0x2c], eax
cmp dword [rsp], 0x1000000
jae 0x140006859
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006825
xor eax, eax
jmp 0x140006e40
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 + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 4], eax
jae 0x1400068a0
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x54], 8
jmp 0x1400069ae
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x20]
add rax, 0x10
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax]
mov dword [rsp + 0x2c], eax
cmp dword [rsp], 0x1000000
jae 0x14000692b
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x1400068f7
xor eax, eax
jmp 0x140006e40
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 + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 4], eax
jae 0x140006970
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax*2 + 0x10]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x58], 8
mov dword [rsp + 0x54], 8
jmp 0x1400069ae
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x20]
add rax, 0x200
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x58], reloc.WS2_32.dll_recv
mov dword [rsp + 0x54], 0x100
mov dword [rsp + 0x50], 1
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x2c], eax
cmp dword [rsp], 0x1000000
jae 0x140006a1a
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x1400069e6
xor eax, eax
jmp 0x140006e40
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 + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 4], eax
jae 0x140006a4c
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
jmp 0x140006a7a
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x50]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x50], eax
jb 0x1400069b6
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x18], 4
jae 0x140006dd2
cmp dword [rsp + 0x50], 3
jae 0x140006ac7
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x98], eax
jmp 0x140006ad2
mov dword [rsp + 0x98], 3
mov eax, dword [rsp + 0x98]
shl eax, 6
mov eax, eax
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax*2 + 0x80]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x68], 1
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x2c], eax
cmp dword [rsp], 0x1000000
jae 0x140006b5c
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006b28
xor eax, eax
jmp 0x140006e40
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 + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 4], eax
jae 0x140006b8e
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x68], eax
jmp 0x140006bbc
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x68]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0x40
jb 0x140006af8
mov eax, dword [rsp + 0x68]
sub eax, 0x40
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 4
jb 0x140006dd2
mov eax, dword [rsp + 0x68]
shr eax, 1
dec eax
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x68], 0xe
jae 0x140006c19
mov eax, dword [rsp + 0x68]
and eax, 1
or eax, 2
mov ecx, dword [rsp + 0x6c]
shl eax, cl
mov eax, eax
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax*2 - 0xd00]
mov qword [rsp + 0x20], rax
jmp 0x140006cc9
mov eax, dword [rsp + 0x6c]
sub eax, 4
mov dword [rsp + 0x6c], eax
cmp dword [rsp], 0x1000000
jae 0x140006c77
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006c43
xor eax, eax
jmp 0x140006e40
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 + 0x6c]
dec eax
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
jne 0x140006c24
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x6c], 4
mov dword [rsp + 0x70], 1
mov dword [rsp + 0x74], 1
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x2c], eax
cmp dword [rsp], 0x1000000
jae 0x140006d3d
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006d09
xor eax, eax
jmp 0x140006e40
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 + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 4], eax
jae 0x140006d7f
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
jmp 0x140006dbd
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x6c]
dec eax
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
jne 0x140006cd9
jmp 0x140006dd9
cmp dword [rsp], 0x1000000
jae 0x140006e29
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006df5
xor eax, eax
jmp 0x140006e40
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 rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xb8]
mov qword [rax], rcx
mov eax, dword [rsp + 0x1c]
add rsp, 0xa0
pop rdi
ret