Function at 0x140029620
Capabilities:
Create directory
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xca0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0xce0], rbx
mov rax, qword [0x14012ce40]
xor rax, rsp
mov qword [rsp + 0xc90], rax
mov ebp, r8d
mov rsi, rdx
mov rbx, rcx
mov word [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.1400b57e0
mov word [rsp + 0x250], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x252]
call fcn.1400b57e0
mov word [rsp + 0x460], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x462]
call fcn.1400b57e0
mov word [rsp + 0x670], 0
xor edx, edx
mov r8d, 0x3fe
lea rcx, [rsp + 0x672]
call fcn.1400b57e0
xor r12d, r12d
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x140029708
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400296fe
mov rcx, rax
call fcn.140050830
jmp 0x140029701
mov rax, r12
mov qword [0x1401370f0], rax
lea rdx, str.MakeSIShortCuts__
mov rcx, rax
call fcn.140050c00
lea rdx, [0x1400f1138]
mov rcx, rbx
call fcn.14004e060
mov edi, r12d
mov r13d, 1
test eax, eax
cmovne edi, r13d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 0x16]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140029cd0
mov word [rsp + 0xa70], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xa72]
call fcn.1400b57e0
test edi, edi
je 0x1400297f5
mov rdi, qword [0x140136ce8]
test rdi, rdi
jne 0x1400297d6
lea ecx, [rdi + 0x30]
call fcn.140084d88
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400297cc
lea ecx, [r13 + 0x1f]
call fcn.140084d88
nop
test rax, rax
je 0x1400297ba
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
jmp 0x1400297bd
mov rax, r12
mov qword [rdi + 0x28], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x1400297cf
mov rdi, r12
mov qword [0x140136ce8], rdi
mov r9d, 0x104
lea r8, [rsp + 0xa70]
lea rdx, str.P1100_SHORTCUT_DIRECTORY
mov rcx, rdi
call fcn.14004a950
jmp 0x14002986d
mov rdi, qword [0x140136ce8]
test rdi, rdi
jne 0x140029850
lea ecx, [rdi + 0x30]
call fcn.140084d88
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140029846
mov ecx, 0x20
call fcn.140084d88
nop
test rax, rax
je 0x140029834
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
jmp 0x140029837
mov rax, r12
mov qword [rdi + 0x28], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x140029849
mov rdi, r12
mov qword [0x140136ce8], rdi
mov r9d, 0x104
lea r8, [rsp + 0xa70]
lea rdx, str.P1600_SHORTCUT_DIRECTORY
mov rcx, rdi
call fcn.14004a950
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, [0x1400e93f4]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x40]
lea r8, [0x1400ecb00]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.1400b1010
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, [rsp + 0xa70]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x40]
lea r8, [0x1400ecb00]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.1400b1010
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, str.Uninstall.exe
mov qword [rsp + 0x20], rdx
mov r9, rsi
lea r8, [0x1400ecb00]
mov edx, 0x104
lea rcx, [rsp + 0x460]
call fcn.1400b1010
mov rdi, qword [0x140137100]
test rdi, rdi
jne 0x140029952
mov ecx, 0x210
call fcn.140084d88
mov rdi, rax
test rax, rax
je 0x140029948
mov qword [rax], r12
lea rcx, [rax + 8]
mov word [rcx], 0
lea r8, [0x1400efef4]
mov edx, 0x104
call fcn.1400b1b70
jmp 0x14002994b
mov rdi, r12
mov qword [0x140137100], rdi
mov word [rsp + 0x670], 0
lea r8, str.String_Not_Found
mov edx, 0x200
lea rcx, [rsp + 0x670]
call fcn.1400b1b70
mov rcx, qword [rdi]
test rcx, rcx
jne 0x14002998d
mov rcx, rdi
call fcn.1400549c0
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400299f8
mov r9d, 0x200
lea r8, [rsp + 0x670]
mov edx, Ordinal_204
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1400299f8
mov rdi, qword [0x1401370f0]
test rdi, rdi
jne 0x1400299e1
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400299d7
mov rcx, rax
call fcn.140050830
mov rdi, rax
jmp 0x1400299da
mov rdi, r12
mov qword [0x1401370f0], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.LoadString_failed
mov rcx, rdi
call fcn.140050e40
lea rax, [rsp + 0x670]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, str._s_s.lnk
mov edx, 0x104
lea rcx, [rsp + 0x250]
call fcn.1400b1010
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x140029a57
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140029a4d
mov rcx, rax
call fcn.140050830
jmp 0x140029a50
mov rax, r12
mov qword [0x1401370f0], rax
lea r9, [rsp + 0x250]
lea r8, [rsp + 0x460]
lea rdx, str.__Create_shortcut__s_to_file__s
mov rcx, rax
call fcn.140050c00
lea r8, [rsp + 0x670]
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x460]
call fcn.14005fe70
lea r8, [rsp + 0x40]
mov rdx, rsi
mov rcx, rbx
call fcn.14002a180
test rbx, rbx
je 0x140029b07
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x140029ad1
lea rdx, [0x1400f1494]
mov rcx, rbx
call fcn.1400b1e40
test rax, rax
jne 0x140029afa
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x140029b07
lea rdx, [0x1400f1498]
mov rcx, rbx
call fcn.1400b1e40
test rax, rax
je 0x140029b07
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140029320
test ebp, ebp
je 0x140029cc4
lea rax, str.wificonfig.exe
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [0x1400ecb00]
mov edx, 0x104
lea rcx, [rsp + 0x460]
call fcn.1400b1010
mov rdi, qword [0x140137100]
test rdi, rdi
jne 0x140029b7e
mov ecx, 0x210
call fcn.140084d88
mov rdi, rax
test rax, rax
je 0x140029b74
mov qword [rax], r12
lea rcx, [rax + 8]
mov word [rcx], 0
lea r8, [0x1400efef4]
mov edx, 0x104
call fcn.1400b1b70
jmp 0x140029b77
mov rdi, r12
mov qword [0x140137100], rdi
mov word [rsp + 0x670], 0
lea r8, str.String_Not_Found
mov edx, 0x200
lea rcx, [rsp + 0x670]
call fcn.1400b1b70
mov rcx, qword [rdi]
test rcx, rcx
jne 0x140029bb9
mov rcx, rdi
call fcn.1400549c0
mov rcx, qword [rdi]
test rcx, rcx
je 0x140029c24
mov r9d, 0x200
lea r8, [rsp + 0x670]
mov edx, 0x14a
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x140029c24
mov rdi, qword [0x1401370f0]
test rdi, rdi
jne 0x140029c0d
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140029c03
mov rcx, rax
call fcn.140050830
mov rdi, rax
jmp 0x140029c06
mov rdi, r12
mov qword [0x1401370f0], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.LoadString_failed
mov rcx, rdi
call fcn.140050e40
lea rax, [rsp + 0x670]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, str._s_s.lnk
mov edx, 0x104
lea rcx, [rsp + 0x250]
call fcn.1400b1010
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x140029c83
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140029c79
mov rcx, rax
call fcn.140050830
jmp 0x140029c7c
mov rax, r12
mov qword [0x1401370f0], rax
lea r9, [rsp + 0x250]
lea r8, [rsp + 0x460]
lea rdx, str.__Create_shortcut__s_to_file__s
mov rcx, rax
call fcn.140050c00
lea r8, [rsp + 0x670]
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x460]
call fcn.14005fe70
mov eax, r13d
jmp 0x140029cd3
mov eax, r13d
jmp 0x140029cd3
mov eax, r13d
mov rcx, qword [rsp + 0xc90]
xor rcx, rsp
call fcn.1400b09d0
mov rbx, qword [rsp + 0xce0]
add rsp, 0xca0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret