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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
movsxd rcx, dword [rsp + 0xb8]
imul rcx, rcx, 0x14
mov rax, qword [rsp + 0xb0]
lea rax, [rax + rcx + 0x44]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0xc0], 0
je 0x1800ae21d
mov rax, qword [rsp + 0xc0]
mov dword [rax], 0
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x44]
and eax, 0xfffffffe
test eax, eax
jne 0x1800ae696
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x3c], 0
jne 0x1800ae696
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x34], 0
jne 0x1800ae696
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x58]
and eax, 0xfffffffe
test eax, eax
jne 0x1800ae696
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x38], 0
je 0x1800ae2d1
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0x38]
sub ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x38], 0
je 0x1800ae2cc
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 0xc]
add edx, 0x80
shr edx, 8
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0xc]
sub ecx, edx
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], ecx
xor eax, eax
jmp 0x1800af40a
jmp 0x1800ae696
mov dword [rsp + 0x4c], 0
jmp 0x1800ae2e6
mov eax, dword [rsp + 0x4c]
add eax, 1
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0x21
jge 0x1800ae444
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0xf4], 0
je 0x1800ae33b
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf4]
sub ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf4], ecx
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0x58], eax
jmp 0x1800ae3e3
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0xe0]
add rcx, 2
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0xe0], rcx
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xd8]
cmp qword [rcx + 0xe0], rax
je 0x1800ae37f
jmp 0x1800ae39c
mov rcx, qword [rsp + 0xb0]
add rcx, 0xd0
mov rax, qword [rsp + 0xb0]
call qword [rax + 0xe8]
mov rax, qword [rsp + 0xb0]
mov dword [rax + socket4], 0xf
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xe0]
movzx ecx, word [rax]
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1800ae412
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf8]
shr ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov dword [rsp + 0x5c], 1
jmp 0x1800ae438
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf8]
shr ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov dword [rsp + 0x5c], 0
cmp dword [rsp + 0x5c], 0
je 0x1800ae444
jmp 0x1800ae2db
cmp dword [rsp + 0x4c], 0x21
jne 0x1800ae455
mov eax, 0x80000000
jmp 0x1800af40a
cmp dword [rsp + 0x4c], 2
jge 0x1800ae470
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0x4c]
mov dword [rcx + 0x38], eax
jmp 0x1800ae634
mov dword [rsp + 0x48], 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x38], 0
jmp 0x1800ae493
mov eax, dword [rsp + 0x48]
shl eax, 1
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x4c]
sub eax, 1
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
je 0x1800ae618
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0xf4], 0
je 0x1800ae4f3
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf4]
sub ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf4], ecx
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0x60], eax
jmp 0x1800ae59b
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0xe0]
add rcx, 2
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0xe0], rcx
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xd8]
cmp qword [rcx + 0xe0], rax
je 0x1800ae537
jmp 0x1800ae554
mov rcx, qword [rsp + 0xb0]
add rcx, 0xd0
mov rax, qword [rsp + 0xb0]
call qword [rax + 0xe8]
mov rax, qword [rsp + 0xb0]
mov dword [rax + socket4], 0xf
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xe0]
movzx ecx, word [rax]
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1800ae5ca
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf8]
shr ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov dword [rsp + 0x64], 1
jmp 0x1800ae5f0
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf8]
shr ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov dword [rsp + 0x64], 0
cmp dword [rsp + 0x64], 0
je 0x1800ae613
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0x48]
mov ecx, dword [rcx + 0x38]
or ecx, eax
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x38], ecx
jmp 0x1800ae489
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0x48]
mov ecx, dword [rcx + 0x38]
or ecx, eax
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x38], 0
je 0x1800ae696
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 0xc]
add edx, 0x80
shr edx, 8
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0xc]
sub ecx, edx
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], ecx
mov rdi, qword [rsp + 0xb0]
add rdi, 0x44
xor eax, eax
mov ecx, recv
rep stosb byte [rdi], al
mov rdi, qword [rsp + 0xb0]
add rdi, 0x58
xor eax, eax
mov ecx, recv
rep stosb byte [rdi], al
xor eax, eax
jmp 0x1800af40a
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x3c], 0
je 0x1800ae6c0
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x3c], 0
mov dword [rsp + 0x30], 0
jmp 0x1800aedaf
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0xf4], 8
jge 0x1800ae7b1
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0xe0]
add rcx, 2
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0xe0], rcx
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xd8]
cmp qword [rcx + 0xe0], rax
jne 0x1800ae734
mov rcx, qword [rsp + 0xb0]
add rcx, 0xd0
mov rax, qword [rsp + 0xb0]
call qword [rax + 0xe8]
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xe0]
movzx edx, word [rax]
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf4]
movzx ecx, al
shl edx, cl
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf8]
or ecx, edx
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf8]
and eax, 0xff
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xb0]
movsxd rcx, dword [rax + 0xf4]
add rcx, 0x10
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf4], ecx
jmp 0x1800ae7c8
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf8]
and eax, 0xff
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xff
jne 0x1800aece9
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf4]
sub ecx, 8
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf4], ecx
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf8]
shr ecx, 8
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov dword [rsp + 0x30], 8
jmp 0x1800ae829
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x11
jae 0x1800ae987
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0xf4], 0
je 0x1800ae87e
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf4]
sub ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf4], ecx
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0x68], eax
jmp 0x1800ae926
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0xe0]
add rcx, 2
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0xe0], rcx
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xd8]
cmp qword [rcx + 0xe0], rax
je 0x1800ae8c2
jmp 0x1800ae8df
mov rcx, qword [rsp + 0xb0]
add rcx, 0xd0
mov rax, qword [rsp + 0xb0]
call qword [rax + 0xe8]
mov rax, qword [rsp + 0xb0]
mov dword [rax + socket4], 0xf
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xe0]
movzx ecx, word [rax]
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x1800ae955
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf8]
shr ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov dword [rsp + 0x6c], 1
jmp 0x1800ae97b
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf8]
shr ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov dword [rsp + 0x6c], 0
cmp dword [rsp + 0x6c], 0
je 0x1800ae987
jmp 0x1800ae81e
cmp dword [rsp + 0x30], 0x11
jne 0x1800ae998
mov eax, 0x80000000
jmp 0x1800af40a
cmp dword [rsp + 0x30], 0x10
jne 0x1800aece7
mov dword [rsp + 0x54], 0
jmp 0x1800ae9b8
mov eax, dword [rsp + 0x54]
add eax, 1
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x21
jge 0x1800aeb16
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0xf4], 0
je 0x1800aea0d
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf4]
sub ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf4], ecx
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0x70], eax
jmp 0x1800aeab5
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0xe0]
add rcx, 2
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0xe0], rcx
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xd8]
cmp qword [rcx + 0xe0], rax
je 0x1800aea51
jmp 0x1800aea6e
mov rcx, qword [rsp + 0xb0]
add rcx, 0xd0
mov rax, qword [rsp + 0xb0]
call qword [rax + 0xe8]
mov rax, qword [rsp + 0xb0]
mov dword [rax + socket4], 0xf
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xe0]
movzx ecx, word [rax]
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x1800aeae4
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf8]
shr ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov dword [rsp + 0x74], 1
jmp 0x1800aeb0a
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf8]
shr ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov dword [rsp + 0x74], 0
cmp dword [rsp + 0x74], 0
je 0x1800aeb16
jmp 0x1800ae9ad
cmp dword [rsp + 0x54], 0x21
jne 0x1800aeb27
mov eax, 0x80000000
jmp 0x1800af40a
cmp dword [rsp + 0x54], 2
jge 0x1800aeb3b
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x30], eax
jmp 0x1800aecdc
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x30], 0
jmp 0x1800aeb57
mov eax, dword [rsp + 0x50]
shl eax, 1
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x54]
sub eax, 1
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1800aecce
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0xf4], 0
je 0x1800aebb7
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf4]
sub ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf4], ecx
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0x78], eax
jmp 0x1800aec5f
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0xe0]
add rcx, 2
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0xe0], rcx
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xd8]
cmp qword [rcx + 0xe0], rax
je 0x1800aebfb
jmp 0x1800aec18
mov rcx, qword [rsp + 0xb0]
add rcx, 0xd0
mov rax, qword [rsp + 0xb0]
call qword [rax + 0xe8]
mov rax, qword [rsp + 0xb0]
mov dword [rax + socket4], 0xf
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xe0]
movzx ecx, word [rax]
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x1800aec8e
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf8]
shr ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov dword [rsp + 0x7c], 1
jmp 0x1800aecb4
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf8]
shr ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov dword [rsp + 0x7c], 0
cmp dword [rsp + 0x7c], 0
je 0x1800aecc9
mov ecx, dword [rsp + 0x50]
mov eax, dword [rsp + 0x30]
or eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x1800aeb4d
mov ecx, dword [rsp + 0x50]
mov eax, dword [rsp + 0x30]
or eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
add eax, 0x10
mov dword [rsp + 0x30], eax
jmp 0x1800aed49
movsxd rcx, dword [rsp + 0x20]
lea rax, [0x1800d8480]
movsx eax, byte [rax + rcx]
mov dword [rsp + 0x30], eax
mov edx, dword [rsp + 0x30]
add edx, 1
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf4]
sub ecx, edx
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf4], ecx
mov ecx, dword [rsp + 0x30]
add ecx, 1
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf8]
shr eax, cl
mov ecx, eax
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x34], 0
je 0x1800aed78
mov ecx, dword [rsp + 0x30]
and ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x34], ecx
mov eax, dword [rsp + 0x30]
shr eax, 1
add eax, 1
mov dword [rsp + 0x30], eax
jmp 0x1800aed94
mov ecx, dword [rsp + 0x30]
and ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x34], ecx
mov eax, dword [rsp + 0x30]
shr eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0x34]
not ecx
and ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x3c], ecx
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x18]
and eax, 8
test eax, eax
je 0x1800aedd8
cmp dword [rsp + 0xb8], 0
jne 0x1800aedd8
mov rcx, qword [rsp + 0xb0]
call fcn.1800adf70
cmp dword [rsp + 0x30], 0
jne 0x1800aee21
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
shr eax, 4
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x40]
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 + 0x40]
mov ecx, dword [rax]
sub ecx, edx
mov rax, qword [rsp + 0x40]
mov dword [rax], ecx
jmp 0x1800aef8d
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
shr eax, 4
add eax, 1
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x40]
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 + 0x40]
add ecx, dword [rax]
mov rax, qword [rsp + 0x40]
mov dword [rax], ecx
cmp dword [rsp + 0x30], 1
jne 0x1800aeea5
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 4]
shr ecx, 4
mov eax, dword [rsp + 0x38]
add eax, ecx
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x40]
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 + 0x40]
mov ecx, dword [rax + 4]
sub ecx, edx
mov rax, qword [rsp + 0x40]
mov dword [rax + 4], ecx
jmp 0x1800aef8d
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 4]
shr ecx, 4
mov eax, dword [rsp + 0x38]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x40]
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 + 0x40]
add ecx, dword [rax + 4]
mov rax, qword [rsp + 0x40]
mov dword [rax + 4], ecx
cmp dword [rsp + 0x30], 2
jne 0x1800aef2d
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 8]
shr ecx, 4
mov eax, dword [rsp + 0x38]
add eax, ecx
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x40]
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 + 0x40]
mov ecx, dword [rax + 8]
sub ecx, edx
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], ecx
jmp 0x1800aef8d
mov ecx, dword [rsp + 0x30]
sub ecx, 2
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 8]
shr eax, 4
add eax, 1
imul ecx, eax
mov eax, dword [rsp + 0x38]
add eax, ecx
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 8]
shr ecx, 4
mov eax, dword [rsp + 0x38]
add eax, ecx
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x40]
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 + 0x40]
add ecx, dword [rax + 8]
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], ecx
mov eax, dword [rsp + 0x38]
and eax, 0x7fffffff
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x2c]
and eax, 0x7fffffff
mov dword [rsp + 0x2c], eax
mov ecx, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x38]
lea eax, [rcx + rax + 1]
shr eax, 1
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x10], 0
jne 0x1800aefef
mov eax, dword [rsp + 0x38]
mov edx, dword [rsp + 0x2c]
sub edx, eax
mov rcx, qword [rsp + 0xb0]
add rcx, 0xd0
call fcn.1800b00c0
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x24], eax
jmp 0x1800af1a5
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov rax, qword [rsp + 0x40]
cmp ecx, dword [rax + 0x10]
jbe 0x1800af1a5
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0xf4], 0
je 0x1800af054
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf4]
sub ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf4], ecx
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0x80], eax
jmp 0x1800af0ff
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0xe0]
add rcx, 2
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0xe0], rcx
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xd8]
cmp qword [rcx + 0xe0], rax
je 0x1800af098
jmp 0x1800af0b5
mov rcx, qword [rsp + 0xb0]
add rcx, 0xd0
mov rax, qword [rsp + 0xb0]
call qword [rax + 0xe8]
mov rax, qword [rsp + 0xb0]
mov dword [rax + socket4], 0xf
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xe0]
movzx ecx, word [rax]
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
je 0x1800af134
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf8]
shr ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov dword [rsp + 0x84], 1
jmp 0x1800af15d
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf8]
shr ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov dword [rsp + 0x84], 0
cmp dword [rsp + 0x84], 0
je 0x1800af183
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x38], eax
mov ecx, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x38]
lea eax, [rcx + rax + 1]
shr eax, 1
mov dword [rsp + 0x24], eax
jmp 0x1800af1a0
mov eax, dword [rsp + 0x24]
sub eax, 1
mov dword [rsp + 0x2c], eax
mov ecx, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x38]
lea eax, [rcx + rax + 1]
shr eax, 1
mov dword [rsp + 0x24], eax
jmp 0x1800aefef
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0xf4], 0
je 0x1800af1f2
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf4]
sub ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf4], ecx
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0x88], eax
jmp 0x1800af29d
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0xe0]
add rcx, 2
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0xe0], rcx
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xd8]
cmp qword [rcx + 0xe0], rax
je 0x1800af236
jmp 0x1800af253
mov rcx, qword [rsp + 0xb0]
add rcx, 0xd0
mov rax, qword [rsp + 0xb0]
call qword [rax + 0xe8]
mov rax, qword [rsp + 0xb0]
mov dword [rax + socket4], 0xf
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xe0]
movzx ecx, word [rax]
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
je 0x1800af2d2
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf8]
shr ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov dword [rsp + 0x8c], 1
jmp 0x1800af2fb
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0xf8]
shr ecx, 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xf8], ecx
mov dword [rsp + 0x8c], 0
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x110], 0
je 0x1800af390
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x10], 0
je 0x1800af390
mov eax, dword [rsp + 0x38]
mov edx, dword [rsp + 0x2c]
sub edx, eax
mov rcx, qword [rsp + 0xb0]
add rcx, 0x100
call fcn.1800b00c0
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
cmp qword [rsp + 0xc0], 0
je 0x1800af390
cmp dword [rsp + 0x34], 0
je 0x1800af36e
mov ecx, dword [rsp + 0x28]
mov eax, dword [rsp + 0x24]
sub eax, ecx
mov dword [rsp + 0x90], eax
jmp 0x1800af37f
mov ecx, dword [rsp + 0x24]
mov eax, dword [rsp + 0x28]
sub eax, ecx
mov dword [rsp + 0x90], eax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x90]
mov dword [rcx], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x18]
and eax, 0x200
test eax, eax
je 0x1800af3e2
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 0xc]
add edx, 0x80
shr edx, 8
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0xc]
sub ecx, edx
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], ecx
mov ecx, dword [rsp + 0x24]
call fcn.1800b0410
mov ecx, eax
mov rax, qword [rsp + 0x40]
add ecx, dword [rax + 0xc]
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], ecx
cmp dword [rsp + 0x34], 0
je 0x1800af3f8
mov eax, dword [rsp + 0x24]
not eax
mov dword [rsp + 0x94], eax
jmp 0x1800af403
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x94]
add rsp, 0xa0
pop rdi
ret