Function at 0x1800a2d00
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 0x1800a2d5f
mov eax, dword [rsp + 0xb0]
shl eax, 1
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0x24], 0
jmp 0x1800a2d74
mov eax, dword [rsp + 0x24]
add eax, 1
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x24], eax
jge 0x1800a395e
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x18]
and eax, 0x40000004
test eax, eax
jne 0x1800a2db9
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 0x1800a3139
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x3c], 0
jne 0x1800a3139
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x34], 0
jne 0x1800a3139
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x58], 2
jae 0x1800a3139
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x38], 0
je 0x1800a2e62
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 0x1800a2e5d
mov rax, qword [rsp + 0xa8]
mov dword [rax], 0
mov rax, qword [rsp + 0xa8]
add rax, 4
mov qword [rsp + 0xa8], rax
jmp 0x1800a2d69
jmp 0x1800a3139
mov dword [rsp + 0x44], 0
jmp 0x1800a2e77
mov eax, dword [rsp + 0x44]
add eax, 1
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x21
jge 0x1800a2f62
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 0
je 0x1800a2eb1
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 0x1800a2f19
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 0x1800a2edd
jmp 0x1800a2eea
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], send
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 0x1800a2f3c
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 0x1800a2f56
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 0x1800a2f62
jmp 0x1800a2e6c
cmp dword [rsp + 0x44], 0x21
jne 0x1800a2f6e
jmp 0x1800a395e
cmp dword [rsp + 0x44], 2
jge 0x1800a2f89
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rsp + 0x44]
mov dword [rcx + 0x38], eax
jmp 0x1800a30da
mov dword [rsp + 0x40], 1
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x38], 0
jmp 0x1800a2fac
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 0x1800a30be
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 0
je 0x1800a2ff1
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 0x1800a3059
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 0x1800a301d
jmp 0x1800a302a
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], send
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 0x1800a307c
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 0x1800a3096
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 0x1800a30b9
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 0x1800a2fa2
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 0x1800a3139
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 0x1800a2d69
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x3c], 0
je 0x1800a3163
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x3c], 0
mov dword [rsp + 0x28], 0
jmp 0x1800a3661
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 8
jge 0x1800a31fc
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 0x1800a31a9
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 0x1800a320d
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 0xff
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0xff
jne 0x1800a35b3
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 0x1800a3256
mov eax, dword [rsp + 0x28]
add eax, 1
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x11
jae 0x1800a3341
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 0
je 0x1800a3290
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 0x1800a32f8
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 0x1800a32bc
jmp 0x1800a32c9
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], send
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 0x1800a331b
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 0x1800a3335
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 0x1800a3341
jmp 0x1800a324b
cmp dword [rsp + 0x28], 0x11
jne 0x1800a334d
jmp 0x1800a395e
cmp dword [rsp + 0x28], 0x10
jne 0x1800a35b1
mov dword [rsp + 0x50], 0
jmp 0x1800a336d
mov eax, dword [rsp + 0x50]
add eax, 1
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x21
jge 0x1800a3458
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 0
je 0x1800a33a7
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 0x1800a340f
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 0x1800a33d3
jmp 0x1800a33e0
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], send
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 0x1800a3432
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 0x1800a344c
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 0x1800a3458
jmp 0x1800a3362
cmp dword [rsp + 0x50], 0x21
jne 0x1800a3464
jmp 0x1800a395e
cmp dword [rsp + 0x50], 2
jge 0x1800a3478
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
jmp 0x1800a35a6
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x28], 0
jmp 0x1800a3494
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 0x1800a3598
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 0
je 0x1800a34d9
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 0x1800a3541
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 0x1800a3505
jmp 0x1800a3512
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], send
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 0x1800a3564
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 0x1800a357e
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 0x1800a3593
mov ecx, dword [rsp + 0x4c]
mov eax, dword [rsp + 0x28]
or eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x1800a348a
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 0x1800a35fb
movsxd rcx, dword [rsp + 0x48]
lea rax, [0x1800cb3f0]
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 0x1800a362a
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 0x1800a3646
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 0x1800a36aa
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 0x1800a3816
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 0x1800a372e
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 0x1800a3816
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 0x1800a37b6
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 0x1800a3816
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.1800a39a0
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 0x1800a3865
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 0x1800a38cd
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 0x1800a3891
jmp 0x1800a389e
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], send
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 0x1800a38f3
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 0x1800a3910
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 0x1800a3929
mov eax, dword [rsp + 0x2c]
not eax
mov dword [rsp + 0x84], eax
jmp 0x1800a3934
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 0x1800a2d69
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x18]
and eax, 0x40000004
test eax, eax
je 0x1800a397f
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x88], eax
jmp 0x1800a398f
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