Function at 0x140029078
Capabilities:
Create directory
Create thread
Get common file path
Set environment variable

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov eax, 0x5e
mov edi, r9d
mov esi, r8d
mov rbx, rdx
cmp ax, word [rdx]
jne 0x1400290ac
add rbx, 2
mov qword [r11 + 0x10], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x80]
lea edx, [rax + 0x400]
call fcn.14004bedc
mov rax, qword [rsp + 0x80]
xor ebp, ebp
lea r8d, [rbp + 0x24]
mov qword [rsp + 0x50], rax
mov cx, bp
mov ax, bp
mov word [rsp + 0x40], bp
lea edx, [rbp + 0x23]
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x4c], eax
cmp esi, r8d
jne 0x1400290ff
mov eax, r8d
mov dword [rsp + 0x4c], eax
jmp 0x140029109
cmp esi, edx
jne 0x140029109
mov ecx, edx
mov dword [rsp + 0x44], edx
cmp r8w, word [rbx]
jne 0x14002911c
cmp ax, bp
jne 0x14002911c
mov word [rsp + 0x4c], r8w
jmp 0x14002912b
cmp dx, word [rbx]
jne 0x140029137
cmp cx, bp
jne 0x140029137
mov word [rsp + 0x44], dx
add rbx, 2
mov qword [rsp + 0xb8], rbx
mov eax, 0x20
cmp ax, word [rbx]
jne 0x14002914d
add rbx, 2
mov qword [rsp + 0xb8], rbx
mov ecx, 0x2a
lea eax, [rcx + 3]
cmp cx, word [rbx]
je 0x14002915f
cmp ax, word [rbx]
jne 0x140029173
movzx eax, word [rbx]
add rbx, 2
mov word [rsp + 0x40], ax
mov qword [rsp + 0xb8], rbx
cmp sil, bpl
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x48], ebp
setne al
mov byte [rsp + 0x30], al
call fcn.14004be6c
cmp word [rbx], bp
jne 0x1400292a2
cmp edi, ebp
je 0x14002929d
cmp edi, 0x23
je 0x14002929d
mov rbx, qword [rsp + 0x50]
lea rdi, str.Favorites
mov ebp, 8
mov r8, qword [rdi]
lea rdx, str._s
mov rcx, rbx
add r8, 2
call fcn.1400118ec
mov r8d, dword [rdi - 8]
mov r9d, 1
movsxd rcx, eax
lea rax, [rbx + rcx*2]
xor ecx, ecx
mov rdx, rax
mov qword [rsp + 0x50], rax
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140029285
cmp dword [rdi - 8], 0x1a
jne 0x140029223
mov rcx, qword [rsp + 0x50]
lea rdx, str.MicrosoftInternet_ExplorerQuick_Launch
call fcn.1400b9a40
mov rcx, qword [rsp + 0x50]
call fcn.1400178ec
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, str.HKCUEnvironment_
lea rcx, [rsp + 0x58]
call fcn.1400589a0
lea rcx, [rsp + 0x58]
mov rdx, rbx
call fcn.14004bfa8
mov rdx, qword [rsp + 0x58]
lea rcx, [0x1400f1e30]
mov r8b, 1
call fcn.140072908
mov r8, qword [rsp + 0x50]
mov rdx, qword [rdi]
lea rcx, [0x1400f1e30]
call fcn.14004b578
mov rcx, qword [rsp + 0xb0]
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, esi
mov rdx, rbx
call fcn.140029078
add rdi, 0x10
sub rbp, 1
jne 0x1400291b6
mov rbx, qword [rsp + 0xb8]
jmp 0x1400292a2
mov byte [rsp + 0x30], 0x10
mov rdi, qword [rsp + 0xd0]
xor r10d, r10d
mov sil, bpl
mov r8b, r10b
mov byte [rsp + 0xc0], r10b
cmp rdi, r10
je 0x140029434
mov rax, rdi
cmp word [rdi], r10w
je 0x140029434
lea ecx, [r10 + 9]
lea r11d, [r10 + 0x7e]
lea r9d, [r10 + 0x65]
lea ebx, [rcx + 0x1b]
lea edi, [rcx + 0x25]
lea edx, [rcx + 0x17]
cmp cx, word [rax]
ja 0x1400292f5
cmp word [rax], 0xd
jbe 0x1400293d7
cmp dx, word [rax]
je 0x1400293d7
cmp di, word [rax]
je 0x1400293c9
cmp bx, word [rax]
je 0x1400293c9
mov ecx, 0x25
cmp cx, word [rax]
je 0x1400293c4
mov ecx, 0x2a
cmp cx, word [rax]
jne 0x140029331
or sil, 4
jmp 0x1400293c4
cmp r11w, word [rax]
jne 0x14002937f
cmp r11w, word [rax + 2]
jne 0x140029348
or sil, 2
add rax, 2
jmp 0x1400293c4
cmp r11w, word [rax]
jne 0x14002937f
cmp di, word [rax + 2]
jne 0x14002935a
or sil, 8
jmp 0x140029342
cmp r11w, word [rax]
jne 0x14002937f
mov edx, ecx
cmp dx, word [rax + 2]
mov edx, 0x20
jne 0x140029373
or sil, 9
jmp 0x140029342
cmp r11w, word [rax]
jne 0x14002937f
or sil, 1
jmp 0x1400293c4
mov ecx, 0x2d
cmp cx, word [rax]
jne 0x140029497
cmp r9w, word [rax + 2]
jne 0x140029497
mov ecx, 0x6e
cmp cx, word [rax + 4]
jne 0x140029497
lea r9d, [rcx + 8]
cmp r9w, word [rax + 6]
jne 0x140029497
or bpl, 0x40
add rax, 6
mov r9d, 0x65
mov ecx, 9
add rax, 2
cmp word [rax], r10w
jne 0x1400292e6
mov rdi, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xb8]
movzx edx, word [rdi]
cmp r8b, r10b
je 0x140029434
mov sil, r10b
mov eax, 0x20
cmp cx, dx
ja 0x140029402
cmp dx, 0xd
jbe 0x140029414
cmp ax, dx
je 0x140029414
add rdi, 2
mov dx, word [rdi]
cmp dx, r10w
jne 0x1400293f7
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0xd0], rdi
call fcn.140011910
mov rdi, qword [rsp + 0xd0]
mov rbx, rdi
mov edx, 0x3d
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrChrW]
xor ecx, ecx
mov qword [rsp + 0x38], rax
cmp rax, rcx
je 0x140029457
mov word [rax], cx
add qword [rsp + 0x38], 2
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x60], rcx
cmp byte [rax + 0xd2], cl
jne 0x14002951a
test byte [rax + 0xd], 0xf
jne 0x14002951a
lea r8, [rsp + 0x60]
xor r9d, r9d
mov rdx, rbx
mov rcx, rax
mov byte [rsp + 0x20], 1
call fcn.1400564f8
jmp 0x140029532
mov r9d, 0x2d
cmp r9w, word [rax]
jne 0x1400293be
lea ecx, [r9 + 0x45]
cmp cx, word [rax + 2]
jne 0x1400294d5
lea ecx, [r9 + 0x34]
cmp cx, word [rax + 4]
jne 0x1400294d5
lea r9d, [rcx + 0x16]
cmp r9w, word [rax + 6]
jne 0x1400294cf
or r8b, 0x40
jmp 0x1400293ba
mov r9d, 0x2d
cmp r9w, word [rax]
jne 0x1400293be
mov r9d, 0x65
cmp r9w, word [rax + 2]
jne 0x1400293c4
mov r9d, 0x78
cmp r9w, word [rax + 4]
lea ecx, [r9 - 0x6f]
lea r9d, [rcx + 0x5c]
jne 0x1400293c9
mov byte [rsp + 0xc0], 1
add rax, 4
jmp 0x1400293c9
lea r8, [rsp + 0x60]
xor r9d, r9d
mov rdx, rbx
mov rcx, rax
mov byte [rsp + 0x20], 1
call fcn.140054c4c
mov rbx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x38]
xor ecx, ecx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x68], ecx
cmp sil, cl
je 0x14002957e
cmp rax, rcx
je 0x1400295ba
lea rcx, [rsp + 0x78]
mov rdx, rax
or bpl, sil
call fcn.1400589a0
mov rcx, qword [rsp + 0xb0]
mov r8b, bpl
mov rdx, rax
call fcn.14006d810
mov qword [rsp + 0x38], rax
xor esi, esi
cmp rax, rsi
je 0x1400295bc
lea r9, [rsp + 0x68]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x38]
mov r8, rdi
call fcn.14005dac8
mov rax, qword [rsp + 0x38]
cmp rax, rsi
je 0x1400295bc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
mov rax, qword [rsp + 0x38]
add edi, edi
jmp 0x1400295be
xor esi, esi
mov edi, esi
cmp word [rbx], si
je 0x140029688
cmp word [rsp + 0x4c], si
je 0x140029604
mov r8, rbx
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
mov rcx, 0xffffffff80000002
cmp rax, rsi
jne 0x1400295eb
call fcn.140045ee4
jmp 0x1400295ff
mov r9d, 1
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call fcn.140045e70
mov rax, qword [rsp + 0x38]
cmp word [rbx], si
je 0x140029688
cmp word [rsp + 0x44], si
je 0x140029646
mov r8, rbx
lea rdx, str.Environment
mov rcx, 0xffffffff80000001
cmp rax, rsi
jne 0x14002962d
call fcn.140045ee4
jmp 0x140029641
mov r9d, 1
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call fcn.140045e70
mov rax, qword [rsp + 0x38]
cmp word [rbx], si
je 0x140029688
cmp byte [rsp + 0xc0], sil
je 0x14002966a
mov rcx, qword [rsp + 0xb0]
mov rdx, rax
call fcn.14004fed8
mov qword [rsp + 0x38], rax
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp eax, esi
je 0x14002967e
mov ebx, esi
jmp 0x14002968c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14002968c
mov ebx, dword [rsp + 0x48]
mov al, byte [rsp + 0x30]
cmp al, sil
je 0x1400296f8
mov cx, word [rsp + 0x40]
mov edx, 0x2a
cmp dx, cx
je 0x1400296f8
mov edx, 0x2d
cmp dx, cx
je 0x1400296d1
mov cl, byte [0x1400f1b35]
cmp cl, dl
je 0x1400296d1
cmp al, 0x10
je 0x1400296ca
cmp cl, sil
je 0x1400296ca
mov byte [0x1400f1b36], 1
jmp 0x1400296f8
call fcn.1400142a0
jmp 0x1400296f8
lea rax, [0x1400f18ac]
mov edx, 0x10000
lea r8, [0x140028ef0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x20], edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rsp + 0x70]
call fcn.140044f24
lea rcx, [rsp + 0x78]
call fcn.140044f24
lea rcx, [rsp + 0x60]
call fcn.140044f24
lea rcx, [rsp + 0x58]
call fcn.140044f24
lea rcx, [rsp + 0x80]
call fcn.140044f24
mov eax, ebx
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret