Function at 0x140005f30
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 0x140006049
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006015
xor eax, eax
jmp 0x140006e70
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 0x140006429
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 0x14000609d
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x40], 0
je 0x140006175
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x28], 0
jne 0x1400060c2
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x80], rax
jmp 0x1400060d6
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 0x14000625f
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 0x1400061ec
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x1400061b8
xor eax, eax
jmp 0x140006e70
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 0x14000621e
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 0x14000624c
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 0x140006188
jmp 0x14000641c
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 0x140006298
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x90], rax
jmp 0x1400062a4
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 0x14000639e
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x14000636a
xor eax, eax
jmp 0x140006e70
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 0x1400063e0
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 0x14000640e
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 0x1400062f7
mov dword [rsp + 0x1c], 1
jmp 0x140006e02
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 0x1400064b9
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006485
xor eax, eax
jmp 0x140006e70
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 0x1400064fe
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 0x140006820
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 0x140006596
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006562
xor eax, eax
jmp 0x140006e70
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 0x140006683
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 0x140006639
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006605
xor eax, eax
jmp 0x140006e70
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 0x140006660
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
jmp 0x140006e09
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 0x140006808
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 0x140006713
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x1400066df
xor eax, eax
jmp 0x140006e70
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 0x140006738
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
jmp 0x140006808
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 0x1400067c8
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006794
xor eax, eax
jmp 0x140006e70
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 0x1400067ea
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
jmp 0x140006808
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 0x140006889
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006855
xor eax, eax
jmp 0x140006e70
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 0x1400068d0
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 0x1400069de
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 0x14000695b
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006927
xor eax, eax
jmp 0x140006e70
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 0x1400069a0
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 0x1400069de
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 0x140006a4a
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006a16
xor eax, eax
jmp 0x140006e70
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 0x140006a7c
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 0x140006aaa
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 0x1400069e6
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 0x140006e02
cmp dword [rsp + 0x50], 3
jae 0x140006af7
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x98], eax
jmp 0x140006b02
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 0x140006b8c
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006b58
xor eax, eax
jmp 0x140006e70
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 0x140006bbe
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 0x140006bec
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 0x140006b28
mov eax, dword [rsp + 0x68]
sub eax, 0x40
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 4
jb 0x140006e02
mov eax, dword [rsp + 0x68]
shr eax, 1
dec eax
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x68], 0xe
jae 0x140006c49
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 0x140006cf9
mov eax, dword [rsp + 0x6c]
sub eax, 4
mov dword [rsp + 0x6c], eax
cmp dword [rsp], 0x1000000
jae 0x140006ca7
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006c73
xor eax, eax
jmp 0x140006e70
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 0x140006c54
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 0x140006d6d
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006d39
xor eax, eax
jmp 0x140006e70
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 0x140006daf
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 0x140006ded
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 0x140006d09
jmp 0x140006e09
cmp dword [rsp], 0x1000000
jae 0x140006e59
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006e25
xor eax, eax
jmp 0x140006e70
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