Function at 0x18001f310
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
sub rsp, 0x88
mov rsi, rcx
xor ebx, ebx
mov ecx, 0x20000
mov qword [rsp + 0x28], rbx
mov edi, r9d
call fcn.1801847b0
mov qword [rsp + 0x50], rax
mov r14, rax
test rax, rax
jne 0x18001f35b
add rsp, 0x88
pop r14
pop rdi
pop rsi
pop rbx
ret
mov eax, 5
mov qword [rsp + 0xc8], rbp
cmp edi, eax
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x78], r13
mov edx, 0xa
cmovge eax, edi
mov qword [rsp + 0x70], r15
xor ecx, ecx
mov dword [rsp + 0x48], eax
call fcn.1801847b8
mov r12d, 2
test rax, rax
je 0x18001f3aa
mov dword [rax + 4], ebx
lea rbx, [rax + 8]
mov qword [rsp + 0x28], rbx
mov dword [rbx - 8], r12d
movsxd rax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov byte [rax + rbx], 0x78
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov edi, dword [rcx]
inc eax
cmp eax, edi
jl 0x18001f3e8
lea edi, [rdi*2 + 1]
movsxd rdx, edi
add rdx, 8
call fcn.1801847b8
test rax, rax
je 0x18001f3e8
lea rbx, [rax + 8]
mov dword [rbx - 8], edi
mov qword [rsp + 0x28], rbx
movsxd rax, dword [rbx - 4]
mov edi, 3
xor edx, edx
mov dword [rsp + 0x30], edi
mov r8d, 0x20000
mov dword [rsp + 0x20], edi
mov rcx, r14
mov r13d, edi
mov byte [rax + rbx], 0x5e
inc dword [rbx - 4]
call fcn.18017baa0
mov r11d, dword [rsp + 0xb8]
xor r9d, r9d
mov r10d, r9d
mov dword [rsp + 0x34], r9d
lea eax, [r11 - 3]
test eax, eax
jle 0x18001fed0
jmp 0x18001f445
mov r14, qword [rsp + 0x50]
movsxd rax, r10d
mov r15, r9
movzx edx, byte [rax + rsi + 2]
lea rcx, [rax + rsi]
mov qword [rsp + 0x58], rax
movzx eax, byte [rcx + 1]
shl eax, 8
shl edx, 0x10
add edx, eax
mov qword [rsp + 0x60], rcx
movzx eax, byte [rcx]
add edx, eax
mov dword [rsp + 0x38], 3
mov qword [rsp + 0x40], r9
lea eax, [rdx*8]
xor edx, eax
mov eax, edx
shr eax, 5
add edx, eax
mov eax, edx
shl eax, 4
xor edx, eax
mov eax, edx
shr eax, 0x11
add edx, eax
mov eax, edx
shl eax, 0x19
xor edx, eax
mov ecx, edx
shr ecx, 6
add ecx, edx
and ecx, 0x3fff
lea r12, [r14 + rcx*8]
mov r14, qword [r14 + rcx*8]
mov qword [rsp + 0x68], r12
test r14, r14
je 0x18001f4c6
mov eax, dword [r14 - 4]
jmp 0x18001f4c9
mov eax, r9d
movsxd rbp, eax
mov rsi, r9
mov rcx, r14
test eax, eax
jle 0x18001f594
mov r12, qword [rsp + 0x58]
lea eax, [r10 - 0x8000]
mov r13d, dword [rsp + 0x38]
xor edi, edi
mov rbx, qword [rsp + 0xb0]
movsxd r15, eax
nop dword [rax + rax]
mov r9, qword [r14 + rsi*8]
mov rax, r9
sub rax, rbx
cmp rax, r15
jle 0x18001f570
mov eax, r11d
mov r8d, edi
sub eax, r10d
mov rdx, rdi
test eax, eax
jle 0x18001f55e
mov r11, r12
movsxd r10, eax
sub r11, r9
add r11, rbx
nop dword [rax + rax]
cmp rdx, 0x102
jae 0x18001f551
lea rcx, [rdx + r9]
movzx eax, byte [r11 + rcx]
cmp byte [rcx], al
jne 0x18001f551
inc r8d
inc rdx
cmp rdx, r10
jl 0x18001f530
mov r10d, dword [rsp + 0x34]
mov r11d, dword [rsp + 0xb8]
cmp r8d, r13d
jl 0x18001f570
mov dword [rsp + 0x38], r8d
mov r13d, r8d
mov qword [rsp + 0x40], r9
inc rsi
cmp rsi, rbp
jl 0x18001f500
mov r12, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x28]
mov edi, dword [rsp + 0x30]
mov r13d, dword [rsp + 0x20]
mov rcx, qword [r12]
mov r15, qword [rsp + 0x40]
test r14, r14
je 0x18001f5c6
movsxd rsi, dword [rsp + 0x48]
lea eax, [rsi + rsi]
cmp dword [r14 - 4], eax
jne 0x18001f5c6
lea r8, [rsi*8]
mov rcx, r14
lea rdx, [r14 + r8]
call fcn.18017b690
mov rax, qword [r12]
mov dword [rax - 4], esi
mov rcx, qword [r12]
test rcx, rcx
je 0x18001f5ea
mov eax, dword [rcx - 4]
inc eax
cmp eax, dword [rcx - 8]
jl 0x18001f622
test rcx, rcx
je 0x18001f5ea
mov eax, dword [rcx - 8]
add rcx, 0xfffffffffffffff8
lea esi, [rax*2 + 1]
jmp 0x18001f5f1
mov esi, 2
xor ecx, ecx
lea eax, [rsi*8]
movsxd rdx, eax
add rdx, 8
call fcn.1801847b8
test rax, rax
je 0x18001f622
cmp qword [r12], 0
jne 0x18001f617
mov dword [rax + 4], 0
add rax, 8
mov qword [r12], rax
mov dword [rax - 8], esi
mov rcx, qword [r12]
mov r8, qword [rsp + 0x60]
movsxd rax, dword [rcx - 4]
mov qword [rcx + rax*8], r8
mov rax, qword [r12]
inc dword [rax - 4]
test r15, r15
je 0x18001fd09
movzx edx, byte [r8 + 3]
xor r9d, r9d
movzx eax, byte [r8 + 2]
mov r14, qword [rsp + 0x50]
shl eax, 8
shl edx, 0x10
add edx, eax
movzx eax, byte [r8 + 1]
add edx, eax
lea eax, [rdx*8]
xor edx, eax
mov eax, edx
shr eax, 5
add edx, eax
mov eax, edx
shl eax, 4
xor edx, eax
mov eax, edx
shr eax, 0x11
add edx, eax
mov eax, edx
shl eax, 0x19
xor edx, eax
mov ecx, edx
shr ecx, 6
add ecx, edx
and ecx, 0x3fff
mov r14, qword [r14 + rcx*8]
test r14, r14
je 0x18001f6a5
mov eax, dword [r14 - 4]
jmp 0x18001f6a8
mov eax, r9d
movsxd rbp, eax
mov rsi, r9
test eax, eax
jle 0x18001f74a
mov ecx, dword [rsp + 0x34]
mov r12, qword [rsp + 0x58]
mov r11, qword [rsp + 0xb0]
lea eax, [rcx - 0x7fff]
movsxd r15, eax
mov r9, qword [r14 + rsi*8]
mov rax, r9
sub rax, r11
cmp rax, r15
jle 0x18001f73a
xor eax, eax
mov r8d, eax
mov edx, eax
mov eax, dword [rsp + 0xb8]
sub eax, ecx
dec eax
test eax, eax
jle 0x18001f72f
movsxd r10, eax
mov rax, r12
sub rax, r9
add r11, rax
cmp rdx, 0x102
jae 0x18001f723
lea rcx, [rdx + r9]
movzx eax, byte [r11 + rcx + 1]
cmp byte [rcx], al
jne 0x18001f723
inc r8d
inc rdx
cmp rdx, r10
jl 0x18001f701
mov ecx, dword [rsp + 0x34]
mov r11, qword [rsp + 0xb0]
cmp r8d, dword [rsp + 0x38]
jg 0x18001fd04
inc rsi
cmp rsi, rbp
jl 0x18001f6d0
mov r15, qword [rsp + 0x40]
xor r9d, r9d
mov r12, qword [rsp + 0xb0]
mov ecx, r9d
movzx eax, word [reloc.WS2_32.dll_connect]
sub r12d, r15d
add r12d, dword [rsp + 0x34]
dec eax
mov r15d, dword [rsp + 0x38]
mov r14, r9
mov dword [rsp + 0x40], r12d
cmp r15d, eax
jle 0x18001f795
lea rdx, [0x180000000]
nop
movzx eax, word [rdx + r14*2 + 0x22c064]
inc r14
dec eax
inc ecx
cmp r15d, eax
jg 0x18001f780
lea eax, [rcx + 0x101]
mov edx, r9d
cmp eax, 0x8f
jg 0x18001f854
add ecx, 0x131
mov r8d, 8
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x18001f7b5
mov ecx, r13d
mov qword [rsp + 0x28], rbx
shl edx, cl
add r13d, 8
or edi, edx
cmp r13d, 8
jl 0x18001fa75
mov ebp, r13d
lea r12d, [r8 + 2]
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
test rbx, rbx
je 0x18001f811
mov eax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x18001f83b
lea esi, [rsi*2 + 1]
jmp 0x18001f817
mov esi, r12d
mov rcx, r9
movsxd rdx, esi
add rdx, 8
call fcn.1801847b8
xor r9d, r9d
test rax, rax
je 0x18001f83b
test rbx, rbx
jne 0x18001f834
mov dword [rax + 4], r9d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x18001f7f4
jmp 0x18001fa6b
cmp eax, 0xff
jg 0x18001f910
add ecx, 0x201
mov r8d, 9
nop dword [rax + rax]
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x18001f870
mov ecx, r13d
mov qword [rsp + 0x28], rbx
shl edx, cl
add r13d, 9
or edi, edx
cmp r13d, 8
jl 0x18001fa75
mov ebp, r13d
lea r12d, [r8 + 2]
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
nop
test rbx, rbx
je 0x18001f8cd
mov eax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x18001f8f7
lea esi, [rsi*2 + 1]
jmp 0x18001f8d3
mov esi, r12d
mov rcx, r9
movsxd rdx, esi
add rdx, 8
call fcn.1801847b8
xor r9d, r9d
test rax, rax
je 0x18001f8f7
test rbx, rbx
jne 0x18001f8f0
mov dword [rax + 4], r9d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x18001f8b0
jmp 0x18001fa6b
cmp eax, 0x117
jg 0x18001f9c2
inc ecx
mov r8d, 7
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x18001f923
mov ecx, r13d
mov qword [rsp + 0x28], rbx
shl edx, cl
add r13d, 7
or edi, edx
cmp r13d, 8
jl 0x18001fa75
mov ebp, r13d
lea r12d, [r8 + 2]
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
test rbx, rbx
je 0x18001f97f
mov eax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x18001f9a9
lea esi, [rsi*2 + 1]
jmp 0x18001f985
mov esi, r12d
mov rcx, r9
movsxd rdx, esi
add rdx, 8
call fcn.1801847b8
xor r9d, r9d
test rax, rax
je 0x18001f9a9
test rbx, rbx
jne 0x18001f9a2
mov dword [rax + 4], r9d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x18001f962
jmp 0x18001fa6b
add ecx, 0xa9
mov r8d, 8
nop
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x18001f9d0
mov ecx, r13d
mov qword [rsp + 0x28], rbx
shl edx, cl
add r13d, 8
or edi, edx
cmp r13d, 8
jl 0x18001fa75
mov ebp, r13d
lea r12d, [r8 + 2]
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
nop dword [rax + rax]
test rbx, rbx
je 0x18001fa2d
mov eax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x18001fa57
lea esi, [rsi*2 + 1]
jmp 0x18001fa33
mov esi, r12d
mov rcx, r9
movsxd rdx, esi
add rdx, 8
call fcn.1801847b8
xor r9d, r9d
test rax, rax
je 0x18001fa57
test rbx, rbx
jne 0x18001fa50
mov dword [rax + 4], r9d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x18001fa10
mov r12d, dword [rsp + 0x40]
mov qword [rsp + 0x28], rbx
lea rdx, [0x180000000]
movzx r8d, byte [r14 + rdx + 0x22c0a0]
test r8b, r8b
je 0x18001fb3b
movzx eax, word [rdx + r14*2 + 0x22c060]
mov ecx, r13d
mov edx, r15d
mov qword [rsp + 0x28], rbx
sub edx, eax
add r13d, r8d
shl edx, cl
or edi, edx
cmp r13d, 8
jl 0x18001fb34
mov ebp, r13d
mov r12d, 2
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
jmp 0x18001fad3
xor r9d, r9d
test rbx, rbx
je 0x18001faf0
mov eax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x18001fb16
lea esi, [rsi*2 + 1]
jmp 0x18001faf6
mov esi, r12d
mov rcx, r9
movsxd rdx, esi
add rdx, 8
call fcn.1801847b8
test rax, rax
je 0x18001fb16
test rbx, rbx
jne 0x18001fb0f
mov dword [rax + 4], ebx
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x18001fad0
mov r12d, dword [rsp + 0x40]
mov qword [rsp + 0x28], rbx
lea rdx, [0x180000000]
movzx eax, word [reloc.WS2_32.dll_bind]
xor r9d, r9d
dec eax
mov ecx, r9d
mov r14d, r9d
cmp r12d, eax
jle 0x18001fb75
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rdx + r14*2 + 0x22c0c4]
inc r14
dec eax
inc ecx
cmp r12d, eax
jg 0x18001fb60
mov edx, r9d
mov r8d, 5
nop
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x18001fb80
mov ecx, r13d
add r13d, 5
shl edx, cl
or edi, edx
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x30], edi
cmp r13d, 8
jl 0x18001fc31
mov ebp, r13d
lea r12d, [r8 + 2]
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
mov dword [rsp + 0x20], r13d
test rbx, rbx
je 0x18001fbe5
mov eax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x18001fc0f
lea esi, [rsi*2 + 1]
jmp 0x18001fbeb
mov esi, r12d
mov rcx, r9
movsxd rdx, esi
add rdx, 8
call fcn.1801847b8
xor r9d, r9d
test rax, rax
je 0x18001fc0f
test rbx, rbx
jne 0x18001fc08
mov dword [rax + 4], r9d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x18001fbc8
mov r12d, dword [rsp + 0x40]
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rbx
lea rax, [0x180000000]
movzx edx, byte [r14 + rax + 0x22c100]
test dl, dl
je 0x18001fe9c
movzx eax, word [rax + r14*2 + 0x22c0c0]
mov ecx, r13d
sub r12d, eax
mov qword [rsp + 0x28], rbx
shl r12d, cl
add r13d, edx
or edi, r12d
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x30], edi
cmp r13d, 8
jl 0x18001fe9c
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
mov dword [rsp + 0x20], r13d
mov r13d, 2
test rbx, rbx
je 0x18001fcb1
mov eax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x18001fcd7
lea esi, [rsi*2 + 1]
jmp 0x18001fcb7
mov esi, r13d
mov rcx, r9
movsxd rdx, esi
add rdx, 8
call fcn.1801847b8
test rax, rax
je 0x18001fcd7
test rbx, rbx
jne 0x18001fcd0
mov dword [rax + 4], ebx
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov r9d, 0
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x18001fc94
mov r13d, dword [rsp + 0x20]
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rbx
jmp 0x18001fe9c
mov r8, qword [rsp + 0x60]
movzx ecx, byte [r8]
cmp cl, 0x8f
ja 0x18001fdcd
add ecx, 0x30
xor r14d, r14d
mov edx, r14d
lea r8d, [r14 + 8]
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x18001fd23
mov ecx, r13d
mov qword [rsp + 0x28], rbx
shl edx, cl
add r13d, 8
or edi, edx
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x30], edi
cmp r13d, 8
jl 0x18001fe96
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
mov dword [rsp + 0x20], r13d
lea r13d, [r8 + 2]
test rbx, rbx
je 0x18001fd8d
mov eax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x18001fdb4
lea esi, [rsi*2 + 1]
jmp 0x18001fd93
mov esi, r13d
mov rcx, r14
movsxd rdx, esi
add rdx, 8
call fcn.1801847b8
test rax, rax
je 0x18001fdb4
test rbx, rbx
jne 0x18001fdad
mov dword [rax + 4], r14d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x18001fd70
jmp 0x18001fe88
add ecx, 0x100
xor r14d, r14d
mov edx, r14d
lea r8d, [r14 + 9]
nop dword [rax]
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x18001fde0
mov ecx, r13d
mov qword [rsp + 0x28], rbx
shl edx, cl
add r13d, 9
or edi, edx
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x30], edi
cmp r13d, 8
jl 0x18001fe96
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
mov dword [rsp + 0x20], r13d
lea r13d, [r8 + 2]
nop dword [rax]
test rbx, rbx
je 0x18001fe4d
mov eax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x18001fe74
lea esi, [rsi*2 + 1]
jmp 0x18001fe53
mov esi, r13d
mov rcx, r14
movsxd rdx, esi
add rdx, 8
call fcn.1801847b8
test rax, rax
je 0x18001fe74
test rbx, rbx
jne 0x18001fe6d
mov dword [rax + 4], r14d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x18001fe30
mov r13d, dword [rsp + 0x20]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x30], edi
mov r15d, 1
mov r10d, dword [rsp + 0x34]
mov r9d, 0
mov r11d, dword [rsp + 0xb8]
add r10d, r15d
mov rsi, qword [rsp + 0xb0]
mov dword [rsp + 0x34], r10d
lea eax, [r11 - 3]
cmp r10d, eax
jl 0x18001f440
lea r12d, [r9 + 2]
movsxd r14, r10d
movsxd r15, r11d
cmp r14, r15
jge 0x180020043
nop
movzx ecx, byte [r14 + rsi]
mov edx, r9d
cmp cl, 0x8f
ja 0x18001ff96
add ecx, 0x30
mov r8d, 8
nop word [rax + rax]
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x18001ff00
mov ecx, r13d
add r13d, 8
shl edx, cl
or edi, edx
cmp r13d, 8
jl 0x180020037
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
test rbx, rbx
je 0x18001ff53
mov eax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x18001ff7d
lea esi, [rsi*2 + 1]
jmp 0x18001ff59
mov esi, r12d
mov rcx, r9
movsxd rdx, esi
add rdx, 8
call fcn.1801847b8
xor r9d, r9d
test rax, rax
je 0x18001ff7d
test rbx, rbx
jne 0x18001ff76
mov dword [rax + 4], r9d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x18001ff36
jmp 0x18002002f
add ecx, 0x100
mov r8d, 9
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x18001ffa2
mov ecx, r13d
add r13d, 9
shl edx, cl
or edi, edx
cmp r13d, 8
jl 0x180020037
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
test rbx, rbx
je 0x18001fff1
mov eax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x18002001b
lea esi, [rsi*2 + 1]
jmp 0x18001fff7
mov esi, r12d
mov rcx, r9
movsxd rdx, esi
add rdx, 8
call fcn.1801847b8
xor r9d, r9d
test rax, rax
je 0x18002001b
test rbx, rbx
jne 0x180020014
mov dword [rax + 4], r9d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x18001ffd4
mov rsi, qword [rsp + 0xb0]
inc r14
cmp r14, r15
jl 0x18001fee0
mov ecx, r9d
mov edx, r9d
mov r8d, 7
nop
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x180020050
mov ecx, r13d
add r13d, 7
shl edx, cl
or edi, edx
cmp r13d, 8
jl 0x1800200dd
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
test rbx, rbx
je 0x18002009f
mov eax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x1800200c9
lea esi, [rsi*2 + 1]
jmp 0x1800200a5
mov esi, r12d
mov rcx, r9
movsxd rdx, esi
add rdx, 8
call fcn.1801847b8
xor r9d, r9d
test rax, rax
je 0x1800200c9
test rbx, rbx
jne 0x1800200c2
mov dword [rax + 4], r9d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x180020082
test r13d, r13d
je 0x180020161
jmp 0x1800200e7
xor r9d, r9d
inc r13d
cmp r13d, 8
jl 0x18002015c
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
jmp 0x180020105
xor r9d, r9d
test rbx, rbx
je 0x180020122
mov eax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x180020148
lea esi, [rsi*2 + 1]
jmp 0x180020128
mov esi, r12d
mov rcx, r9
movsxd rdx, esi
add rdx, 8
call fcn.1801847b8
test rax, rax
je 0x180020148
test rbx, rbx
jne 0x180020141
mov dword [rax + 4], ebx
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x180020102
test r13d, r13d
jne 0x1800200e4
mov r14, qword [rsp + 0x50]
mov esi, 0x4000
mov r13, qword [rsp + 0x78]
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x180020184
add rcx, 0xfffffffffffffff8
call fcn.180180634
add rdi, 8
sub rsi, 1
jne 0x180020173
mov rcx, r14
call fcn.180180634
xor ebp, ebp
lea r14d, [rsi + 1]
mov edi, ebp
test r15, r15
jle 0x180020236
mov ecx, dword [rsp + 0xb8]
mov eax, 0x5e6ea9af
mov r10, qword [rsp + 0xb0]
mov r9d, ebp
imul ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x15b0
sub ecx, eax
movsxd r8, ecx
mov rcx, rbp
test r8, r8
jle 0x180020202
lea rdx, [r9 + r10]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
add r14d, eax
add edi, r14d
cmp rcx, r8
jl 0x1800201f0
mov eax, 0x80078071
add r9, r8
mul r14d
mov r8d, 0x15b0
shr edx, 0xf
imul eax, edx, 0xffff000f
add r14d, eax
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul eax, edx, 0xffff000f
add edi, eax
cmp r9, r15
jl 0x1800201d5
mov r15, qword [rsp + 0x70]
test rbx, rbx
je 0x180020259
mov eax, dword [rbx - 4]
lea rsi, [rbx - 8]
mov ecx, dword [rsi]
inc eax
cmp eax, ecx
jl 0x18002028e
lea r12d, [rcx*2 + 1]
jmp 0x180020260
mov rsi, 0xfffffffffffffff8
movsxd rdx, r12d
mov rcx, rsi
add rdx, 8
test rbx, rbx
cmove rcx, rbp
call fcn.1801847b8
test rax, rax
je 0x18002028e
test rbx, rbx
jne 0x180020283
mov dword [rax + 4], ebp
lea rbx, [rax + 8]
lea rsi, [rbx - 8]
mov dword [rsi], r12d
movsxd rax, dword [rbx - 4]
mov ecx, edi
mov r12, qword [rsp + 0x80]
shr ecx, 8
mov byte [rax + rbx], cl
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov ebp, dword [rsi]
inc eax
cmp eax, ebp
jl 0x1800202d5
lea ebp, [rbp*2 + 1]
mov rcx, rsi
movsxd rdx, ebp
add rdx, 8
call fcn.1801847b8
test rax, rax
je 0x1800202d5
lea rbx, [rax + 8]
lea rsi, [rbx - 8]
mov dword [rsi], ebp
movsxd rax, dword [rbx - 4]
mov rbp, qword [rsp + 0xc8]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov edi, dword [rsi]
inc eax
cmp eax, edi
jl 0x180020318
lea edi, [rdi*2 + 1]
mov rcx, rsi
movsxd rdx, edi
add rdx, 8
call fcn.1801847b8
test rax, rax
je 0x180020318
lea rbx, [rax + 8]
lea rsi, [rbx - 8]
mov dword [rsi], edi
movsxd rax, dword [rbx - 4]
mov ecx, r14d
shr ecx, 8
mov byte [rax + rbx], cl
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov edi, dword [rsi]
inc eax
cmp eax, edi
jl 0x180020358
lea edi, [rdi*2 + 1]
mov rcx, rsi
movsxd rdx, edi
add rdx, 8
call fcn.1801847b8
test rax, rax
je 0x180020358
lea rbx, [rax + 8]
lea rsi, [rbx - 8]
mov dword [rsi], edi
movsxd rcx, dword [rbx - 4]
mov rdx, rbx
mov rax, qword [rsp + 0xc0]
mov byte [rcx + rbx], r14b
inc dword [rbx - 4]
movsxd rcx, dword [rbx - 4]
mov dword [rax], ecx
mov r8, rcx
mov rcx, rsi
call fcn.18017b690
mov rax, rsi
add rsp, 0x88
pop r14
pop rdi
pop rsi
pop rbx
ret