Function at 0x140020d30
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 0x140021c1b
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.140023d60
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.14001f568
mov r12, rax
mov qword [rbp + 0x17048], rax
test rax, rax
je 0x140021c08
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.14001f16c
add rbx, 0x2000
sub rdi, 1
jne 0x140020dce
mov ebx, r14d
lea rdi, str.Delete
mov rdx, qword [rdi]
lea rcx, [rbp + 0x8ff0]
call fcn.1400141c0
test eax, eax
je 0x140020e16
inc ebx
add rdi, 8
cmp ebx, 0xe
jb 0x140020df3
jmp 0x140021bbb
cmp ebx, 7
jg 0x1400216db
je 0x140021526
mov esi, ebx
xor edi, edi
test ebx, ebx
je 0x140021300
sub ebx, 1
je 0x14002123c
sub ebx, 1
je 0x14002121e
sub ebx, 1
je 0x140020fe3
sub ebx, 1
je 0x140020faa
sub ebx, 1
je 0x140020f5e
cmp ebx, 1
jne 0x140021bbb
xor r14d, r14d
mov byte [0x140053917], 1
mov edi, 1
lea rbx, [rbp + 0x3fe0]
cmp word [rbp + 0x3fe0], 0x3c
jne 0x140020f43
lea edx, [rdi + 0x3d]
lea rcx, [rbp + 0x3fe2]
call fcn.140025fe8
test rax, rax
je 0x140020f43
lea rbx, [rax + 2]
mov word [rax], r14w
lea r8d, [rdi + 0x63]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x3fe2]
call fcn.14001f16c
mov r14, rax
xor eax, eax
test r14, r14
je 0x140020f43
lea r13d, [rdi + 5]
lea r15d, [rdi + 2]
cmp word [rbp - 0x70], ax
je 0x140020f35
lea rdx, str.HIDE
lea rcx, [rbp - 0x70]
call fcn.1400141c0
neg eax
sbb ecx, ecx
and edi, ecx
lea rdx, [0x14003b9d0]
lea rcx, [rbp - 0x70]
call fcn.1400141c0
test eax, eax
cmove edi, r15d
lea rdx, [0x14003b9d8]
lea rcx, [rbp - 0x70]
call fcn.1400141c0
test eax, eax
cmove edi, r13d
mov r8d, 0x64
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.14001f16c
mov r14, rax
xor eax, eax
test r14, r14
jne 0x140020ed1
mov r15d, dword [rbp + 0x17050]
mov r13, qword [rbp + 0x17040]
cmp r15d, 5
jne 0x140021b51
cmp esi, 9
jne 0x140021bbb
mov r9b, 1
jmp 0x140021b62
movzx ecx, word [rbp + 0x3fe0]
test ecx, ecx
je 0x140020f97
sub ecx, 0x30
je 0x140020f84
sub ecx, 1
je 0x140020f97
cmp ecx, 1
jne 0x140021bbb
mov byte [0x1400538e7], cl
jmp 0x140020f8b
mov byte [0x1400538e7], dil
mov byte [0x1400538fc], dil
jmp 0x140021bbb
mov byte [0x1400538e7], dil
mov byte [0x1400538fc], 1
jmp 0x140021bbb
cmp dword [0x140055924], 1
je 0x140021bbb
movzx ecx, word [rbp + 0x3fe0]
call fcn.140012314
test al, al
je 0x140020fd3
movzx eax, word [rbp + 0x3fe0]
sub eax, 0x30
jmp 0x140020fd8
mov eax, 2
mov dword [0x140055924], eax
jmp 0x140021bbb
test r15d, r15d
jne 0x140021bbb
cmp word [0x14005592a], di
jne 0x140021bbb
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.140028c68
cmp rax, 0x800
jae 0x140021bbb
cmp word [rdi], 0x2e
jne 0x14002105e
cmp word [rdi + 2], 0x5c
jne 0x140021068
lea rdx, [rdi + 4]
xor edi, edi
cmp word [rdx], di
je 0x140021bbb
mov r8d, 0x800
lea rcx, [rbp - 0x70]
call fcn.1400124e0
jmp 0x14002117e
cmp word [rdi], 0x5c
je 0x14002116a
xor ebx, ebx
cmp word [rdi], bx
je 0x14002107a
cmp word [rdi + 2], 0x3a
je 0x14002116a
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 0x140021107
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 0x14002110d
mov r14d, 0x7ff
cmp word [rbp - 0x70], bx
je 0x14002113a
lea rcx, [rbp - 0x70]
call fcn.140028c68
cmp word [rbp + rax*2 - 0x72], 0x5c
je 0x14002113a
mov r8d, 0x800
lea rdx, [0x14003b9b8]
lea rcx, [rbp - 0x70]
call fcn.14001249c
mov rcx, rdi
call fcn.140028c68
mov rbx, rax
lea rcx, [rbp - 0x70]
call fcn.140028c68
add rbx, rax
cmp rbx, r14
jae 0x14002117c
mov r8d, 0x800
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.14001249c
jmp 0x14002117c
mov r8d, 0x800
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.1400124e0
xor edi, edi
mov edx, esi
lea rcx, [rbp - 0x70]
call fcn.140026398
test rax, rax
je 0x140021197
cmp word [rax + 2], di
jne 0x140021197
mov word [rax], di
mov r8d, 0x800
lea rdx, [rbp - 0x70]
lea rsi, [0x14005592a]
mov rcx, rsi
call fcn.1400124e0
mov edx, 0x800
lea rcx, [rbp - 0x70]
call fcn.14001f388
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.140028c9c
test eax, eax
je 0x140021bbb
lea r9, [rbp - 0x70]
xor r8d, r8d
mov edx, 0x143
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140021bbb
test r15d, r15d
jne 0x140021bbb
lea rdx, [rbp + 0x3fe0]
mov rcx, r13
call qword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x140021bbb
test r15d, r15d
jne 0x140021bbb
mov rcx, qword [0x14006b358]
test rcx, rcx
sete sil
test rcx, rcx
je 0x14002126b
lea rdx, str._br_
call fcn.14002cb00
mov rcx, qword [0x14006b358]
mov r14b, byte [rbp + 0x17058]
test r14b, r14b
je 0x140021280
lea rbx, [rbp + 0x3fe0]
jmp 0x14002129d
lea rcx, [rbp + 0x17048]
call fcn.14001f6fc
mov rbx, rax
mov r12, qword [rbp + 0x17048]
mov rcx, qword [0x14006b358]
test sil, sil
jne 0x1400212aa
call fcn.140028c68
mov rdi, rax
mov rcx, rbx
call fcn.140028c68
add rax, rdi
lea rdx, [rax*2 + 0xa]
mov rcx, qword [0x14006b358]
call fcn.140028c94
xor edi, edi
test rax, rax
je 0x1400212ea
mov qword [0x14006b358], rax
test sil, sil
je 0x1400212df
mov word [rax], di
mov rdx, rbx
mov rcx, rax
call fcn.14002cb00
test r14b, r14b
jne 0x140021bbb
mov rcx, rbx
call fcn.140028c84
jmp 0x140021bbb
mov eax, 2
cmp r15d, eax
jne 0x140021bbb
mov edx, 0x800
lea rcx, [rbp + 0xf90]
call fcn.14001e6cc
mov r9d, 0x800
lea r8, [rbp + 0x7ff0]
lea rdx, [rbp + 0x3fe0]
lea rcx, [rbp + 0xf90]
call fcn.14000d36c
lea rcx, [rbp + 0x6fe0]
call fcn.14000b75c
nop
lea rdx, [rbp + 0x7ff0]
lea rcx, [rbp + 0x6fe0]
call fcn.14000b8f4
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.14000b808
test al, al
je 0x140021515
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 0x140021465
mov r8d, 0x800
lea rdx, [rbp + 0x5fe0]
lea rcx, [rbp + 0xf90]
call fcn.14000ce20
mov edx, 0x800
lea rcx, [rbp + 0x5fe0]
call fcn.14000ca7c
lea rcx, [rbp + 0xf90]
call fcn.140028c68
mov rbx, rax
cmp rax, 4
jb 0x140021407
lea rcx, [rbp + 0x5fe0]
call fcn.140028c68
cmp rbx, rax
ja 0x14002141b
lea rcx, [rbp + 0x3fe0]
call fcn.14000d328
test al, al
jne 0x14002150e
lea rcx, [rbp + 0x2f90]
call fcn.140028c68
mov word [rbp + rax*2 + 0x2f92], di
xor edx, edx
lea r8d, [rdx + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140024d90
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 0x1400214f0
lea rcx, [rbp + 0x2f90]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400214f0
mov ebx, edi
mov dword [rsp + 0x20], edi
jmp 0x140021495
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.1400045e8
lea rcx, [rbp + 0x1f90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
jne 0x14002148f
lea rdx, [rbp + 0x1f90]
lea rcx, [rbp + 0x2f90]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400214f0
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.14000b808
test al, al
jne 0x14002139b
mov r13, qword [rbp + 0x17040]
lea rcx, [rbp + 0x6fe0]
call fcn.14000b774
jmp 0x140021bbb
cmp r15d, 1
jne 0x1400216b0
lea rdx, [rbp + 0x1f90]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, 0x800
lea rcx, [rbp + 0x1f90]
call fcn.14000ca7c
xor edi, edi
mov ebx, edi
mov dword [rsp + 0x28], edi
lea r14, [0x140054922]
jmp 0x14002156a
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.1400045e8
mov rcx, r14
call fcn.14000b3cc
test al, al
jne 0x140021564
mov r8, r14
mov edx, 0x66
mov rcx, r13
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp word [rbp + 0x3fe0], di
je 0x140021bbb
cmp byte [0x140053915], dil
jne 0x140021bbb
mov word [rbp - 0x70], di
mov edx, 0x2c
lea rcx, [rbp + 0x3fe0]
call fcn.140025fe8
test rax, rax
jne 0x140021628
mov rbx, rdi
movzx eax, word [rbp + 0x3fe0]
jmp 0x1400215ff
cmp ax, 0x40
je 0x140021606
inc rbx
movzx eax, word [rbp + rbx*2 + 0x3fe0]
test ax, ax
jne 0x1400215ee
jmp 0x140021628
lea rdx, [rbp + 0x3fe2]
lea rdx, [rdx + rbx*2]
mov r8d, 0x200
lea rcx, [rbp - 0x70]
call fcn.1400124e0
mov word [rbp + rbx*2 + 0x3fe0], di
cmp word [rbp - 0x70], di
jne 0x14002165a
mov r8, rsi
lea rdx, [rbp + 0xaff0]
lea rcx, [rbp + 0x3fe0]
call fcn.1400124e0
mov r8d, 0x200
lea rdx, [rbp + 0xcff0]
lea rcx, [rbp - 0x70]
call fcn.1400124e0
lea rcx, [rbp + 0x3fe0]
call fcn.14001ef44
mov word [rbp + 0x4fe0], di
mov r9d, 0x24
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x3fe0]
mov rcx, r13
call fcn.14001e904
cmp eax, 6
je 0x140021bbb
mov word [0x140054922], di
mov byte [0x1400538e4], 1
mov edx, 1
mov rcx, r13
call qword [sym.imp.USER32.dll_EndDialog]
jmp 0x140021bbb
cmp r15d, 7
jne 0x140021bbb
mov eax, dword [0x140055924]
test eax, eax
lea ecx, [r15 - 5]
cmove eax, ecx
mov dword [0x140055924], eax
mov byte [0x140054920], 1
jmp 0x140021bbb
mov esi, ebx
sub ebx, 8
je 0x140021b72
sub ebx, 1
je 0x140020e6a
sub ebx, 1
je 0x140021790
sub ebx, 1
je 0x14002177a
sub ebx, 1
je 0x140021737
cmp ebx, 1
jne 0x140021bbb
mov byte [0x140057a2c], bl
xor edi, edi
cmp word [rbp + 0x3fe0], di
je 0x140021bbb
lea rcx, [rbp + 0x3fe0]
call fcn.1400141ac
mov dword [0x140049900], eax
jmp 0x140021bbb
movzx ecx, word [rbp + 0x3fe0]
call fcn.14002ce78
cmp eax, 0x46
je 0x14002176e
cmp eax, 0x55
je 0x140021762
xor edi, edi
mov byte [0x1400538fd], dil
mov byte [0x1400538fe], dil
jmp 0x140021bbb
mov byte [0x1400538fe], 1
jmp 0x140021bbb
mov byte [0x1400538fd], 1
jmp 0x140021bbb
cmp r15d, 7
jne 0x140021bbb
mov byte [0x140055928], 1
jmp 0x140021bbb
cmp r15d, 6
jne 0x140021bbb
xor edi, edi
mov word [rbp + 0xf90], di
movzx ecx, word [rbp + 0xaff0]
call fcn.14002ce78
cmp eax, 0x50
je 0x1400217d5
cmp eax, 0x54
je 0x1400217c6
lea r14d, [r15 + 0xa]
lea rdx, [0x140069242]
jmp 0x1400217e2
mov r14d, 7
lea rdx, [0x140067242]
jmp 0x1400217e2
mov r14d, 2
lea rdx, [0x140068242]
mov r8d, 0x800
lea rcx, [rbp + 0xf90]
call fcn.1400124e0
mov word [rbp + 0x2f90], di
mov word [rbp - 0x70], di
mov r8d, 0x800
lea rdx, [rbp + 0xcff0]
lea rcx, [rbp + 0x1f90]
call fcn.1400124e0
mov esi, 0x22
lea rcx, [rbp + 0x1f90]
cmp word [rbp + 0x1f90], si
jne 0x140021871
mov r8d, 0x800
lea rdx, [rbp + 0xcff2]
call fcn.1400124e0
mov edx, esi
lea rcx, [rbp + 0x1f92]
call fcn.140025fe8
test rax, rax
je 0x140021959
mov word [rax], di
lea rdx, [rax + 2]
mov r8d, 0x400
lea rcx, [rbp - 0x70]
call fcn.1400124e0
jmp 0x140021959
call fcn.14000b3cc
test al, al
jne 0x140021959
mov rsi, rdi
lea rbx, [rbp + 0x1f90]
movzx edi, word [rbp + 0x1f90]
test di, di
je 0x140021957
xor r13d, r13d
lea eax, [r13 + 2]
lea r15d, [r13 + 0x2f]
cmp di, 0x20
je 0x1400218af
cmp di, r15w
jne 0x14002192e
mov word [rbx], r13w
lea rcx, [rbp + 0x1f90]
call fcn.14000b3cc
test al, al
je 0x140021926
lea rcx, [rbp + 0x1f90]
call fcn.14000b3e0
mov ecx, eax
call fcn.14000b43c
test al, al
jne 0x140021926
mov rsi, rbx
lea rdx, [rbx + 2]
cmp di, r15w
jne 0x1400218f8
mov word [rbp - 0x70], r15w
lea rcx, [rbp - 0x6e]
mov r8d, 0x3ff
jmp 0x14002191c
mov rbx, rdx
cmp word [rdx], 0x20
jne 0x14002190f
mov eax, 2
add rbx, rax
cmp word [rbx], 0x20
je 0x140021906
lea rcx, [rbp - 0x70]
mov rdx, rbx
mov r8d, 0x400
call fcn.1400124e0
mov word [rsi], di
jmp 0x140021929
mov word [rbx], di
mov eax, 2
add rbx, rax
movzx edi, word [rbx]
test di, di
jne 0x1400218a3
xor edi, edi
test rsi, rsi
mov r15d, dword [rbp + 0x17050]
mov r13, qword [rbp + 0x17040]
je 0x140021959
mov word [rsi], di
jmp 0x140021959
xor edi, edi
cmp word [rbp + 0x14ff0], di
je 0x14002197b
mov r8d, 0x800
lea rdx, [rbp + 0x2f90]
lea rcx, [rbp + 0x14ff0]
call fcn.14000cabc
mov r8d, 0x800
lea rdx, [rbp + 0x6fe0]
lea rcx, [rbp + 0x1f90]
call fcn.14000cabc
cmp word [rbp + 0xf90], di
jne 0x1400219ac
mov edx, r14d
lea rcx, [rbp + 0xf90]
call fcn.14001f680
mov edx, 0x800
lea rcx, [rbp + 0xf90]
call fcn.14000ca7c
cmp word [rbp + 0xeff0], di
je 0x1400219f0
mov r8d, 0x800
lea rdx, [rbp + 0xeff0]
lea rcx, [rbp + 0xf90]
call fcn.14001249c
mov edx, 0x800
lea rcx, [rbp + 0xf90]
call fcn.14000ca7c
mov r8d, 0x800
lea rdx, [rbp + 0xf90]
lea rcx, [rbp + 0x7ff0]
call fcn.1400124e0
lea rcx, [rbp + 0x12ff0]
lea rax, [rbp + 0xcff0]
cmp word [rbp + 0x12ff0], di
cmove rcx, rax
call fcn.14000d924
mov rdx, rax
mov r8d, 0x800
lea rcx, [rbp + 0xf90]
call fcn.14001249c
lea rcx, [rbp + 0xf90]
call fcn.14000cd8c
test rax, rax
je 0x140021a60
lea rdx, str..lnk
mov rcx, rax
call fcn.1400141c0
test eax, eax
je 0x140021a79
mov r8d, 0x800
lea rdx, str..lnk
lea rcx, [rbp + 0xf90]
call fcn.14001249c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xf90]
call fcn.14000b210
mov r8d, 0x800
lea rdx, [rbp + 0x6fe0]
lea rcx, [rbp + 0x5fe0]
call fcn.1400124e0
lea rcx, [rbp + 0x5fe0]
call fcn.14000d978
movzx eax, word [rbp - 0x70]
neg ax
sbb r8, r8
lea rax, [rbp - 0x70]
and r8, rax
movzx eax, word [rbp + 0x2f90]
neg ax
sbb rdx, rdx
lea rax, [rbp + 0x2f90]
and rdx, rax
movzx eax, word [rbp + 0x10ff0]
neg ax
sbb rcx, rcx
lea rax, [rbp + 0x10ff0]
and rcx, rax
movzx eax, word [rbp + 0x5fe0]
neg ax
sbb r9, r9
lea rax, [rbp + 0x5fe0]
and r9, rax
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0xf90]
lea rdx, [rbp + 0x6fe0]
xor ecx, ecx
call fcn.14001e4a4
cmp word [rbp + 0x7ff0], di
je 0x140021bbb
xor r9d, r9d
lea r8, [rbp + 0x7ff0]
lea edx, [r9 + 5]
mov ecx, 0x1000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x140021bbb
cmp r15d, 4
jne 0x140021bbb
lea eax, [r15 + 2]
cmp esi, eax
jne 0x140021bbb
xor r9d, r9d
mov r8d, edi
mov rdx, rbx
mov rcx, r13
call fcn.14002209c
jmp 0x140021bbb
mov eax, 3
cmp r15d, eax
jne 0x140021bb4
xor edi, edi
cmp word [rbp + 0x3fe0], di
je 0x140021b9a
lea rcx, [rbp + 0x3fe0]
call fcn.14002ca7c
mov qword [0x14006b368], rax
lea rcx, [rbp + 0x17048]
call fcn.14001f6fc
mov qword [0x14006b360], rax
mov r12, qword [rbp + 0x17048]
mov byte [0x140053916], 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.14001f568
mov r12, rax
mov qword [rbp + 0x17048], rax
test rax, rax
mov ecx, 6
lea r14d, [rcx - 6]
jne 0x140020db8
add rsp, 0x170f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret