Function at 0x140005ed0
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 0x140005fe9
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140005fb5
xor eax, eax
jmp 0x140006e10
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 0x1400063c9
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 0x14000603d
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x40], 0
je 0x140006115
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x28], 0
jne 0x140006062
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x80], rax
jmp 0x140006076
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 0x1400061ff
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 0x14000618c
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006158
xor eax, eax
jmp 0x140006e10
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 0x1400061be
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 0x1400061ec
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 0x140006128
jmp 0x1400063bc
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 0x140006238
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x90], rax
jmp 0x140006244
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], pe_nt_image_headers64
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 0x14000633e
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x14000630a
xor eax, eax
jmp 0x140006e10
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 0x140006380
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 0x1400063ae
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 0x140006297
mov dword [rsp + 0x1c], 1
jmp 0x140006da2
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 0x140006459
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006425
xor eax, eax
jmp 0x140006e10
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 0x14000649e
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 0x1400067c0
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 0x140006536
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006502
xor eax, eax
jmp 0x140006e10
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 0x140006623
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 0x1400065d9
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x1400065a5
xor eax, eax
jmp 0x140006e10
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 0x140006600
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
jmp 0x140006da9
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 0x1400067a8
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 0x1400066b3
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x14000667f
xor eax, eax
jmp 0x140006e10
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 0x1400066d8
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
jmp 0x1400067a8
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 0x140006768
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006734
xor eax, eax
jmp 0x140006e10
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 0x14000678a
mov eax, dword [rsp + 0x28]
mov dword [rsp], eax
jmp 0x1400067a8
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 0x140006829
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x1400067f5
xor eax, eax
jmp 0x140006e10
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 0x140006870
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 0x14000697e
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 0x1400068fb
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x1400068c7
xor eax, eax
jmp 0x140006e10
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 0x140006940
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 0x14000697e
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], pe_nt_image_headers64
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 0x1400069ea
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x1400069b6
xor eax, eax
jmp 0x140006e10
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 0x140006a1c
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 0x140006a4a
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 0x140006986
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 0x140006da2
cmp dword [rsp + 0x50], 3
jae 0x140006a97
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x98], eax
jmp 0x140006aa2
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 0x140006b2c
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006af8
xor eax, eax
jmp 0x140006e10
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 0x140006b5e
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 0x140006b8c
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 0x140006ac8
mov eax, dword [rsp + 0x68]
sub eax, 0x40
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 4
jb 0x140006da2
mov eax, dword [rsp + 0x68]
shr eax, 1
dec eax
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x68], 0xe
jae 0x140006be9
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 0x140006c99
mov eax, dword [rsp + 0x6c]
sub eax, 4
mov dword [rsp + 0x6c], eax
cmp dword [rsp], 0x1000000
jae 0x140006c47
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006c13
xor eax, eax
jmp 0x140006e10
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 0x140006bf4
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 0x140006d0d
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006cd9
xor eax, eax
jmp 0x140006e10
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 0x140006d4f
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 0x140006d8d
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 0x140006ca9
jmp 0x140006da9
cmp dword [rsp], 0x1000000
jae 0x140006df9
mov rax, qword [rsp + 8]
cmp qword [rsp + 0xb8], rax
jb 0x140006dc5
xor eax, eax
jmp 0x140006e10
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