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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov rax, qword [rsp + 0xa0]
add rax, 0x44
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa0]
add rax, 0xd0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x18]
and eax, 0x40000004
test eax, eax
jne 0x1800af47f
mov eax, dword [rsp + 0xb0]
shl eax, 1
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0x24], 0
jmp 0x1800af494
mov eax, dword [rsp + 0x24]
add eax, 1
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x24], eax
jge 0x1800b007e
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x18]
and eax, 0x40000004
test eax, eax
jne 0x1800af4d9
mov eax, dword [rsp + 0x24]
and eax, 1
movsxd rcx, eax
imul rcx, rcx, 0x14
mov rax, qword [rsp + 0xa0]
lea rax, [rax + rcx + 0x44]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x44], 2
jae 0x1800af859
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x3c], 0
jne 0x1800af859
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x34], 0
jne 0x1800af859
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x58], 2
jae 0x1800af859
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x38], 0
je 0x1800af582
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rax + 0x38]
sub ecx, 1
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x38], 0
je 0x1800af57d
mov rax, qword [rsp + 0xa8]
mov dword [rax], 0
mov rax, qword [rsp + 0xa8]
add rax, 4
mov qword [rsp + 0xa8], rax
jmp 0x1800af489
jmp 0x1800af859
mov dword [rsp + 0x44], 0
jmp 0x1800af597
mov eax, dword [rsp + 0x44]
add eax, 1
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x21
jge 0x1800af682
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 0
je 0x1800af5d1
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x24]
sub ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x54], eax
jmp 0x1800af639
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x10]
add rcx, 2
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
cmp qword [rcx + 0x10], rax
je 0x1800af5fd
jmp 0x1800af60a
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], recv
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
movzx ecx, word [rax]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1800af65c
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x58], 1
jmp 0x1800af676
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x58], 0
cmp dword [rsp + 0x58], 0
je 0x1800af682
jmp 0x1800af58c
cmp dword [rsp + 0x44], 0x21
jne 0x1800af68e
jmp 0x1800b007e
cmp dword [rsp + 0x44], 2
jge 0x1800af6a9
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rsp + 0x44]
mov dword [rcx + 0x38], eax
jmp 0x1800af7fa
mov dword [rsp + 0x40], 1
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x38], 0
jmp 0x1800af6cc
mov eax, dword [rsp + 0x40]
shl eax, 1
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x44]
sub eax, 1
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1800af7de
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 0
je 0x1800af711
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x24]
sub ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x5c], eax
jmp 0x1800af779
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x10]
add rcx, 2
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
cmp qword [rcx + 0x10], rax
je 0x1800af73d
jmp 0x1800af74a
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], recv
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
movzx ecx, word [rax]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x1800af79c
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x60], 1
jmp 0x1800af7b6
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x60], 0
je 0x1800af7d9
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rsp + 0x40]
mov ecx, dword [rcx + 0x38]
or ecx, eax
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x38], ecx
jmp 0x1800af6c2
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rsp + 0x40]
mov ecx, dword [rcx + 0x38]
or ecx, eax
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x38], 0
je 0x1800af859
mov rdi, qword [rsp + 0xa0]
add rdi, 0x44
xor eax, eax
mov ecx, recv
rep stosb byte [rdi], al
mov rdi, qword [rsp + 0xa0]
add rdi, 0x58
xor eax, eax
mov ecx, recv
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xa8]
mov dword [rax], 0
mov rax, qword [rsp + 0xa8]
add rax, 4
mov qword [rsp + 0xa8], rax
jmp 0x1800af489
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x3c], 0
je 0x1800af883
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x3c], 0
mov dword [rsp + 0x28], 0
jmp 0x1800afd81
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 8
jge 0x1800af91c
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x10]
add rcx, 2
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
cmp qword [rcx + 0x10], rax
jne 0x1800af8c9
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
movzx edx, word [rax]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
movzx ecx, al
shl edx, cl
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
or ecx, edx
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 0xff
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x38]
movsxd rcx, dword [rax + 0x24]
add rcx, 0x10
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], ecx
jmp 0x1800af92d
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 0xff
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0xff
jne 0x1800afcd3
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x24]
sub ecx, 8
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 8
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x28], 8
jmp 0x1800af976
mov eax, dword [rsp + 0x28]
add eax, 1
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x11
jae 0x1800afa61
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 0
je 0x1800af9b0
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x24]
sub ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x64], eax
jmp 0x1800afa18
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x10]
add rcx, 2
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
cmp qword [rcx + 0x10], rax
je 0x1800af9dc
jmp 0x1800af9e9
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], recv
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
movzx ecx, word [rax]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x1800afa3b
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x68], 1
jmp 0x1800afa55
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x68], 0
cmp dword [rsp + 0x68], 0
je 0x1800afa61
jmp 0x1800af96b
cmp dword [rsp + 0x28], 0x11
jne 0x1800afa6d
jmp 0x1800b007e
cmp dword [rsp + 0x28], 0x10
jne 0x1800afcd1
mov dword [rsp + 0x50], 0
jmp 0x1800afa8d
mov eax, dword [rsp + 0x50]
add eax, 1
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x21
jge 0x1800afb78
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 0
je 0x1800afac7
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x24]
sub ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x6c], eax
jmp 0x1800afb2f
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x10]
add rcx, 2
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
cmp qword [rcx + 0x10], rax
je 0x1800afaf3
jmp 0x1800afb00
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], recv
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
movzx ecx, word [rax]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x1800afb52
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x70], 1
jmp 0x1800afb6c
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x70], 0
cmp dword [rsp + 0x70], 0
je 0x1800afb78
jmp 0x1800afa82
cmp dword [rsp + 0x50], 0x21
jne 0x1800afb84
jmp 0x1800b007e
cmp dword [rsp + 0x50], 2
jge 0x1800afb98
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
jmp 0x1800afcc6
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x28], 0
jmp 0x1800afbb4
mov eax, dword [rsp + 0x4c]
shl eax, 1
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x50]
sub eax, 1
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1800afcb8
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 0
je 0x1800afbf9
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x24]
sub ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x74], eax
jmp 0x1800afc61
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x10]
add rcx, 2
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
cmp qword [rcx + 0x10], rax
je 0x1800afc25
jmp 0x1800afc32
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], recv
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
movzx ecx, word [rax]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
je 0x1800afc84
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x78], 1
jmp 0x1800afc9e
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x78], 0
cmp dword [rsp + 0x78], 0
je 0x1800afcb3
mov ecx, dword [rsp + 0x4c]
mov eax, dword [rsp + 0x28]
or eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x1800afbaa
mov ecx, dword [rsp + 0x4c]
mov eax, dword [rsp + 0x28]
or eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
add eax, 0x10
mov dword [rsp + 0x28], eax
jmp 0x1800afd1b
movsxd rcx, dword [rsp + 0x48]
lea rax, [0x1800d8480]
movsx eax, byte [rax + rcx]
mov dword [rsp + 0x28], eax
mov edx, dword [rsp + 0x28]
add edx, 1
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x24]
sub ecx, edx
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], ecx
mov ecx, dword [rsp + 0x28]
add ecx, 1
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
shr eax, cl
mov ecx, eax
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x34], 0
je 0x1800afd4a
mov ecx, dword [rsp + 0x28]
and ecx, 1
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x34], ecx
mov eax, dword [rsp + 0x28]
shr eax, 1
add eax, 1
mov dword [rsp + 0x28], eax
jmp 0x1800afd66
mov ecx, dword [rsp + 0x28]
and ecx, 1
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x34], ecx
mov eax, dword [rsp + 0x28]
shr eax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rax + 0x34]
not ecx
and ecx, 1
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x3c], ecx
cmp dword [rsp + 0x28], 0
jne 0x1800afdca
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
shr eax, 4
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
add eax, 0x7e
xor edx, edx
mov ecx, 0x80
div ecx
mov edx, eax
shl edx, 1
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
sub ecx, edx
mov rax, qword [rsp + 0x30]
mov dword [rax], ecx
jmp 0x1800aff36
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
shr eax, 4
add eax, 1
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
add eax, 0x80
xor edx, edx
mov ecx, 0x80
div ecx
mov ecx, eax
imul ecx, ecx, 5
mov rax, qword [rsp + 0x30]
add ecx, dword [rax]
mov rax, qword [rsp + 0x30]
mov dword [rax], ecx
cmp dword [rsp + 0x28], 1
jne 0x1800afe4e
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 4]
shr ecx, 4
mov eax, dword [rsp + 0x2c]
add eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
add eax, 0x3e
xor edx, edx
mov ecx, 0x40
div ecx
mov edx, eax
shl edx, 1
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 4]
sub ecx, edx
mov rax, qword [rsp + 0x30]
mov dword [rax + 4], ecx
jmp 0x1800aff36
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 4]
shr ecx, 4
mov eax, dword [rsp + 0x2c]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
add eax, 0x40
xor edx, edx
mov ecx, 0x40
div ecx
mov ecx, eax
imul ecx, ecx, 5
mov rax, qword [rsp + 0x30]
add ecx, dword [rax + 4]
mov rax, qword [rsp + 0x30]
mov dword [rax + 4], ecx
cmp dword [rsp + 0x28], 2
jne 0x1800afed6
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 8]
shr ecx, 4
mov eax, dword [rsp + 0x2c]
add eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
add eax, 0x1e
xor edx, edx
mov ecx, 0x20
div ecx
mov edx, eax
shl edx, 1
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 8]
sub ecx, edx
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], ecx
jmp 0x1800aff36
mov ecx, dword [rsp + 0x28]
sub ecx, 2
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
shr eax, 4
add eax, 1
imul ecx, eax
mov eax, dword [rsp + 0x2c]
add eax, ecx
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 8]
shr ecx, 4
mov eax, dword [rsp + 0x2c]
add eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
add eax, 0x20
xor edx, edx
mov ecx, 0x20
div ecx
mov ecx, eax
imul ecx, ecx, 5
mov rax, qword [rsp + 0x30]
add ecx, dword [rax + 8]
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], ecx
mov eax, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x20]
sub edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1800b00c0
mov edx, eax
mov eax, dword [rsp + 0x2c]
add eax, edx
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 0
je 0x1800aff85
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x24]
sub ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x7c], eax
jmp 0x1800affed
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x10]
add rcx, 2
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
cmp qword [rcx + 0x10], rax
je 0x1800affb1
jmp 0x1800affbe
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], recv
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
movzx ecx, word [rax]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
je 0x1800b0013
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x80], 1
jmp 0x1800b0030
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x80], 0
cmp dword [rsp + 0x80], 0
je 0x1800b0049
mov eax, dword [rsp + 0x2c]
not eax
mov dword [rsp + 0x84], eax
jmp 0x1800b0054
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x84], eax
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rsp + 0x84]
mov dword [rcx], eax
mov rax, qword [rsp + 0xa8]
add rax, 4
mov qword [rsp + 0xa8], rax
jmp 0x1800af489
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x18]
and eax, 0x40000004
test eax, eax
je 0x1800b009f
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x88], eax
jmp 0x1800b00af
mov eax, dword [rsp + 0x24]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x88]
add rsp, 0x90
pop rdi
ret