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

Disassembly:
jmp 0x140032aa0
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 [0x140074400]
xor rax, rbp
mov qword [rbp + 0x728], rax
lea rcx, [0x14007e7e1]
call fcn.140016b68
nop
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 [0x140074d18]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400161f9
nop
lea rdx, str.hui32
lea rcx, [rbp + 0xd0]
call fcn.140016af0
nop
xor edx, edx
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140032b75
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0xb7
je 0x140032b75
jmp 0x140032d65
mov ecx, 0x420
call fcn.140016695
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x140032b95
jmp 0x140032d65
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
nop
mov rax, qword [rbp + 0xa8]
add rax, 0xc
mov rcx, rax
call fcn.140016122
nop
mov rax, qword [rbp + 0xa8]
add rax, 0xc
lea rdx, str.results.cab
mov rcx, rax
call fcn.140016af0
nop
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 [0x1400745c8], rax
cmp qword [0x1400745c8], 0
jne 0x140032c4c
mov rcx, qword [rbp + 0xa8]
call fcn.140016c21
nop
jmp 0x140032d65
mov edx, InitCommonControls
mov rcx, qword [0x1400745c8]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
nop
lea rcx, [rbp + 0xd0]
call fcn.1400161e0
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x140032c79
jmp 0x140032d65
mov eax, 1
lea rcx, [0x1400745d0]
xchg dword [rcx], eax
mov rax, qword [0x140074d18]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400161f9
nop
lea rdx, str.wow64log.dll
lea rcx, [rbp + 0xd0]
call fcn.140016af0
nop
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140032cce
jmp 0x140032cf1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0xa
jb 0x140032cb8
mov eax, 0x30
add rax, 0x7ffe0000
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400161f9
nop
lea rdx, str._syswow64_
lea rcx, [rbp + 0xd0]
call fcn.140016af0
nop
lea rdx, str.wusa.exe
lea rcx, [rbp + 0xd0]
call fcn.140016af0
nop
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 0x140032d5b
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x140032b1a
cmp qword [0x1400745c8], 0
je 0x140032d98
xor edx, edx
mov rcx, qword [0x1400745c8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
nop
mov rcx, qword [0x1400745c8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [0x1400745c8], 0
cmp dword [rbp + 0x24], 0
jl 0x140032da5
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14005e600]
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