Function at 0x1800a1ab0
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 0x1800a1afd
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 0x1800a1f76
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x3c], 0
jne 0x1800a1f76
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x34], 0
jne 0x1800a1f76
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x58]
and eax, 0xfffffffe
test eax, eax
jne 0x1800a1f76
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x38], 0
je 0x1800a1bb1
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 0x1800a1bac
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 0x1800a2cea
jmp 0x1800a1f76
mov dword [rsp + 0x4c], 0
jmp 0x1800a1bc6
mov eax, dword [rsp + 0x4c]
add eax, 1
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0x21
jge 0x1800a1d24
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0xf4], 0
je 0x1800a1c1b
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 0x1800a1cc3
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 0x1800a1c5f
jmp 0x1800a1c7c
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 + send4], 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 0x1800a1cf2
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 0x1800a1d18
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 0x1800a1d24
jmp 0x1800a1bbb
cmp dword [rsp + 0x4c], 0x21
jne 0x1800a1d35
mov eax, 0x80000000
jmp 0x1800a2cea
cmp dword [rsp + 0x4c], 2
jge 0x1800a1d50
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0x4c]
mov dword [rcx + 0x38], eax
jmp 0x1800a1f14
mov dword [rsp + 0x48], 1
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x38], 0
jmp 0x1800a1d73
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 0x1800a1ef8
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0xf4], 0
je 0x1800a1dd3
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 0x1800a1e7b
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 0x1800a1e17
jmp 0x1800a1e34
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 + send4], 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 0x1800a1eaa
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 0x1800a1ed0
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 0x1800a1ef3
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 0x1800a1d69
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 0x1800a1f76
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 0x1800a2cea
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x3c], 0
je 0x1800a1fa0
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x3c], 0
mov dword [rsp + 0x30], 0
jmp 0x1800a268f
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0xf4], 8
jge 0x1800a2091
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 0x1800a2014
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 0x1800a20a8
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xf8]
and eax, 0xff
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xff
jne 0x1800a25c9
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 0x1800a2109
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x11
jae 0x1800a2267
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0xf4], 0
je 0x1800a215e
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 0x1800a2206
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 0x1800a21a2
jmp 0x1800a21bf
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 + send4], 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 0x1800a2235
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 0x1800a225b
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 0x1800a2267
jmp 0x1800a20fe
cmp dword [rsp + 0x30], 0x11
jne 0x1800a2278
mov eax, 0x80000000
jmp 0x1800a2cea
cmp dword [rsp + 0x30], 0x10
jne 0x1800a25c7
mov dword [rsp + 0x54], 0
jmp 0x1800a2298
mov eax, dword [rsp + 0x54]
add eax, 1
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x21
jge 0x1800a23f6
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0xf4], 0
je 0x1800a22ed
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 0x1800a2395
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 0x1800a2331
jmp 0x1800a234e
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 + send4], 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 0x1800a23c4
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 0x1800a23ea
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 0x1800a23f6
jmp 0x1800a228d
cmp dword [rsp + 0x54], 0x21
jne 0x1800a2407
mov eax, 0x80000000
jmp 0x1800a2cea
cmp dword [rsp + 0x54], 2
jge 0x1800a241b
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x30], eax
jmp 0x1800a25bc
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x30], 0
jmp 0x1800a2437
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 0x1800a25ae
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0xf4], 0
je 0x1800a2497
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 0x1800a253f
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 0x1800a24db
jmp 0x1800a24f8
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 + send4], 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 0x1800a256e
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 0x1800a2594
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 0x1800a25a9
mov ecx, dword [rsp + 0x50]
mov eax, dword [rsp + 0x30]
or eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x1800a242d
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 0x1800a2629
movsxd rcx, dword [rsp + 0x20]
lea rax, [0x1800cb3f0]
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 0x1800a2658
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 0x1800a2674
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 0x1800a26b8
cmp dword [rsp + 0xb8], 0
jne 0x1800a26b8
mov rcx, qword [rsp + 0xb0]
call fcn.1800a1850
cmp dword [rsp + 0x30], 0
jne 0x1800a2701
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 0x1800a286d
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 0x1800a2785
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 0x1800a286d
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 0x1800a280d
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 0x1800a286d
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 0x1800a28cf
mov eax, dword [rsp + 0x38]
mov edx, dword [rsp + 0x2c]
sub edx, eax
mov rcx, qword [rsp + 0xb0]
add rcx, 0xd0
call fcn.1800a39a0
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x24], eax
jmp 0x1800a2a85
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov rax, qword [rsp + 0x40]
cmp ecx, dword [rax + 0x10]
jbe 0x1800a2a85
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0xf4], 0
je 0x1800a2934
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 0x1800a29df
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 0x1800a2978
jmp 0x1800a2995
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 + send4], 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 0x1800a2a14
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 0x1800a2a3d
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 0x1800a2a63
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 0x1800a2a80
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 0x1800a28cf
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0xf4], 0
je 0x1800a2ad2
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 0x1800a2b7d
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 0x1800a2b16
jmp 0x1800a2b33
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 + send4], 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 0x1800a2bb2
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 0x1800a2bdb
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 0x1800a2c70
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x10], 0
je 0x1800a2c70
mov eax, dword [rsp + 0x38]
mov edx, dword [rsp + 0x2c]
sub edx, eax
mov rcx, qword [rsp + 0xb0]
add rcx, 0x100
call fcn.1800a39a0
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
cmp qword [rsp + 0xc0], 0
je 0x1800a2c70
cmp dword [rsp + 0x34], 0
je 0x1800a2c4e
mov ecx, dword [rsp + 0x28]
mov eax, dword [rsp + 0x24]
sub eax, ecx
mov dword [rsp + 0x90], eax
jmp 0x1800a2c5f
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 0x1800a2cc2
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.1800a3cf0
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 0x1800a2cd8
mov eax, dword [rsp + 0x24]
not eax
mov dword [rsp + 0x94], eax
jmp 0x1800a2ce3
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x94]
add rsp, 0xa0
pop rdi
ret