Function at 0x140067e70
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov edi, edx
mov rsi, rcx
call fcn.14006a080
mov dword [rsp + 0x2c], eax
test eax, eax
jne 0x140068d8e
cmp edi, 5
ja 0x140068d8e
mov rax, qword [rcx + 0x28]
cmp qword [rcx + 0x10], 0
mov qword [rsp + 0x20], rax
je 0x140068d7f
mov edx, dword [rcx + 8]
test edx, edx
je 0x140067ec4
cmp qword [rcx], 0
je 0x140068d7f
mov rax, qword [rsp + 0x20]
cmp edi, 4
setne cl
mov eax, dword [rax + 8]
cmp eax, 0x29a
jne 0x140067ee1
test cl, cl
jne 0x140068d7f
mov r13d, dword [rsi + 0x18]
test r13d, r13d
je 0x140068d9b
mov rbx, qword [rsp + 0x20]
mov r12d, dword [rbx + 0x28]
mov r8d, dword [rbx + 0x40]
mov dword [rbx + 0x40], edi
test r12d, r12d
jne 0x1400685e8
test edx, edx
je 0x140067ff8
cmp eax, 0x29a
je 0x140068d9b
cmp eax, 0x2a
jne 0x140068244
mov rax, qword [rsp + 0x20]
mov r11d, dword [rax + 0x2c]
test r11d, r11d
jne 0x140068180
mov ecx, dword [rsi + 8]
mov dword [rax + 8], 0x71
test ecx, ecx
je 0x140068046
nop word [rax + rax]
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0xac]
test eax, eax
je 0x140068a48
mov rdx, qword [rsp + 0x20]
mov edx, dword [rdx + 0xb0]
cmp edx, 2
je 0x140068658
cmp edx, 3
je 0x140068b80
shl rax, 4
lea r8, [0x1400d69a0]
mov edx, edi
mov rcx, qword [rsp + 0x20]
call qword [r8 + rax + 8]
lea edx, [rax - 2]
cmp edx, 1
jbe 0x140068a28
test eax, eax
je 0x140067fcb
cmp eax, 1
jne 0x140068070
cmp edi, 1
je 0x140069097
cmp edi, 5
jne 0x140068cc8
mov rcx, rsi
call fcn.140092110
mov r10d, dword [rsi + 0x18]
test r10d, r10d
jne 0x140067fe0
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x40], 0xffffffff
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp edi, 5
mov edx, 1
lea r9d, [rdi + rdi]
cmove r9d, edx
lea edx, [r8 + r8]
cmp r8d, 4
lea r10d, [rdx - 9]
cmovg edx, r10d
cmp r9d, edx
jg 0x140068025
test cl, cl
jne 0x140068d9b
cmp eax, 0x29a
jne 0x140067f1a
mov ebx, dword [rsi + 8]
test ebx, ebx
jne 0x140068d9b
mov ecx, dword [rsi + 8]
test ecx, ecx
jne 0x140067f50
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 0x9c]
test edx, edx
jne 0x140067f50
test edi, edi
je 0x140067fe0
cmp dword [rax + 8], 0x29a
jne 0x140067f50
nop
cmp edi, 4
jne 0x140067fe0
mov rax, qword [rsp + 0x20]
mov dword [rsp + 0x2c], 1
mov edx, dword [rax + 0x2c]
test edx, edx
jle 0x140067fe0
mov rdi, qword [rsp + 0x20]
mov ecx, dword [rsi + 0x4c]
mov eax, dword [rdi + 0x28]
lea r8d, [rax + 1]
add rax, qword [rdi + 0x10]
cmp edx, 2
jne 0x140068f80
mov dword [rdi + 0x28], r8d
mov byte [rax], cl
mov eax, dword [rdi + 0x28]
mov ecx, dword [rsi + 0x4c]
mov rdx, qword [rdi + 0x10]
lea r8d, [rax + 1]
mov dword [rdi + 0x28], r8d
mov byte [rdx + rax], ch
mov eax, dword [rdi + 0x28]
movzx ecx, word [rsi + 0x4e]
mov rdx, qword [rdi + 0x10]
lea r8d, [rax + 1]
mov dword [rdi + 0x28], r8d
mov byte [rdx + rax], cl
mov eax, dword [rdi + 0x28]
movzx ecx, byte [rsi + 0x4f]
mov rdx, qword [rdi + 0x10]
lea r8d, [rax + 1]
mov dword [rdi + 0x28], r8d
mov byte [rdx + rax], cl
mov eax, dword [rdi + 0x28]
mov ecx, dword [rsi + 0xc]
mov rdx, qword [rdi + 0x10]
lea r8d, [rax + 1]
mov dword [rdi + 0x28], r8d
mov byte [rdx + rax], cl
mov eax, dword [rdi + 0x28]
mov ecx, dword [rsi + 0xc]
mov rdx, qword [rdi + 0x10]
lea r8d, [rax + 1]
mov dword [rdi + 0x28], r8d
mov byte [rdx + rax], ch
mov eax, dword [rdi + 0x28]
movzx ecx, word [rsi + 0xe]
mov rdx, qword [rdi + 0x10]
lea r8d, [rax + 1]
mov dword [rdi + 0x28], r8d
mov byte [rdx + rax], cl
movzx ecx, byte [rsi + 0xf]
mov eax, dword [rdi + 0x28]
mov rdx, qword [rdi + 0x10]
lea r8d, [rax + 1]
mov dword [rdi + 0x28], r8d
mov byte [rdx + rax], cl
mov rcx, rsi
call fcn.140092110
mov rsi, qword [rsp + 0x20]
mov eax, dword [rsi + 0x2c]
test eax, eax
jle 0x140068163
neg eax
mov dword [rsi + 0x2c], eax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x28]
test eax, eax
sete al
movzx eax, al
mov dword [rsp + 0x2c], eax
jmp 0x140067fe0
mov rdx, qword [rsp + 0x20]
mov eax, dword [rdx + 0x48]
shl eax, 0xc
sub eax, 0x7800
cmp dword [rdx + 0xb0], 1
jle 0x1400687f0
mov rdx, qword [rsp + 0x20]
mov r10d, dword [rdx + 0x94]
test r10d, r10d
je 0x1400681b1
or eax, 0x20
mov edx, eax
mov r11, qword [rsp + 0x20]
imul rdx, rdx, 0x8421085
mov rcx, qword [r11 + 0x10]
shr rdx, 0x20
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
mov edx, eax
shl edx, 5
sub edx, eax
lea eax, [rdx + 0x1f]
mov edx, dword [r11 + 0x28]
lea r8d, [rdx + 1]
mov dword [r11 + 0x28], r8d
mov byte [rcx + rdx], ah
mov edx, dword [r11 + 0x28]
mov rcx, qword [r11 + 0x10]
lea r8d, [rdx + 1]
mov dword [r11 + 0x28], r8d
mov byte [rcx + rdx], al
mov r9d, dword [r11 + 0x94]
test r9d, r9d
jne 0x140068818
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140037610
mov rbx, qword [rsp + 0x20]
mov rcx, rsi
mov dword [rsi + 0x4c], eax
mov dword [rbx + 8], 0x71
call fcn.140092110
mov r8d, dword [rbx + 0x28]
mov rax, qword [rsp + 0x20]
test r8d, r8d
jne 0x140067fd9
mov eax, dword [rax + 8]
cmp eax, 0x39
jne 0x1400685b0
xor edx, edx
xor ecx, ecx
xor r8d, r8d
call fcn.14005e540
mov rbx, qword [rsp + 0x20]
mov dword [rsi + 0x4c], eax
mov eax, dword [rbx + 0x28]
mov rdx, qword [rbx + 0x10]
lea ecx, [rax + 1]
mov dword [rbx + 0x28], ecx
mov byte [rdx + rax], 0x1f
mov eax, dword [rbx + 0x28]
mov rdx, qword [rbx + 0x10]
lea ecx, [rax + 1]
mov dword [rbx + 0x28], ecx
mov byte [rdx + rax], 0x8b
mov eax, dword [rbx + 0x28]
mov rdx, qword [rbx + 0x10]
lea ecx, [rax + 1]
mov dword [rbx + 0x28], ecx
mov byte [rdx + rax], 8
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x1400684e8
mov edx, dword [rax + 0x3c]
cmp qword [rax + 0x10], 0
setne cl
mov r10, qword [rsp + 0x20]
test edx, edx
setne dl
mov r9, qword [r10 + 0x10]
add edx, edx
cmp dword [rax], 1
lea ecx, [rdx + rcx*4]
sbb cl, 0xff
cmp qword [rax + 0x20], 0
setne dl
cmp qword [rax + 0x30], 0
mov eax, dword [r10 + 0x28]
setne r8b
lea edx, [rcx + rdx*8]
shl r8d, 4
lea ecx, [rax + 1]
mov dword [r10 + 0x28], ecx
mov ecx, eax
lea eax, [rdx + r8]
mov byte [r9 + rcx], al
mov rax, qword [r10 + 0x30]
mov rdx, qword [r10 + 0x10]
mov ecx, dword [rax + 4]
mov eax, dword [r10 + 0x28]
lea r8d, [rax + 1]
mov dword [r10 + 0x28], r8d
mov byte [rdx + rax], cl
mov rax, qword [r10 + 0x30]
mov rdx, qword [r10 + 0x10]
mov ecx, dword [rax + 4]
mov eax, dword [r10 + 0x28]
lea r8d, [rax + 1]
mov dword [r10 + 0x28], r8d
mov byte [rdx + rax], ch
mov rax, qword [r10 + 0x30]
mov rdx, qword [r10 + 0x10]
movzx ecx, word [rax + 6]
mov eax, dword [r10 + 0x28]
lea r8d, [rax + 1]
mov dword [r10 + 0x28], r8d
mov byte [rdx + rax], cl
mov rax, qword [r10 + 0x30]
mov rdx, qword [r10 + 0x10]
movzx ecx, byte [rax + 7]
mov eax, dword [r10 + 0x28]
lea r8d, [rax + 1]
mov dword [r10 + 0x28], r8d
mov byte [rdx + rax], cl
mov edx, dword [r10 + 0xac]
mov eax, 2
cmp edx, 9
je 0x140068383
cmp dword [r10 + 0xb0], 1
setg al
cmp edx, 1
setle dl
or eax, edx
shl eax, 2
mov r14, qword [rsp + 0x20]
mov edx, dword [r14 + 0x28]
mov rcx, qword [r14 + 0x10]
lea r8d, [rdx + 1]
mov dword [r14 + 0x28], r8d
mov byte [rcx + rdx], al
mov rax, qword [r14 + 0x30]
mov rdx, qword [r14 + 0x10]
mov ecx, dword [rax + 0xc]
mov eax, dword [r14 + 0x28]
lea r8d, [rax + 1]
mov dword [r14 + 0x28], r8d
mov byte [rdx + rax], cl
mov rcx, qword [r14 + 0x30]
cmp qword [rcx + 0x10], 0
je 0x1400683f4
mov eax, dword [r14 + 0x28]
mov ecx, dword [rcx + 0x18]
mov rdx, qword [r14 + 0x10]
lea r8d, [rax + 1]
mov dword [r14 + 0x28], r8d
mov byte [rdx + rax], cl
mov rax, qword [r14 + 0x30]
mov rdx, qword [r14 + 0x10]
mov ecx, dword [rax + 0x18]
mov eax, dword [r14 + 0x28]
lea r8d, [rax + 1]
mov dword [r14 + 0x28], r8d
mov byte [rdx + rax], ch
mov rcx, qword [r14 + 0x30]
mov eax, dword [rcx + 0x3c]
test eax, eax
jne 0x140068fd8
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x38], 0
mov dword [rax + 8], 0x45
mov rdx, qword [rcx + 0x10]
test rdx, rdx
je 0x1400688c4
mov rbx, qword [rsp + 0x20]
movzx r14d, word [rcx + 0x18]
mov eax, dword [rbx + 0x38]
mov r12d, dword [rbx + 0x28]
mov r13d, dword [rbx + 0x18]
sub r14d, eax
lea ecx, [r12 + r14]
cmp r13d, ecx
jb 0x14006848c
jmp 0x1400690b7
mov rbx, qword [rsp + 0x20]
mov rcx, rsi
add dword [rbx + 0x38], r15d
call fcn.140092110
mov r15d, dword [rbx + 0x28]
test r15d, r15d
jne 0x140067fd4
mov rcx, qword [rsp + 0x20]
sub r12d, r13d
add r14d, r12d
mov rax, qword [rcx + 0x30]
mov r13d, dword [rcx + 0x18]
mov rdx, qword [rax + 0x10]
mov eax, dword [rcx + 0x38]
cmp r13d, r14d
jae 0x140068880
xor r12d, r12d
mov rbx, qword [rsp + 0x20]
mov r15d, r13d
mov ebp, r12d
add rdx, rax
sub r15d, r12d
mov rcx, rbp
mov r8d, r15d
add rcx, qword [rbx + 0x10]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov rax, qword [rbx + 0x30]
mov r8d, dword [rbx + 0x18]
mov eax, dword [rax + 0x3c]
mov dword [rbx + 0x28], r8d
test eax, eax
je 0x140068448
cmp r12d, r8d
jae 0x140068448
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsi + 0x4c]
mov rdx, rbp
sub r8d, r12d
add rdx, qword [rax + 0x10]
call fcn.14005e540
mov dword [rsi + 0x4c], eax
jmp 0x140068448
mov eax, dword [rbx + 0x28]
mov rdx, qword [rbx + 0x10]
lea ecx, [rax + 1]
mov dword [rbx + 0x28], ecx
mov byte [rdx + rax], 0
mov eax, dword [rbx + 0x28]
mov rdx, qword [rbx + 0x10]
lea ecx, [rax + 1]
mov dword [rbx + 0x28], ecx
mov byte [rdx + rax], 0
mov eax, dword [rbx + 0x28]
mov rdx, qword [rbx + 0x10]
lea ecx, [rax + 1]
mov dword [rbx + 0x28], ecx
mov byte [rdx + rax], 0
mov eax, dword [rbx + 0x28]
mov rdx, qword [rbx + 0x10]
lea ecx, [rax + 1]
mov dword [rbx + 0x28], ecx
mov byte [rdx + rax], 0
mov eax, dword [rbx + 0x28]
mov rdx, qword [rbx + 0x10]
lea ecx, [rax + 1]
mov dword [rbx + 0x28], ecx
mov byte [rdx + rax], 0
mov edx, dword [rbx + 0xac]
mov eax, 2
cmp edx, 9
je 0x140068562
cmp dword [rbx + 0xb0], 1
setg al
cmp edx, 1
setle dl
or eax, edx
shl eax, 2
mov rbx, qword [rsp + 0x20]
mov edx, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x10]
lea r8d, [rdx + 1]
mov dword [rbx + 0x28], r8d
mov byte [rcx + rdx], al
mov eax, dword [rbx + 0x28]
mov rdx, qword [rbx + 0x10]
lea ecx, [rax + 1]
mov dword [rbx + 0x28], ecx
mov rcx, rsi
mov byte [rdx + rax], 0xa
mov dword [rbx + 8], 0x71
call fcn.140092110
mov ecx, dword [rbx + 0x28]
test ecx, ecx
jne 0x140067fd4
mov eax, dword [rbx + 8]
nop word [rax + rax]
cmp eax, 0x45
je 0x1400687d8
cmp eax, 0x49
je 0x140068b70
cmp eax, 0x5b
je 0x14006902c
cmp eax, 0x67
jne 0x14006803b
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x30]
mov eax, dword [rax + 0x3c]
jmp 0x140068adf
mov rcx, rsi
call fcn.140092110
mov ebp, dword [rsi + 0x18]
mov rax, qword [rsp + 0x20]
test ebp, ebp
je 0x140067fd9
mov eax, dword [rax + 8]
jmp 0x140068025
mov eax, dword [rcx + 0x84]
xor edx, edx
sub r8d, eax
test eax, eax
js 0x140068626
movsxd rdx, eax
add rdx, qword [rcx + 0x50]
mov rbx, qword [rsp + 0x20]
xor r9d, r9d
mov rcx, rbx
call fcn.140036060
mov eax, dword [rbx + 0x94]
mov rcx, qword [rbx]
mov dword [rbx + 0x84], eax
call fcn.140092110
mov rax, qword [rbx]
mov eax, dword [rax + 0x18]
test eax, eax
je 0x140067fcb
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x9c]
jmp 0x14006871e
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rbx + 0x50]
mov eax, dword [rbx + 0x94]
mov dword [rbx + 0x88], 0
mov rcx, qword [rbx + 0x16e8]
movzx eax, byte [rdx + rax]
mov edx, dword [rbx + 0x16f4]
lea r8d, [rdx + 1]
mov dword [rbx + 0x16f4], r8d
mov byte [rcx + rdx], 0
mov edx, dword [rbx + 0x16f4]
mov rcx, qword [rbx + 0x16e8]
lea r8d, [rdx + 1]
mov dword [rbx + 0x16f4], r8d
mov byte [rcx + rdx], 0
mov edx, dword [rbx + 0x16f4]
mov rcx, qword [rbx + 0x16e8]
lea r8d, [rdx + 1]
mov dword [rbx + 0x16f4], r8d
mov byte [rcx + rdx], al
mov rcx, rbx
add word [rbx + rax*4 + 0xbc], 1
mov eax, dword [rbx + 0x9c]
sub eax, 1
mov dword [rbx + 0x9c], eax
mov ebx, dword [rbx + 0x94]
lea r8d, [rbx + 1]
mov ebx, dword [rcx + 0x16f8]
mov dword [rcx + 0x94], r8d
cmp dword [rcx + 0x16f4], ebx
je 0x140068610
test eax, eax
jne 0x140068670
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.1400906f0
mov eax, dword [rbx + 0x9c]
test eax, eax
jne 0x140068670
test edi, edi
je 0x140067fcb
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x1708], 0
cmp edi, 4
je 0x14006903a
mov rax, qword [rsp + 0x20]
mov r15d, dword [rax + 0x16f4]
test r15d, r15d
je 0x140067fb1
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + 0x84]
mov r8d, dword [rcx + 0x94]
xor edx, edx
sub r8d, eax
test eax, eax
js 0x140068798
movsxd rdx, eax
add rdx, qword [rcx + 0x50]
mov rbx, qword [rsp + 0x20]
xor r9d, r9d
mov rcx, rbx
call fcn.140036060
mov eax, dword [rbx + 0x94]
mov rcx, qword [rbx]
mov dword [rbx + 0x84], eax
call fcn.140092110
mov rax, qword [rbx]
mov r11d, dword [rax + 0x18]
test r11d, r11d
jne 0x140067fb1
jmp 0x140067fcb
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x30]
jmp 0x140068412
mov rdx, qword [rsp + 0x20]
mov edx, dword [rdx + 0xac]
cmp edx, 1
jle 0x14006819d
cmp edx, 5
jg 0x140068d00
or eax, 0x40
jmp 0x14006819d
mov eax, dword [r11 + 0x28]
mov edx, dword [rsi + 0x4c]
mov rcx, qword [r11 + 0x10]
lea r8d, [rax + 1]
mov dword [r11 + 0x28], r8d
mov r8d, edx
shr edx, 0x10
shr r8d, 0x18
mov byte [rcx + rax], r8b
mov eax, dword [r11 + 0x28]
mov rcx, qword [r11 + 0x10]
lea r8d, [rax + 1]
mov dword [r11 + 0x28], r8d
mov byte [rcx + rax], dl
mov eax, dword [r11 + 0x28]
movzx edx, word [rsi + 0x4c]
mov rcx, qword [r11 + 0x10]
lea r8d, [rax + 1]
mov dword [r11 + 0x28], r8d
mov byte [rcx + rax], dh
mov eax, dword [r11 + 0x28]
mov rcx, qword [r11 + 0x10]
lea r8d, [rax + 1]
mov dword [r11 + 0x28], r8d
mov byte [rcx + rax], dl
jmp 0x14006820c
xor r13d, r13d
mov rbx, qword [rsp + 0x20]
mov r8d, r14d
mov rcx, r13
add rdx, rax
add rcx, qword [rbx + 0x10]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov rcx, qword [rbx + 0x30]
add r14d, dword [rbx + 0x28]
mov dword [rbx + 0x28], r14d
mov r12d, dword [rcx + 0x3c]
test r12d, r12d
je 0x1400688b8
cmp r15d, r14d
jb 0x140068d59
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x38], 0
mov rax, qword [rsp + 0x20]
mov dword [rax + 8], 0x49
cmp qword [rcx + 0x20], 0
je 0x140068989
mov rax, qword [rsp + 0x20]
mov r9d, dword [rax + 0x28]
mov r8d, r9d
jmp 0x140068921
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x20]
mov eax, dword [rbx + 0x38]
lea ecx, [rax + 1]
mov dword [rbx + 0x38], ecx
movzx eax, byte [rdx + rax]
lea ecx, [r8 + 1]
mov rdx, qword [rbx + 0x10]
mov dword [rbx + 0x28], ecx
mov byte [rdx + r8], al
test al, al
je 0x140068960
mov r8d, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x30]
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x18], r8d
jne 0x1400688f0
mov ebp, dword [rcx + 0x3c]
test ebp, ebp
je 0x14006893c
cmp r9d, r8d
jb 0x140068a60
mov rcx, rsi
call fcn.140092110
mov rax, qword [rsp + 0x20]
mov r8d, dword [rax + 0x28]
test r8d, r8d
jne 0x140067fd4
mov rcx, qword [rax + 0x30]
xor r9d, r9d
jmp 0x1400688f0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x30]
mov ebx, dword [rcx + 0x3c]
test ebx, ebx
je 0x14006897d
mov r8d, dword [rax + 0x28]
cmp r9d, r8d
jb 0x140068d12
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x38], 0
mov rax, qword [rsp + 0x20]
mov dword [rax + 8], 0x5b
cmp qword [rcx + 0x30], 0
je 0x140068ad0
mov rax, qword [rsp + 0x20]
mov r9d, dword [rax + 0x28]
mov r8d, r9d
jmp 0x1400689e5
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x30]
mov eax, dword [rbx + 0x38]
lea ecx, [rax + 1]
mov dword [rbx + 0x38], ecx
movzx eax, byte [rdx + rax]
lea ecx, [r8 + 1]
mov rdx, qword [rbx + 0x10]
mov dword [rbx + 0x28], ecx
mov byte [rdx + r8], al
test al, al
je 0x140068aa0
mov r8d, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x30]
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x18], r8d
jne 0x1400689b0
mov r11d, dword [rcx + 0x3c]
test r11d, r11d
je 0x140068a02
cmp r9d, r8d
jb 0x140068a80
mov rcx, rsi
call fcn.140092110
mov rax, qword [rsp + 0x20]
mov r8d, dword [rax + 0x28]
test r8d, r8d
jne 0x140067fd4
mov rcx, qword [rax + 0x30]
xor r9d, r9d
jmp 0x1400689b0
mov rdx, qword [rsp + 0x20]
mov dword [rdx + 8], 0x29a
cmp eax, 2
jne 0x140068070
jmp 0x140067fcb
mov rcx, qword [rsp + 0x20]
mov edx, edi
call fcn.14006ac70
lea edx, [rax - 2]
jmp 0x140067f9b
mov ecx, dword [rsi + 0x4c]
mov edx, r9d
sub r8d, r9d
add rdx, qword [rax + 0x10]
call fcn.14005e540
mov dword [rsi + 0x4c], eax
jmp 0x14006893c
mov ecx, dword [rsi + 0x4c]
mov edx, r9d
sub r8d, r9d
add rdx, qword [rax + 0x10]
call fcn.14005e540
mov dword [rsi + 0x4c], eax
jmp 0x140068a02
mov rdx, qword [rsp + 0x20]
mov rax, qword [rdx + 0x30]
mov r10d, dword [rax + 0x3c]
test r10d, r10d
je 0x140068b4a
mov r8d, dword [rdx + 0x28]
cmp r9d, r8d
jb 0x140068d33
mov dword [rdx + 8], 0x67
jmp 0x140068aec
mov eax, dword [rcx + 0x3c]
mov rdx, qword [rsp + 0x20]
mov dword [rdx + 8], 0x67
test eax, eax
je 0x140068b4a
mov rax, qword [rsp + 0x20]
mov r8d, dword [rax + 0x28]
mov rbx, qword [rsp + 0x20]
lea eax, [r8 + 2]
cmp dword [rbx + 0x18], eax
jae 0x140068b0f
mov rcx, rsi
call fcn.140092110
mov r8d, dword [rbx + 0x28]
test r8d, r8d
jne 0x140067fd4
mov rbx, qword [rsp + 0x20]
mov edx, dword [rsi + 0x4c]
lea ecx, [r8 + 1]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x28], ecx
mov byte [rax + r8], dl
mov eax, dword [rbx + 0x28]
mov ecx, dword [rsi + 0x4c]
mov rdx, qword [rbx + 0x10]
lea r8d, [rax + 1]
mov dword [rbx + 0x28], r8d
xor r8d, r8d
mov byte [rdx + rax], ch
xor edx, edx
xor ecx, ecx
call fcn.14005e540
mov dword [rsi + 0x4c], eax
mov rbx, qword [rsp + 0x20]
mov rcx, rsi
mov dword [rbx + 8], 0x71
call fcn.140092110
mov r8d, dword [rbx + 0x28]
test r8d, r8d
je 0x14006803b
jmp 0x140067fd4
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x30]
jmp 0x1400688d0
mov r13, qword [0x1400ce2c0]
mov r12, qword [0x1400ce270]
jmp 0x140068c4b
mov dword [rdx + 0x88], 0
mov edx, dword [rcx + 0x94]
mov r8, qword [rcx + 0x50]
mov ecx, edx
test edx, edx
je 0x140068bc5
lea rdx, [r8 + rcx - 1]
movzx r9d, byte [rdx]
cmp r9b, byte [rdx + 1]
je 0x140068dc0
mov rbx, qword [rsp + 0x20]
movzx eax, byte [r8 + rcx]
mov edx, dword [rbx + 0x16f4]
mov rcx, qword [rbx + 0x16e8]
lea r8d, [rdx + 1]
mov dword [rbx + 0x16f4], r8d
mov byte [rcx + rdx], 0
mov edx, dword [rbx + 0x16f4]
mov rcx, qword [rbx + 0x16e8]
lea r8d, [rdx + 1]
mov dword [rbx + 0x16f4], r8d
mov byte [rcx + rdx], 0
mov edx, dword [rbx + 0x16f4]
mov rcx, qword [rbx + 0x16e8]
lea r8d, [rdx + 1]
mov dword [rbx + 0x16f4], r8d
mov byte [rcx + rdx], al
add word [rbx + rax*4 + 0xbc], 1
mov eax, dword [rbx + 0x16f8]
sub dword [rbx + 0x9c], 1
add dword [rbx + 0x94], 1
cmp dword [rbx + 0x16f4], eax
je 0x140068f09
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + 0x9c]
mov rdx, rcx
cmp eax, 0x102
ja 0x140068b98
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.1400906f0
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov rdx, rbx
cmp eax, 0x102
ja 0x140068b98
test edi, edi
je 0x140067fcb
test eax, eax
je 0x140069000
mov rcx, qword [rsp + 0x20]
mov edx, dword [rcx + 0x94]
mov r8, qword [rcx + 0x50]
mov dword [rcx + 0x88], 0
mov ecx, edx
cmp eax, 2
jbe 0x140068bc5
jmp 0x140068bae
mov rcx, qword [rsp + 0x20]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.1400367f0
cmp edi, 3
je 0x1400690c2
mov rcx, rsi
call fcn.140092110
mov edx, dword [rsi + 0x18]
test edx, edx
jne 0x140068070
jmp 0x140067fd4
mov ecx, eax
or al, 0xc0
or cl, 0x80
cmp edx, 6
cmove eax, ecx
jmp 0x14006819d
mov ecx, dword [rsi + 0x4c]
mov edx, r9d
sub r8d, r9d
add rdx, qword [rax + 0x10]
mov rbx, rax
call fcn.14005e540
mov rcx, qword [rbx + 0x30]
mov dword [rsi + 0x4c], eax
jmp 0x14006897d
mov rbx, qword [rsp + 0x20]
mov ecx, dword [rsi + 0x4c]
mov edx, r9d
sub r8d, r9d
add rdx, qword [rbx + 0x10]
call fcn.14005e540
mov dword [rsi + 0x4c], eax
mov rax, qword [rbx + 0x30]
mov eax, dword [rax + 0x3c]
jmp 0x140068ad3
mov rbx, qword [rsp + 0x20]
mov ecx, dword [rsi + 0x4c]
sub r14d, r15d
mov rdx, r13
mov r8d, r14d
add rdx, qword [rbx + 0x10]
call fcn.14005e540
mov rcx, qword [rbx + 0x30]
mov dword [rsi + 0x4c], eax
jmp 0x1400688b8
mov rax, qword [0x1400ce460]
mov rax, qword [rax + 0x20]
mov qword [rsi + 0x20], rax
mov dword [rsp + 0x2c], 0xfffffffe
jmp 0x140067fe0
mov rax, qword [0x1400ce460]
mov dword [rsp + 0x2c], 0xfffffffb
mov rax, qword [rax + 0x38]
mov qword [rsi + 0x20], rax
jmp 0x140067fe0
cmp r9b, byte [rdx + 2]
jne 0x140068bc5
cmp r9b, byte [rdx + 3]
jne 0x140068bc5
add rdx, 3
lea r10, [r8 + rcx + 0x102]
jmp 0x140068e32
cmp r9b, byte [rdx + 2]
jne 0x14006913c
cmp r9b, byte [rdx + 3]
jne 0x140069133
cmp r9b, byte [rdx + 4]
jne 0x14006912a
cmp r9b, byte [rdx + 5]
jne 0x140069145
cmp r9b, byte [rdx + 6]
jne 0x140069157
cmp r9b, byte [rdx + 7]
jne 0x14006914e
add rdx, 8
cmp byte [rdx], r9b
jne 0x140068e3c
cmp rdx, r10
jae 0x140068e3c
cmp r9b, byte [rdx + 1]
je 0x140068de8
add rdx, 1
mov rbx, qword [rsp + 0x20]
sub edx, r10d
add edx, 0x102
mov dword [rbx + 0x88], edx
cmp eax, edx
jae 0x140068f68
mov dword [rbx + 0x88], eax
mov edx, eax
mov rbx, qword [rsp + 0x20]
lea eax, [rdx - 3]
mov edx, dword [rbx + 0x16f4]
mov rcx, qword [rbx + 0x16e8]
lea r8d, [rdx + 1]
mov dword [rbx + 0x16f4], r8d
mov byte [rcx + rdx], 1
mov edx, dword [rbx + 0x16f4]
mov rcx, qword [rbx + 0x16e8]
lea r8d, [rdx + 1]
mov dword [rbx + 0x16f4], r8d
mov byte [rcx + rdx], 0
mov edx, dword [rbx + 0x16f4]
mov rcx, qword [rbx + 0x16e8]
lea r8d, [rdx + 1]
mov dword [rbx + 0x16f4], r8d
mov byte [rcx + rdx], al
movzx eax, al
movzx eax, byte [r13 + rax]
add word [rbx + rax*4 + 0x4c0], 1
movzx eax, byte [r12]
add word [rbx + rax*4 + 0x9b0], 1
mov eax, dword [rbx + 0x88]
mov dword [rbx + 0x88], 0
sub dword [rbx + 0x9c], eax
add dword [rbx + 0x94], eax
mov eax, dword [rbx + 0x16f8]
cmp dword [rbx + 0x16f4], eax
jne 0x140068c4b
mov rcx, qword [rsp + 0x20]
xor edx, edx
mov eax, dword [rcx + 0x84]
mov r8d, dword [rcx + 0x94]
sub r8d, eax
test eax, eax
js 0x140068f2b
movsxd rdx, eax
add rdx, qword [rcx + 0x50]
mov rbx, qword [rsp + 0x20]
xor r9d, r9d
mov rcx, rbx
call fcn.140036060
mov eax, dword [rbx + 0x94]
mov rcx, qword [rbx]
mov dword [rbx + 0x84], eax
call fcn.140092110
mov rax, qword [rbx]
mov r14d, dword [rax + 0x18]
test r14d, r14d
jne 0x140068c4b
jmp 0x140067fcb
cmp edx, 2
ja 0x140068e60
jmp 0x140068bc5
mov rdi, qword [rsp + 0x20]
mov edx, ecx
shr ecx, 0x10
shr edx, 0x18
mov dword [rdi + 0x28], r8d
mov byte [rax], dl
mov eax, dword [rdi + 0x28]
mov rdx, qword [rdi + 0x10]
lea r8d, [rax + 1]
mov dword [rdi + 0x28], r8d
mov byte [rdx + rax], cl
mov eax, dword [rdi + 0x28]
movzx edx, word [rsi + 0x4c]
mov rcx, qword [rdi + 0x10]
lea r8d, [rax + 1]
mov dword [rdi + 0x28], r8d
mov byte [rcx + rax], dh
mov eax, dword [rdi + 0x28]
mov rcx, qword [rdi + 0x10]
lea r8d, [rax + 1]
mov dword [rdi + 0x28], r8d
mov byte [rcx + rax], dl
jmp 0x14006814a
mov rbx, qword [rsp + 0x20]
mov ecx, dword [rsi + 0x4c]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rbx + 0x28]
call fcn.14005e540
mov rcx, qword [rbx + 0x30]
mov dword [rsi + 0x4c], eax
jmp 0x1400683ff
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x1708], 0
cmp edi, 4
je 0x14006903a
mov rcx, qword [rsp + 0x20]
mov ebx, dword [rcx + 0x16f4]
test ebx, ebx
je 0x140067fb1
jmp 0x14006877b
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x30]
jmp 0x140068995
mov rdi, rax
mov eax, dword [rax + 0x84]
xor edx, edx
mov r8d, dword [rdi + 0x94]
sub r8d, eax
test eax, eax
js 0x14006905a
movsxd rdx, eax
add rdx, qword [rdi + 0x50]
mov rdi, qword [rsp + 0x20]
mov r9d, 1
mov rcx, rdi
call fcn.140036060
mov eax, dword [rdi + 0x94]
mov rcx, qword [rdi]
mov dword [rdi + 0x84], eax
call fcn.140092110
mov rax, qword [rdi]
mov ebp, dword [rax + 0x18]
test ebp, ebp
jne 0x1400690a6
mov dword [rdi + 8], 0x29a
jmp 0x140067fcb
mov rcx, qword [rsp + 0x20]
call fcn.140035e70
jmp 0x140067fc3
mov rax, qword [rsp + 0x20]
mov dword [rax + 8], 0x29a
jmp 0x140068079
mov r13d, r12d
mov r15d, r12d
jmp 0x140068883
mov rdi, qword [rsp + 0x20]
xor r8d, r8d
xor edx, edx
mov eax, dword [rdi + 0x74]
mov rcx, qword [rdi + 0x68]
sub eax, 1
mov word [rcx + rax*2], r8w
lea r8, [rax + rax]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov r9d, dword [rdi + 0x9c]
test r9d, r9d
jne 0x140067fc3
mov dword [rdi + 0x94], 0
mov rcx, rsi
mov dword [rdi + 0x84], 0
mov dword [rdi + 0x1708], 0
call fcn.140092110
mov ecx, dword [rsi + 0x18]
test ecx, ecx
jne 0x140067fe0
jmp 0x140067fd4
add rdx, 4
jmp 0x140068e3c
add rdx, 3
jmp 0x140068e3c
add rdx, 2
jmp 0x140068e3c
add rdx, 5
jmp 0x140068e3c
add rdx, 7
jmp 0x140068e3c
add rdx, 6
jmp 0x140068e3c