Function at 0x14003def0
Capabilities:
Compute adler32 checksum

Disassembly:
push rbx
push rbp
push rsi
push r15
sub rsp, 0x88
mov r15, rcx
mov qword [rsp + 0x30], rcx
xor ebp, ebp
mov qword [rsp + 0x68], r8
mov ecx, 0x20000
mov dword [rsp + 0x38], edx
mov ebx, ebp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x48], rax
mov rsi, rax
test rax, rax
jne 0x14003df37
add rsp, 0x88
pop r15
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0xc8], rdi
mov edx, 0xa
mov qword [rsp + 0x80], r12
xor ecx, ecx
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x70], r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003df6e
mov qword [rax], 2
lea rbx, [rax + 8]
movsxd rax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov r8, 0xffffffffffffffff
mov byte [rax + rbx], 0x78
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov edx, dword [rcx]
inc eax
cmp eax, edx
jl 0x14003dfbb
lea eax, [rdx + rdx]
movsxd rdx, eax
lea edi, [rax + 1]
inc rdx
add rdx, 8
cmovb rdx, r8
test rbx, rbx
cmove rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003dfbb
lea rbx, [rax + 8]
mov dword [rax], edi
movsxd rax, dword [rbx - 4]
mov edi, 3
xor edx, edx
mov dword [rsp + 0x20], edi
mov r8d, 0x20000
mov rcx, rsi
mov r13d, edi
mov byte [rax + rbx], 0x5e
inc dword [rbx - 4]
call sub.VCRUNTIME140.dll_memset
mov r11d, dword [rsp + 0x38]
mov r9d, ebp
mov dword [rsp + 0x28], ebp
lea eax, [r11 - 3]
test eax, eax
jle 0x14003ea9b
lea r8, [rdi - 7]
jmp 0x14003e005
mov rsi, qword [rsp + 0x48]
movsxd rax, r9d
movzx ecx, byte [rax + r15 + 2]
lea rdx, [rax + r15]
mov qword [rsp + 0x50], rax
mov r15, rbp
movzx eax, byte [rdx + 1]
shl eax, 8
shl ecx, 0x10
add ecx, eax
mov qword [rsp + 0x58], rdx
movzx eax, byte [rdx]
add ecx, eax
mov dword [rsp + 0x24], 3
mov qword [rsp + 0x40], rbp
lea eax, [rcx*8]
xor ecx, eax
mov eax, ecx
shr eax, 5
add ecx, eax
mov eax, ecx
shl eax, 4
xor ecx, eax
mov eax, ecx
shr eax, 0x11
add ecx, eax
mov eax, ecx
shl eax, 0x19
xor ecx, eax
mov eax, ecx
shr eax, 6
add eax, ecx
and eax, 0x3fff
mov r14, qword [rsi + rax*8]
lea r12, [rsi + rax*8]
mov qword [rsp + 0x60], r12
test r14, r14
je 0x14003e086
mov eax, dword [r14 - 4]
jmp 0x14003e088
mov eax, ebp
test r14, r14
mov rsi, rbp
movsxd rbp, eax
lea rax, [r14 - 4]
cmove rax, r8
test rbp, rbp
jle 0x14003e14c
mov r12, qword [rsp + 0x50]
lea eax, [r9 - 0x8000]
mov rcx, qword [rsp + 0x30]
xor r13d, r13d
movsxd r15, eax
nop dword [rax]
mov r10, qword [r14 + rsi*8]
mov rax, r10
sub rax, rcx
cmp rax, r15
jle 0x14003e131
mov eax, r11d
mov r8d, r13d
sub eax, r9d
mov rdx, r13
test eax, eax
jle 0x14003e120
mov r9, r12
movsxd r11, eax
sub r9, r10
add r9, rcx
nop dword [rax + rax]
cmp rdx, 0x102
jge 0x14003e111
lea rcx, [rdx + r10]
movzx eax, byte [r9 + rcx]
cmp byte [rcx], al
jne 0x14003e111
inc r8d
inc rdx
cmp rdx, r11
jl 0x14003e0f0
mov r9d, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov r11d, dword [rsp + 0x38]
cmp r8d, dword [rsp + 0x24]
jl 0x14003e131
mov dword [rsp + 0x24], r8d
mov qword [rsp + 0x40], r10
inc rsi
cmp rsi, rbp
jl 0x14003e0c0
mov r12, qword [rsp + 0x60]
lea rax, [r14 - 4]
mov r13d, dword [rsp + 0x20]
mov r15, qword [rsp + 0x40]
test r14, r14
je 0x14003e173
cmp dword [rax], 0x10
jne 0x14003e173
lea rdx, [r14 + 0x40]
mov r8d, 0x40
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r12]
mov dword [rax - 4], 8
mov r9, qword [r12]
lea r8, [r9 - 8]
test r9, r9
je 0x14003e197
mov eax, dword [r9 - 4]
inc eax
cmp eax, dword [r8]
jl 0x14003e1e3
mov eax, dword [r8]
lea ebp, [rax*2 + 1]
jmp 0x14003e19c
mov ebp, 2
lea eax, [rbp*8]
mov rsi, r12
movsxd rdx, eax
mov rax, 0xffffffffffffffff
add rdx, 8
cmovb rdx, rax
xor r14d, r14d
test r9, r9
mov ecx, r14d
cmovne rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003e1e3
cmp qword [r12], r14
jne 0x14003e1da
mov dword [rax + 4], r14d
lea rcx, [rax + 8]
mov qword [rsi], rcx
mov dword [rax], ebp
mov rcx, qword [r12]
mov rdx, qword [rsp + 0x58]
movsxd rax, dword [rcx - 4]
mov qword [rcx + rax*8], rdx
mov rax, qword [r12]
inc dword [rax - 4]
test r15, r15
je 0x14003e8de
movzx eax, byte [rdx + 2]
xor r10d, r10d
movzx ecx, byte [rdx + 3]
mov r14, qword [rsp + 0x48]
shl eax, 8
shl ecx, 0x10
add ecx, eax
movzx eax, byte [rdx + 1]
add ecx, eax
lea eax, [rcx*8]
xor ecx, eax
mov eax, ecx
shr eax, 5
add ecx, eax
mov eax, ecx
shl eax, 4
xor ecx, eax
mov eax, ecx
shr eax, 0x11
add ecx, eax
mov eax, ecx
shl eax, 0x19
xor ecx, eax
mov eax, ecx
shr eax, 6
add eax, ecx
and eax, 0x3fff
mov r14, qword [r14 + rax*8]
test r14, r14
je 0x14003e262
mov eax, dword [r14 - 4]
jmp 0x14003e265
mov eax, r10d
movsxd rbp, eax
mov rsi, r10
test eax, eax
jle 0x14003e306
mov ecx, dword [rsp + 0x28]
mov r12, qword [rsp + 0x50]
mov r11, qword [rsp + 0x30]
lea eax, [rcx - 0x7fff]
movsxd r15, eax
nop word [rax + rax]
mov r9, qword [r14 + rsi*8]
mov rax, r9
sub rax, r11
cmp rax, r15
jle 0x14003e2f9
mov eax, dword [rsp + 0x38]
mov r8d, r10d
sub eax, ecx
mov rdx, r10
dec eax
test eax, eax
jle 0x14003e2ee
movsxd r10, eax
mov rax, r12
sub rax, r9
add r11, rax
nop dword [rax]
cmp rdx, 0x102
jge 0x14003e2e2
lea rcx, [rdx + r9]
movzx eax, byte [r11 + rcx + 1]
cmp byte [rcx], al
jne 0x14003e2e2
inc r8d
inc rdx
cmp rdx, r10
jl 0x14003e2c0
mov ecx, dword [rsp + 0x28]
xor r10d, r10d
mov r11, qword [rsp + 0x30]
cmp r8d, dword [rsp + 0x24]
jg 0x14003e8d9
inc rsi
cmp rsi, rbp
jl 0x14003e290
mov r15, qword [rsp + 0x40]
mov r12d, dword [rsp + 0x30]
mov ecx, r10d
sub r12d, r15d
mov r14, r10
add r12d, dword [rsp + 0x28]
mov r15d, dword [rsp + 0x24]
cmp r15d, 3
jle 0x14003e345
lea rdx, [0x140000000]
nop dword [rax + rax]
movzx eax, word [rdx + r14*2 + 0x702f4]
inc r14
dec eax
inc ecx
cmp r15d, eax
jg 0x14003e330
lea eax, [rcx + 0x101]
mov edx, r10d
cmp eax, 0x8f
jg 0x14003e40c
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 0x14003e365
mov ecx, r13d
add r13d, 8
shl edx, cl
or edi, edx
cmp r13d, 8
jl 0x14003e64a
mov ebp, r13d
mov r15, 0xffffffffffffffff
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
lea rcx, [rbx - 8]
test rbx, rbx
je 0x14003e3bf
mov eax, dword [rbx - 4]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x14003e3f3
lea esi, [rsi*2 + 1]
jmp 0x14003e3c4
mov esi, 2
movsxd rdx, esi
add rdx, 8
cmovb rdx, r15
test rbx, rbx
cmove rcx, r10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
xor r10d, r10d
test rax, rax
je 0x14003e3f3
test rbx, rbx
jne 0x14003e3ed
mov dword [rax + 4], r10d
lea rbx, [rax + 8]
mov dword [rax], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x14003e3a2
jmp 0x14003e645
cmp eax, 0xff
jg 0x14003e4ca
add ecx, 0x201
mov r8d, 9
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x14003e423
mov ecx, r13d
add r13d, 9
shl edx, cl
or edi, edx
cmp r13d, 8
jl 0x14003e64a
mov ebp, r13d
mov r15, 0xffffffffffffffff
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
lea rcx, [rbx - 8]
test rbx, rbx
je 0x14003e47d
mov eax, dword [rbx - 4]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x14003e4b1
lea esi, [rsi*2 + 1]
jmp 0x14003e482
mov esi, 2
movsxd rdx, esi
add rdx, 8
cmovb rdx, r15
test rbx, rbx
cmove rcx, r10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
xor r10d, r10d
test rax, rax
je 0x14003e4b1
test rbx, rbx
jne 0x14003e4ab
mov dword [rax + 4], r10d
lea rbx, [rax + 8]
mov dword [rax], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x14003e460
jmp 0x14003e645
cmp eax, 0x117
jg 0x14003e58a
inc ecx
mov r8d, 7
nop dword [rax]
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x14003e4e0
mov ecx, r13d
add r13d, 7
shl edx, cl
or edi, edx
cmp r13d, 8
jl 0x14003e64a
mov ebp, r13d
mov r15, 0xffffffffffffffff
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
nop dword [rax]
lea rcx, [rbx - 8]
test rbx, rbx
je 0x14003e53d
mov eax, dword [rbx - 4]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x14003e571
lea esi, [rsi*2 + 1]
jmp 0x14003e542
mov esi, 2
movsxd rdx, esi
add rdx, 8
cmovb rdx, r15
test rbx, rbx
cmove rcx, r10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
xor r10d, r10d
test rax, rax
je 0x14003e571
test rbx, rbx
jne 0x14003e56b
mov dword [rax + 4], r10d
lea rbx, [rax + 8]
mov dword [rax], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x14003e520
jmp 0x14003e645
add ecx, 0xa9
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 0x14003e5a0
mov ecx, r13d
add r13d, 8
shl edx, cl
or edi, edx
cmp r13d, 8
jl 0x14003e64a
mov ebp, r13d
mov r15, 0xffffffffffffffff
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
nop dword [rax]
lea rcx, [rbx - 8]
test rbx, rbx
je 0x14003e5fd
mov eax, dword [rbx - 4]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x14003e631
lea esi, [rsi*2 + 1]
jmp 0x14003e602
mov esi, 2
movsxd rdx, esi
add rdx, 8
cmovb rdx, r15
test rbx, rbx
cmove rcx, r10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
xor r10d, r10d
test rax, rax
je 0x14003e631
test rbx, rbx
jne 0x14003e62b
mov dword [rax + 4], r10d
lea rbx, [rax + 8]
mov dword [rax], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x14003e5e0
mov r15d, dword [rsp + 0x24]
lea rax, [0x140000000]
movzx r8d, byte [r14 + rax + 0x70790]
test r8b, r8b
je 0x14003e70d
movzx eax, word [rax + r14*2 + 0x702f0]
mov ecx, r13d
mov edx, r15d
add r13d, r8d
sub edx, eax
shl edx, cl
or edi, edx
cmp r13d, 8
jl 0x14003e70d
mov ebp, r13d
mov r15, 0xffffffffffffffff
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
jmp 0x14003e6a3
xor r10d, r10d
lea rcx, [rbx - 8]
test rbx, rbx
je 0x14003e6c0
mov eax, dword [rbx - 4]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x14003e6f4
lea esi, [rsi*2 + 1]
jmp 0x14003e6c5
mov esi, 2
movsxd rdx, esi
add rdx, 8
cmovb rdx, r15
test rbx, rbx
cmove rcx, r10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003e6f4
test rbx, rbx
jne 0x14003e6ee
xor r14d, r14d
mov dword [rax + 4], r14d
lea rbx, [rax + 8]
mov dword [rax], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x14003e6a0
mov r15d, dword [rsp + 0x24]
xor edx, edx
mov ecx, edx
mov r14d, edx
cmp r12d, 1
jle 0x14003e747
lea rdx, [0x140000000]
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rdx + r14*2 + 0x70734]
inc r14
dec eax
inc ecx
cmp r12d, eax
jg 0x14003e730
xor edx, edx
mov r8d, 5
nop dword [rax]
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x14003e750
mov ecx, r13d
add r13d, 5
shl edx, cl
or edi, edx
mov dword [rsp + 0x20], r13d
cmp r13d, 8
jl 0x14003e803
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
xor r15d, r15d
lea r13d, [r13 + rax*8]
mov dword [rsp + 0x20], r13d
lea r13, [r15 - 1]
lea rcx, [rbx - 8]
test rbx, rbx
je 0x14003e7b4
mov eax, dword [rbx - 4]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x14003e7e5
lea esi, [rsi*2 + 1]
jmp 0x14003e7b9
mov esi, 2
movsxd rdx, esi
add rdx, 8
cmovb rdx, r13
test rbx, rbx
cmove rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003e7e5
test rbx, rbx
jne 0x14003e7df
mov dword [rax + 4], r15d
lea rbx, [rax + 8]
mov dword [rax], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x14003e797
mov r13d, dword [rsp + 0x20]
mov r15d, dword [rsp + 0x24]
lea rax, [0x140000000]
movzx edx, byte [r14 + rax + 0x70770]
test dl, dl
je 0x14003e8cc
movzx eax, word [rax + r14*2 + 0x70730]
mov ecx, r13d
sub r12d, eax
add r13d, edx
shl r12d, cl
or edi, r12d
mov dword [rsp + 0x20], r13d
cmp r13d, 8
jl 0x14003e8cc
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
xor r15d, r15d
lea r13d, [r13 + rax*8]
mov dword [rsp + 0x20], r13d
lea r13, [r15 - 1]
nop
lea rcx, [rbx - 8]
test rbx, rbx
je 0x14003e87d
mov eax, dword [rbx - 4]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x14003e8ae
lea esi, [rsi*2 + 1]
jmp 0x14003e882
mov esi, 2
movsxd rdx, esi
add rdx, 8
cmovb rdx, r13
test rbx, rbx
cmove rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003e8ae
test rbx, rbx
jne 0x14003e8a8
mov dword [rax + 4], r15d
lea rbx, [rax + 8]
mov dword [rax], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x14003e860
mov r13d, dword [rsp + 0x20]
mov r15d, dword [rsp + 0x24]
mov r9d, dword [rsp + 0x28]
add r9d, r15d
jmp 0x14003ea76
mov rdx, qword [rsp + 0x58]
movzx ecx, byte [rdx]
cmp cl, 0x8f
ja 0x14003e9ae
add ecx, 0x30
xor r14d, r14d
mov edx, r14d
lea r8d, [r14 + 8]
nop word [rax + rax]
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x14003e900
mov ecx, r13d
add r13d, 8
shl edx, cl
or edi, edx
mov dword [rsp + 0x20], r13d
cmp r13d, 8
jl 0x14003ea6e
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
mov dword [rsp + 0x20], r13d
mov r13, 0xffffffffffffffff
lea rcx, [rbx - 8]
test rbx, rbx
je 0x14003e964
mov eax, dword [rbx - 4]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x14003e995
lea esi, [rsi*2 + 1]
jmp 0x14003e969
mov esi, 2
movsxd rdx, esi
add rdx, 8
cmovb rdx, r13
test rbx, rbx
cmove rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003e995
test rbx, rbx
jne 0x14003e98f
mov dword [rax + 4], r14d
lea rbx, [rax + 8]
mov dword [rax], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x14003e947
jmp 0x14003ea69
add ecx, 0x100
xor r14d, r14d
mov edx, r14d
lea r8d, [r14 + 9]
nop
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x14003e9c0
mov ecx, r13d
add r13d, 9
shl edx, cl
or edi, edx
mov dword [rsp + 0x20], r13d
cmp r13d, 8
jl 0x14003ea6e
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
mov dword [rsp + 0x20], r13d
mov r13, 0xffffffffffffffff
lea rcx, [rbx - 8]
test rbx, rbx
je 0x14003ea24
mov eax, dword [rbx - 4]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x14003ea55
lea esi, [rsi*2 + 1]
jmp 0x14003ea29
mov esi, 2
movsxd rdx, esi
add rdx, 8
cmovb rdx, r13
test rbx, rbx
cmove rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003ea55
test rbx, rbx
jne 0x14003ea4f
mov dword [rax + 4], r14d
lea rbx, [rax + 8]
mov dword [rax], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x14003ea07
mov r13d, dword [rsp + 0x20]
mov r9d, dword [rsp + 0x28]
inc r9d
mov r11d, dword [rsp + 0x38]
mov ebp, 0
mov r15, qword [rsp + 0x30]
mov dword [rsp + 0x28], r9d
lea eax, [r11 - 3]
lea r8, [rbp - 4]
cmp r9d, eax
jl 0x14003e000
movsxd r12, r11d
movsxd r14, r9d
mov qword [rsp + 0x28], r12
cmp r14, r12
jge 0x14003ec4c
nop
movzx r8d, byte [r14 + r15]
mov edx, ebp
cmp r8b, 0x8f
ja 0x14003eb77
lea ecx, [r8 + 0x30]
mov r8d, 8
nop dword [rax + rax]
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x14003ead0
mov ecx, r13d
add r13d, 8
shl edx, cl
or edi, edx
cmp r13d, 8
jl 0x14003ec40
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
xor r15d, r15d
lea r13d, [r13 + rax*8]
lea r12, [r15 - 1]
nop dword [rax]
lea rcx, [rbx - 8]
test rbx, rbx
je 0x14003eb2d
mov eax, dword [rbx - 4]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x14003eb5e
lea esi, [rsi*2 + 1]
jmp 0x14003eb32
mov esi, 2
movsxd rdx, esi
add rdx, 8
cmovb rdx, r12
test rbx, rbx
cmove rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003eb5e
test rbx, rbx
jne 0x14003eb58
mov dword [rax + 4], r15d
lea rbx, [rax + 8]
mov dword [rax], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x14003eb10
jmp 0x14003ec34
add r8d, 0x100
mov r9d, 9
nop dword [rax]
nop dword [rax + rax]
mov ecx, r8d
lea eax, [rdx + rdx]
and ecx, 1
sar r8d, 1
mov edx, ecx
or edx, eax
sub r9d, 1
jne 0x14003eb90
mov ecx, r13d
add r13d, 9
shl edx, cl
or edi, edx
cmp r13d, 8
jl 0x14003ec40
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
xor r15d, r15d
lea r13d, [r13 + rax*8]
lea r12, [r15 - 1]
lea rcx, [rbx - 8]
test rbx, rbx
je 0x14003ebef
mov eax, dword [rbx - 4]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x14003ec20
lea esi, [rsi*2 + 1]
jmp 0x14003ebf4
mov esi, 2
movsxd rdx, esi
add rdx, 8
cmovb rdx, r12
test rbx, rbx
cmove rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003ec20
test rbx, rbx
jne 0x14003ec1a
mov dword [rax + 4], r15d
lea rbx, [rax + 8]
mov dword [rax], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x14003ebd2
mov r15, qword [rsp + 0x30]
xor ebp, ebp
mov r12, qword [rsp + 0x28]
inc r14
cmp r14, r12
jl 0x14003eab0
mov ecx, ebp
mov edx, ebp
mov r8d, 7
nop word [rax + rax]
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x14003ec60
mov ecx, r13d
add r13d, 7
shl edx, cl
or edi, edx
cmp r13d, 8
jl 0x14003ed0c
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
xor r12d, r12d
lea r13d, [r13 + rax*8]
lea r15, [r12 - 1]
nop
lea rcx, [rbx - 8]
test rbx, rbx
je 0x14003ecbd
mov eax, dword [rbx - 4]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x14003ecee
lea esi, [rsi*2 + 1]
jmp 0x14003ecc2
mov esi, 2
movsxd rdx, esi
add rdx, 8
cmovb rdx, r15
test rbx, rbx
cmove rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003ecee
test rbx, rbx
jne 0x14003ece8
mov dword [rax + 4], r12d
lea rbx, [rax + 8]
mov dword [rax], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x14003eca0
mov r12, qword [rsp + 0x28]
mov r15, qword [rsp + 0x30]
test r13d, r13d
je 0x14003edb5
xor r15d, r15d
lea r12, [r15 - 1]
nop dword [rax]
inc r13d
cmp r13d, 8
jl 0x14003eda2
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
nop dword [rax]
lea rcx, [rbx - 8]
test rbx, rbx
je 0x14003ed5d
mov eax, dword [rbx - 4]
mov esi, dword [rcx]
inc eax
cmp eax, esi
jl 0x14003ed8e
lea esi, [rsi*2 + 1]
jmp 0x14003ed62
mov esi, 2
movsxd rdx, esi
add rdx, 8
cmovb rdx, r12
test rbx, rbx
cmove rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003ed8e
test rbx, rbx
jne 0x14003ed88
mov dword [rax + 4], r15d
lea rbx, [rax + 8]
mov dword [rax], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x14003ed40
test r13d, r13d
jne 0x14003ed20
mov r12, qword [rsp + 0x28]
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x48]
mov esi, 0x4000
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003edd4
add rcx, 0xfffffffffffffff8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add rdi, 8
sub rsi, 1
jne 0x14003edc2
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r13d, dword [rsp + 0x38]
mov eax, 0x80010003
lea ecx, [r13 + 0x7ffe]
imul ecx
add edx, ecx
lea ecx, [r13 + 2]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rcx + rdx*4]
add ecx, edx
cmp dword [rbx - 4], ecx
jle 0x14003efff
xor r14d, r14d
mov dword [rbx - 4], 2
test r13d, r13d
jle 0x14003efff
lea rsi, [rbx - 8]
mov eax, 0x7fff
xor r12d, r12d
nop word [rax + rax]
mov ecx, dword [rsi]
mov ebp, r13d
sub ebp, r14d
cmp ebp, eax
mov edi, ebp
cmovg edi, eax
mov eax, dword [rbx - 4]
inc eax
cmp eax, ecx
jl 0x14003ee89
lea eax, [rcx + rcx]
mov rcx, rsi
movsxd rdx, eax
lea r15d, [rax + 1]
inc rdx
mov rax, 0xffffffffffffffff
add rdx, 8
cmovb rdx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003ee89
lea rbx, [rax + 8]
mov dword [rax], r15d
movsxd rax, dword [rbx - 4]
cmp ebp, edi
mov r15, 0xffffffffffffffff
sete cl
mov byte [rax + rbx], cl
lea rcx, [rbx - 8]
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov edx, dword [rcx]
inc eax
cmp eax, edx
jl 0x14003eeda
lea eax, [rdx + rdx]
movsxd rdx, eax
lea esi, [rax + 1]
inc rdx
add rdx, 8
cmovb rdx, r15
test rbx, rbx
cmove rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003eeda
lea rbx, [rax + 8]
mov dword [rax], esi
movsxd rax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov edx, dword [rcx]
inc eax
cmp eax, edx
jl 0x14003ef20
lea eax, [rdx + rdx]
movsxd rdx, eax
lea esi, [rax + 1]
inc rdx
add rdx, 8
cmovb rdx, r15
test rbx, rbx
cmove rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003ef20
lea rbx, [rax + 8]
mov dword [rax], esi
movsxd rax, dword [rbx - 4]
mov ecx, edi
sar ecx, 8
mov byte [rax + rbx], cl
lea rcx, [rbx - 8]
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov edx, dword [rcx]
inc eax
cmp eax, edx
jl 0x14003ef6a
lea eax, [rdx + rdx]
movsxd rdx, eax
lea esi, [rax + 1]
inc rdx
add rdx, 8
cmovb rdx, r15
test rbx, rbx
cmove rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003ef6a
lea rbx, [rax + 8]
mov dword [rax], esi
movsxd rax, dword [rbx - 4]
lea rsi, [rbx - 8]
movzx ecx, dil
not cl
mov byte [rax + rbx], cl
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov ecx, dword [rsi]
inc eax
cmp eax, ecx
jl 0x14003efbb
lea eax, [rcx + rcx]
mov rcx, rsi
movsxd rdx, eax
lea ebp, [rax + 1]
inc rdx
add rdx, 8
cmovb rdx, r15
test rbx, rbx
cmove rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003efbb
lea rbx, [rax + 8]
mov dword [rax], ebp
mov rsi, rax
movsxd rax, dword [rbx - 4]
mov ecx, edi
mov r15, qword [rsp + 0x30]
not ecx
sar ecx, 8
movsxd rdx, r14d
mov byte [rax + rbx], cl
add rdx, r15
inc dword [rbx - 4]
movsxd rcx, dword [rbx - 4]
add rcx, rbx
movsxd r8, edi
call sub.VCRUNTIME140.dll_memcpy
add dword [rbx - 4], edi
add r14d, edi
mov eax, 0x7fff
cmp r14d, r13d
jl 0x14003ee40
mov r12, qword [rsp + 0x28]
xor r14d, r14d
mov edi, 1
mov esi, r14d
test r12, r12
jle 0x14003f082
mov eax, 0x5e6ea9af
mov r9d, r14d
imul r13d
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x15b0
sub r13d, eax
movsxd r8, r13d
mov rcx, r14
test r8, r8
jle 0x14003f050
lea rdx, [r9 + r15]
nop dword [rax]
movzx eax, byte [rcx + rdx]
inc rcx
add edi, eax
add esi, edi
cmp rcx, r8
jl 0x14003f040
mov eax, 0x80078071
add r9, r8
mul edi
mov r8d, 0x15b0
shr edx, 0xf
imul eax, edx, 0xffff000f
add edi, eax
mov eax, 0x80078071
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
add esi, eax
cmp r9, r12
jl 0x14003f030
mov eax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov edx, dword [rcx]
inc eax
mov r13, qword [rsp + 0x78]
mov r15, 0xffffffffffffffff
mov r12, qword [rsp + 0x80]
cmp eax, edx
jl 0x14003f0d1
lea eax, [rdx + rdx]
movsxd rdx, eax
lea ebp, [rax + 1]
inc rdx
add rdx, 8
cmovb rdx, r15
test rbx, rbx
cmove rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003f0d1
lea rbx, [rax + 8]
mov dword [rax], ebp
movsxd rax, dword [rbx - 4]
mov ecx, esi
shr ecx, 8
mov byte [rax + rbx], cl
lea rcx, [rbx - 8]
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov edx, dword [rcx]
inc eax
cmp eax, edx
jl 0x14003f11b
lea eax, [rdx + rdx]
movsxd rdx, eax
lea ebp, [rax + 1]
inc rdx
add rdx, 8
cmovb rdx, r15
test rbx, rbx
cmove rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003f11b
lea rbx, [rax + 8]
mov dword [rax], ebp
movsxd rax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov byte [rax + rbx], sil
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov edx, dword [rcx]
inc eax
cmp eax, edx
jl 0x14003f161
lea eax, [rdx + rdx]
movsxd rdx, eax
lea esi, [rax + 1]
inc rdx
add rdx, 8
cmovb rdx, r15
test rbx, rbx
cmove rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003f161
lea rbx, [rax + 8]
mov dword [rax], esi
movsxd rax, dword [rbx - 4]
mov ecx, edi
shr ecx, 8
mov byte [rax + rbx], cl
lea rcx, [rbx - 8]
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov edx, dword [rcx]
inc eax
cmp eax, edx
jl 0x14003f1ab
lea eax, [rdx + rdx]
movsxd rdx, eax
lea esi, [rax + 1]
inc rdx
add rdx, 8
cmovb rdx, r15
test rbx, rbx
cmove rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14003f1ab
lea rbx, [rax + 8]
mov dword [rax], esi
movsxd rax, dword [rbx - 4]
mov rdx, rbx
mov byte [rax + rbx], dil
inc dword [rbx - 4]
movsxd rcx, dword [rbx - 4]
mov rax, qword [rsp + 0x68]
mov r8, rcx
mov dword [rax], ecx
lea rcx, [rbx - 8]
call sub.VCRUNTIME140.dll_memmove
mov r14, qword [rsp + 0x70]
lea rax, [rbx - 8]
mov rdi, qword [rsp + 0xc8]
add rsp, 0x88
pop r15
pop rsi
pop rbp
pop rbx
ret