Function at 0x140021d34
Capabilities:
Delete file
Get common file path
Get file attributes
Move file
Query or enumerate registry value
Set file attributes

Disassembly:
test rdx, rdx
je 0x140022c1f
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x16ff8]
mov eax, 0x170f8
call fcn.140024d60
sub rsp, rax
mov r15d, r8d
mov rax, rdx
mov r13, rcx
xor r14d, r14d
mov dword [rsp + 0x28], 0x1000
lea rcx, [rbp + 0x17048]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x17058]
lea r8, [rbp + 0x3fe0]
lea rdx, [rbp + 0x8ff0]
mov rcx, rax
call fcn.14002061c
mov r12, rax
mov qword [rbp + 0x17048], rax
test rax, rax
je 0x140022c0c
lea ecx, [r14 + 6]
lea rax, [rbp + 0x3fe0]
lea rbx, [rbp + 0xaff0]
mov rdi, rcx
mov esi, 0x1000
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14002023c
add rbx, 0x2000
sub rdi, 1
jne 0x140021dd2
mov ebx, r14d
lea rdi, str.Delete
mov rdx, qword [rdi]
lea rcx, [rbp + 0x8ff0]
call fcn.140015c5c
test eax, eax
je 0x140021e1a
inc ebx
add rdi, 8
cmp ebx, 0xe
jb 0x140021df7
jmp 0x140022bbf
cmp ebx, 7
jg 0x1400226df
je 0x14002252a
mov esi, ebx
xor edi, edi
test ebx, ebx
je 0x140022304
sub ebx, 1
je 0x140022240
sub ebx, 1
je 0x140022222
sub ebx, 1
je 0x140021fe7
sub ebx, 1
je 0x140021fae
sub ebx, 1
je 0x140021f62
cmp ebx, 1
jne 0x140022bbf
xor r14d, r14d
mov byte [0x1400712d3], 1
mov edi, 1
lea rbx, [rbp + 0x3fe0]
cmp word [rbp + 0x3fe0], 0x3c
jne 0x140021f47
lea edx, [rdi + 0x3d]
lea rcx, [rbp + 0x3fe2]
call fcn.1400276c8
test rax, rax
je 0x140021f47
lea rbx, [rax + 2]
mov word [rax], r14w
lea r8d, [rdi + 0x63]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x3fe2]
call fcn.14002023c
mov r14, rax
xor eax, eax
test r14, r14
je 0x140021f47
lea r13d, [rdi + 5]
lea r15d, [rdi + 2]
cmp word [rbp - 0x70], ax
je 0x140021f39
lea rdx, str.HIDE
lea rcx, [rbp - 0x70]
call fcn.140015c5c
neg eax
sbb ecx, ecx
and edi, ecx
lea rdx, [0x140041160]
lea rcx, [rbp - 0x70]
call fcn.140015c5c
test eax, eax
cmove edi, r15d
lea rdx, [0x140041168]
lea rcx, [rbp - 0x70]
call fcn.140015c5c
test eax, eax
cmove edi, r13d
mov r8d, 0x64
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.14002023c
mov r14, rax
xor eax, eax
test r14, r14
jne 0x140021ed5
mov r15d, dword [rbp + 0x17050]
mov r13, qword [rbp + 0x17040]
cmp r15d, 5
jne 0x140022b55
cmp esi, 9
jne 0x140022bbf
mov r9b, 1
jmp 0x140022b66
movzx ecx, word [rbp + 0x3fe0]
test ecx, ecx
je 0x140021f9b
sub ecx, 0x30
je 0x140021f88
sub ecx, 1
je 0x140021f9b
cmp ecx, 1
jne 0x140022bbf
mov byte [0x14005a85e], cl
jmp 0x140021f8f
mov byte [0x14005a85e], dil
mov byte [0x14005a85f], dil
jmp 0x140022bbf
mov byte [0x14005a85e], dil
mov byte [0x14005a85f], 1
jmp 0x140022bbf
cmp dword [0x140063c94], 1
je 0x140022bbf
movzx ecx, word [rbp + 0x3fe0]
call fcn.140013d70
test al, al
je 0x140021fd7
movzx eax, word [rbp + 0x3fe0]
sub eax, 0x30
jmp 0x140021fdc
mov eax, 2
mov dword [0x140063c94], eax
jmp 0x140022bbf
test r15d, r15d
jne 0x140022bbf
cmp word [0x140063c9a], di
jne 0x140022bbf
mov word [rbp - 0x70], di
lea rdi, [rbp + 0x3fe0]
lea rax, [rbp + 0x3fe2]
lea esi, [r15 + 0x22]
cmp word [rbp + 0x3fe0], si
cmove rdi, rax
mov rcx, rdi
call fcn.14002b508
cmp rax, 0x800
jae 0x140022bbf
cmp word [rdi], 0x2e
jne 0x140022062
cmp word [rdi + 2], 0x5c
jne 0x14002206c
lea rdx, [rdi + 4]
xor edi, edi
cmp word [rdx], di
je 0x140022bbf
mov r8d, 0x800
lea rcx, [rbp - 0x70]
call fcn.140013f3c
jmp 0x140022182
cmp word [rdi], 0x5c
je 0x14002216e
xor ebx, ebx
cmp word [rdi], bx
je 0x14002207e
cmp word [rdi + 2], 0x3a
je 0x14002216e
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002210b
mov dword [rbp + 0x17048], 0x1000
lea rax, [rbp + 0x17048]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.ProgramFilesDir
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [rbp + 0x17048]
shr ecx, 1
mov r14d, 0x7ff
mov eax, r14d
cmp ecx, r14d
cmovb eax, ecx
mov word [rbp + rax*2 - 0x70], bx
jmp 0x140022111
mov r14d, 0x7ff
cmp word [rbp - 0x70], bx
je 0x14002213e
lea rcx, [rbp - 0x70]
call fcn.14002b508
cmp word [rbp + rax*2 - 0x72], 0x5c
je 0x14002213e
mov r8d, 0x800
lea rdx, [0x140041148]
lea rcx, [rbp - 0x70]
call fcn.140013ef8
mov rcx, rdi
call fcn.14002b508
mov rbx, rax
lea rcx, [rbp - 0x70]
call fcn.14002b508
add rbx, rax
cmp rbx, r14
jae 0x140022180
mov r8d, 0x800
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140013ef8
jmp 0x140022180
mov r8d, 0x800
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140013f3c
xor edi, edi
mov edx, esi
lea rcx, [rbp - 0x70]
call fcn.1400279d8
test rax, rax
je 0x14002219b
cmp word [rax + 2], di
jne 0x14002219b
mov word [rax], di
mov r8d, 0x800
lea rdx, [rbp - 0x70]
lea rsi, [0x140063c9a]
mov rcx, rsi
call fcn.140013f3c
mov edx, 0x800
lea rcx, [rbp - 0x70]
call fcn.140020438
mov edx, 0x66
mov rcx, r13
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbx, rax
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov r9, rsi
xor r8d, r8d
mov edx, 0x143
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [rbp - 0x70]
mov rcx, rsi
call fcn.14002fe24
test eax, eax
je 0x140022bbf
lea r9, [rbp - 0x70]
xor r8d, r8d
mov edx, 0x143
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140022bbf
test r15d, r15d
jne 0x140022bbf
lea rdx, [rbp + 0x3fe0]
mov rcx, r13
call qword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x140022bbf
test r15d, r15d
jne 0x140022bbf
mov rcx, qword [0x1400722f8]
test rcx, rcx
sete sil
test rcx, rcx
je 0x14002226f
lea rdx, str._br_
call fcn.140030ca0
mov rcx, qword [0x1400722f8]
mov r14b, byte [rbp + 0x17058]
test r14b, r14b
je 0x140022284
lea rbx, [rbp + 0x3fe0]
jmp 0x1400222a1
lea rcx, [rbp + 0x17048]
call fcn.1400207b0
mov rbx, rax
mov r12, qword [rbp + 0x17048]
mov rcx, qword [0x1400722f8]
test sil, sil
jne 0x1400222ae
call fcn.14002b508
mov rdi, rax
mov rcx, rbx
call fcn.14002b508
add rax, rdi
lea rdx, [rax*2 + 0xa]
mov rcx, qword [0x1400722f8]
call fcn.14002bca8
xor edi, edi
test rax, rax
je 0x1400222ee
mov qword [0x1400722f8], rax
test sil, sil
je 0x1400222e3
mov word [rax], di
mov rdx, rbx
mov rcx, rax
call fcn.140030ca0
test r14b, r14b
jne 0x140022bbf
mov rcx, rbx
call fcn.14002bc94
jmp 0x140022bbf
mov eax, 2
cmp r15d, eax
jne 0x140022bbf
mov edx, 0x800
lea rcx, [rbp + 0xf90]
call fcn.14001f74c
mov r9d, 0x800
lea r8, [rbp + 0x7ff0]
lea rdx, [rbp + 0x3fe0]
lea rcx, [rbp + 0xf90]
call fcn.14000ee00
lea rcx, [rbp + 0x6fe0]
call fcn.14000d160
nop
lea rdx, [rbp + 0x7ff0]
lea rcx, [rbp + 0x6fe0]
call fcn.14000d2f8
mov qword [rbp + 0x3fa0], rdi
mov qword [rbp + 0x3fa8], rdi
mov qword [rbp + 0x3fb0], rdi
xor r8d, r8d
lea rdx, [rbp + 0x2f90]
lea rcx, [rbp + 0x6fe0]
call fcn.14000d20c
test al, al
je 0x140022519
or esi, 0xffffffff
mov r13d, 3
xor edx, edx
lea rcx, [rbp + 0x2f90]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [rbp + 0x3f9c], dil
je 0x140022469
mov r8d, 0x800
lea rdx, [rbp + 0x5fe0]
lea rcx, [rbp + 0xf90]
call fcn.14000e8b4
mov edx, 0x800
lea rcx, [rbp + 0x5fe0]
call fcn.14000e508
lea rcx, [rbp + 0xf90]
call fcn.14002b508
mov rbx, rax
cmp rax, 4
jb 0x14002240b
lea rcx, [rbp + 0x5fe0]
call fcn.14002b508
cmp rbx, rax
ja 0x14002241f
lea rcx, [rbp + 0x3fe0]
call fcn.14000edbc
test al, al
jne 0x140022512
lea rcx, [rbp + 0x2f90]
call fcn.14002b508
mov word [rbp + rax*2 + 0x2f92], di
xor edx, edx
lea r8d, [rdx + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140025c40
mov dword [rsp + 0x58], r13d
mov eax, 0x14
mov word [rsp + 0x70], ax
lea rax, [rbp + 0x2f90]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
lea rcx, [rbp + 0x2f90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x1400224f4
lea rcx, [rbp + 0x2f90]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400224f4
mov ebx, edi
mov dword [rsp + 0x20], edi
jmp 0x140022499
inc ebx
mov dword [rsp + 0x20], ebx
lea r9, [rbp + 0x2f90]
lea r8, str._s._d.tmp
mov edx, 0x800
lea rcx, [rbp + 0x1f90]
call fcn.14000513c
lea rcx, [rbp + 0x1f90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
jne 0x140022493
lea rdx, [rbp + 0x1f90]
lea rcx, [rbp + 0x2f90]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400224f4
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [rbp + 0x1f90]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
xor r8d, r8d
lea rdx, [rbp + 0x2f90]
lea rcx, [rbp + 0x6fe0]
call fcn.14000d20c
test al, al
jne 0x14002239f
mov r13, qword [rbp + 0x17040]
lea rcx, [rbp + 0x6fe0]
call fcn.14000d178
jmp 0x140022bbf
cmp r15d, 1
jne 0x1400226b4
lea rdx, [rbp + 0x1f90]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, 0x800
lea rcx, [rbp + 0x1f90]
call fcn.14000e508
xor edi, edi
mov ebx, edi
mov dword [rsp + 0x28], edi
lea r14, [0x140062c92]
jmp 0x14002256e
inc ebx
mov dword [rsp + 0x28], ebx
mov rax, qword [str.RarSFX]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1f90]
lea r8, str._s_s_u
mov edx, 0x800
mov rcx, r14
call fcn.14000513c
mov rcx, r14
call fcn.14000cc2c
test al, al
jne 0x140022568
mov r8, r14
mov edx, 0x66
mov rcx, r13
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp word [rbp + 0x3fe0], di
je 0x140022bbf
cmp byte [0x1400712d1], dil
jne 0x140022bbf
mov word [rbp - 0x70], di
mov edx, 0x2c
lea rcx, [rbp + 0x3fe0]
call fcn.1400276c8
test rax, rax
jne 0x14002262c
mov rbx, rdi
movzx eax, word [rbp + 0x3fe0]
jmp 0x140022603
cmp ax, 0x40
je 0x14002260a
inc rbx
movzx eax, word [rbp + rbx*2 + 0x3fe0]
test ax, ax
jne 0x1400225f2
jmp 0x14002262c
lea rdx, [rbp + 0x3fe2]
lea rdx, [rdx + rbx*2]
mov r8d, 0x200
lea rcx, [rbp - 0x70]
call fcn.140013f3c
mov word [rbp + rbx*2 + 0x3fe0], di
cmp word [rbp - 0x70], di
jne 0x14002265e
mov r8, rsi
lea rdx, [rbp + 0xaff0]
lea rcx, [rbp + 0x3fe0]
call fcn.140013f3c
mov r8d, 0x200
lea rdx, [rbp + 0xcff0]
lea rcx, [rbp - 0x70]
call fcn.140013f3c
lea rcx, [rbp + 0x3fe0]
call fcn.140020014
mov word [rbp + 0x4fe0], di
mov r9d, 0x24
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x3fe0]
mov rcx, r13
call fcn.14001f984
cmp eax, 6
je 0x140022bbf
mov word [0x140062c92], di
mov byte [0x14005a863], 1
mov edx, 1
mov rcx, r13
call qword [sym.imp.USER32.dll_EndDialog]
jmp 0x140022bbf
cmp r15d, 7
jne 0x140022bbf
mov eax, dword [0x140063c94]
test eax, eax
lea ecx, [r15 - 5]
cmove eax, ecx
mov dword [0x140063c94], eax
mov byte [0x140062c90], 1
jmp 0x140022bbf
mov esi, ebx
sub ebx, 8
je 0x140022b76
sub ebx, 1
je 0x140021e6e
sub ebx, 1
je 0x140022794
sub ebx, 1
je 0x14002277e
sub ebx, 1
je 0x14002273b
cmp ebx, 1
jne 0x140022bbf
mov byte [0x1400712d4], bl
xor edi, edi
cmp word [rbp + 0x3fe0], di
je 0x140022bbf
lea rcx, [rbp + 0x3fe0]
call fcn.140015c48
mov dword [0x1400502b8], eax
jmp 0x140022bbf
movzx ecx, word [rbp + 0x3fe0]
call fcn.140030e9c
cmp eax, 0x46
je 0x140022772
cmp eax, 0x55
je 0x140022766
xor edi, edi
mov byte [0x14005a860], dil
mov byte [0x14005a861], dil
jmp 0x140022bbf
mov byte [0x14005a861], 1
jmp 0x140022bbf
mov byte [0x14005a860], 1
jmp 0x140022bbf
cmp r15d, 7
jne 0x140022bbf
mov byte [0x140063c98], 1
jmp 0x140022bbf
cmp r15d, 6
jne 0x140022bbf
xor edi, edi
mov word [rbp + 0xf90], di
movzx ecx, word [rbp + 0xaff0]
call fcn.140030e9c
cmp eax, 0x50
je 0x1400227d9
cmp eax, 0x54
je 0x1400227ca
lea r14d, [r15 + 0xa]
lea rdx, [0x140060872]
jmp 0x1400227e6
mov r14d, 7
lea rdx, [0x14005e872]
jmp 0x1400227e6
mov r14d, 2
lea rdx, [0x14005f872]
mov r8d, 0x800
lea rcx, [rbp + 0xf90]
call fcn.140013f3c
mov word [rbp + 0x5fe0], di
mov word [rbp - 0x70], di
mov r8d, 0x800
lea rdx, [rbp + 0xcff0]
lea rcx, [rbp + 0x1f90]
call fcn.140013f3c
mov esi, 0x22
lea rcx, [rbp + 0x1f90]
cmp word [rbp + 0x1f90], si
jne 0x140022875
mov r8d, 0x800
lea rdx, [rbp + 0xcff2]
call fcn.140013f3c
mov edx, esi
lea rcx, [rbp + 0x1f92]
call fcn.1400276c8
test rax, rax
je 0x14002295d
mov word [rax], di
lea rdx, [rax + 2]
mov r8d, 0x400
lea rcx, [rbp - 0x70]
call fcn.140013f3c
jmp 0x14002295d
call fcn.14000cc2c
test al, al
jne 0x14002295d
mov rsi, rdi
lea rbx, [rbp + 0x1f90]
movzx edi, word [rbp + 0x1f90]
test di, di
je 0x14002295b
xor r13d, r13d
lea eax, [r13 + 2]
lea r15d, [r13 + 0x2f]
cmp di, 0x20
je 0x1400228b3
cmp di, r15w
jne 0x140022932
mov word [rbx], r13w
lea rcx, [rbp + 0x1f90]
call fcn.14000cc2c
test al, al
je 0x14002292a
lea rcx, [rbp + 0x1f90]
call fcn.14000cc40
mov ecx, eax
call fcn.14000cc9c
test al, al
jne 0x14002292a
mov rsi, rbx
lea rdx, [rbx + 2]
cmp di, r15w
jne 0x1400228fc
mov word [rbp - 0x70], r15w
lea rcx, [rbp - 0x6e]
mov r8d, 0x3ff
jmp 0x140022920
mov rbx, rdx
cmp word [rdx], 0x20
jne 0x140022913
mov eax, 2
add rbx, rax
cmp word [rbx], 0x20
je 0x14002290a
lea rcx, [rbp - 0x70]
mov rdx, rbx
mov r8d, 0x400
call fcn.140013f3c
mov word [rsi], di
jmp 0x14002292d
mov word [rbx], di
mov eax, 2
add rbx, rax
movzx edi, word [rbx]
test di, di
jne 0x1400228a7
xor edi, edi
test rsi, rsi
mov r15d, dword [rbp + 0x17050]
mov r13, qword [rbp + 0x17040]
je 0x14002295d
mov word [rsi], di
jmp 0x14002295d
xor edi, edi
cmp word [rbp + 0x14ff0], di
je 0x14002297f
mov r8d, 0x800
lea rdx, [rbp + 0x5fe0]
lea rcx, [rbp + 0x14ff0]
call fcn.14000e548
mov r8d, 0x800
lea rdx, [rbp + 0x6fe0]
lea rcx, [rbp + 0x1f90]
call fcn.14000e548
cmp word [rbp + 0xf90], di
jne 0x1400229b0
mov edx, r14d
lea rcx, [rbp + 0xf90]
call fcn.140020734
mov edx, 0x800
lea rcx, [rbp + 0xf90]
call fcn.14000e508
cmp word [rbp + 0xeff0], di
je 0x1400229f4
mov r8d, 0x800
lea rdx, [rbp + 0xeff0]
lea rcx, [rbp + 0xf90]
call fcn.140013ef8
mov edx, 0x800
lea rcx, [rbp + 0xf90]
call fcn.14000e508
mov r8d, 0x800
lea rdx, [rbp + 0xf90]
lea rcx, [rbp + 0x7ff0]
call fcn.140013f3c
lea rcx, [rbp + 0x12ff0]
lea rax, [rbp + 0xcff0]
cmp word [rbp + 0x12ff0], di
cmove rcx, rax
call fcn.14000f3b8
mov rdx, rax
mov r8d, 0x800
lea rcx, [rbp + 0xf90]
call fcn.140013ef8
lea rcx, [rbp + 0xf90]
call fcn.14000e820
test rax, rax
je 0x140022a64
lea rdx, str..lnk
mov rcx, rax
call fcn.140015c5c
test eax, eax
je 0x140022a7d
mov r8d, 0x800
lea rdx, str..lnk
lea rcx, [rbp + 0xf90]
call fcn.140013ef8
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xf90]
call fcn.14000ca70
mov r8d, 0x800
lea rdx, [rbp + 0x6fe0]
lea rcx, [rbp + 0x2f90]
call fcn.140013f3c
lea rcx, [rbp + 0x2f90]
call fcn.14000f40c
movzx eax, word [rbp + 0x2f90]
neg ax
sbb r9, r9
lea rax, [rbp + 0x2f90]
and r9, rax
movzx eax, word [rbp + 0x10ff0]
neg ax
sbb r8, r8
lea rax, [rbp + 0x10ff0]
and r8, rax
movzx eax, word [rbp + 0x5fe0]
neg ax
sbb rdx, rdx
lea rax, [rbp + 0x5fe0]
and rdx, rax
movzx eax, word [rbp - 0x70]
neg ax
sbb rcx, rcx
lea rax, [rbp - 0x70]
and rcx, rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r8
lea r8, [rbp + 0xf90]
lea rdx, [rbp + 0x6fe0]
xor ecx, ecx
call fcn.14001f524
cmp word [rbp + 0x7ff0], di
je 0x140022bbf
xor r9d, r9d
lea r8, [rbp + 0x7ff0]
lea edx, [r9 + 5]
mov ecx, 0x1000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x140022bbf
cmp r15d, 4
jne 0x140022bbf
lea eax, [r15 + 2]
cmp esi, eax
jne 0x140022bbf
xor r9d, r9d
mov r8d, edi
mov rdx, rbx
mov rcx, r13
call fcn.14002309c
jmp 0x140022bbf
mov eax, 3
cmp r15d, eax
jne 0x140022bb8
xor edi, edi
cmp word [rbp + 0x3fe0], di
je 0x140022b9e
lea rcx, [rbp + 0x3fe0]
call fcn.140030c1c
mov qword [0x140072308], rax
lea rcx, [rbp + 0x17048]
call fcn.1400207b0
mov qword [0x140072300], rax
mov r12, qword [rbp + 0x17048]
mov byte [0x1400712d2], 1
mov dword [rsp + 0x28], 0x1000
lea rax, [rbp + 0x17048]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x17058]
lea r8, [rbp + 0x3fe0]
lea rdx, [rbp + 0x8ff0]
mov rcx, r12
call fcn.14002061c
mov r12, rax
mov qword [rbp + 0x17048], rax
test rax, rax
mov ecx, 6
lea r14d, [rcx - 6]
jne 0x140021dbc
add rsp, 0x170f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret