Function at 0x1400166b3
Capabilities:
Check if file exists
Create directory
Create thread
Get file attributes
Terminate thread

Disassembly:
jmp 0x140032230
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x768
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x13e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x788]
mov rax, qword [0x140073340]
xor rax, rbp
mov qword [rbp + 0x728], rax
lea rcx, [0x14007d7e1]
call fcn.140016b68
mov dword [rbp + 4], 0xc0000022
mov dword [rbp + 0x84], 0
mov qword [rbp + 0xa8], 0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbp + 0x24], eax
mov rax, qword [0x140073c58]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400161f9
lea rdx, str.hui32
lea rcx, [rbp + 0xd0]
call fcn.140016af0
xor edx, edx
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140032302
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0xb7
je 0x140032302
jmp 0x1400324e7
mov ecx, 0x420
call fcn.140016695
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x140032322
jmp 0x1400324e7
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x750]
mov qword [rax], rcx
mov rax, qword [rbp + 0xa8]
mov ecx, dword [rbp + 0x758]
mov dword [rax + 8], ecx
mov rax, qword [rbp + 0xa8]
add rax, 0xc
lea rdx, [rbp + 0xd0]
mov rcx, rax
call fcn.1400161f9
mov rax, qword [rbp + 0xa8]
add rax, 0xc
mov rcx, rax
call fcn.140016122
mov rax, qword [rbp + 0xa8]
add rax, 0xc
lea rdx, str.results.cab
mov rcx, rax
call fcn.140016af0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0xa8]
lea r8, [0x1400160c3]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140073508], rax
cmp qword [0x140073508], 0
jne 0x1400323d5
mov rcx, qword [rbp + 0xa8]
call fcn.140016c1c
jmp 0x1400324e7
mov edx, InitCommonControls
mov rcx, qword [0x140073508]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea rcx, [rbp + 0xd0]
call fcn.1400161e0
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x140032401
jmp 0x1400324e7
mov eax, 1
lea rcx, [0x140073510]
xchg dword [rcx], eax
mov rax, qword [0x140073c58]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400161f9
lea rdx, str.wow64log.dll
lea rcx, [rbp + 0xd0]
call fcn.140016af0
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140032454
jmp 0x140032476
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0xa
jb 0x14003243e
mov eax, 0x30
add rax, 0x7ffe0000
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400161f9
lea rdx, str._syswow64_
lea rcx, [rbp + 0xd0]
call fcn.140016af0
lea rdx, str.wusa.exe
lea rcx, [rbp + 0xd0]
call fcn.140016af0
mov dword [rsp + 0x20], 0x1388
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xd0]
call fcn.14001689d
test eax, eax
je 0x1400324dd
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x1400322a9
cmp qword [0x140073508], 0
je 0x140032518
xor edx, edx
mov rcx, qword [0x140073508]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x140073508]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140073508], 0
cmp dword [rbp + 0x24], 0
jl 0x140032524
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14005d490]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x728]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x738]
pop rdi
pop rbp
ret