Function at 0x1400493f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x140129200]
xor rax, rsp
mov qword [rbp + 0x37], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
mov r8d, ntohs
lea rdx, str.comdlg32.dll
lea rcx, [rbp - 0x49]
call fcn.140040980
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov qword [rbp + 0x2f], rax
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14004949c
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049497
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049497
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d8070
movdqa xmm0, xmmword [0x140111b10]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r15d, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
cmp r15, 0xf
ja 0x1400494e9
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x27], reloc.WS2_32.dll_ntohs
mov r8d, r15d
xor edx, edx
lea rcx, [rbp + 0xf]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + r15 + 0xf], 0
jmp 0x14004955b
mov r14, r15
or r14, 0xf
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp r14, rax
cmovb r14, rax
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x140049535
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140049648
mov rcx, rax
call fcn.1400d86e4
test rax, rax
je 0x1400495f2
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14004953d
call fcn.1400d86e4
mov rsi, rax
mov qword [rbp + 0xf], rsi
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x27], r14
mov r8, r15
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov byte [rsi + r15], 0
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rcx, qword [rbp + 0xf]
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [rbp - 0x29], Ordinal_60
mov dword [rbp - 0x25], ntohs
lea rax, str.shell32.dll
mov qword [rbp - 0x21], rax
xor esi, esi
mov dword [rbp - 0x19], esi
lea rax, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rax, qword [rbp + 0xf]
mov qword [rbp - 0x11], rax
movdqa xmm0, xmmword [0x140111ae0]
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rsi
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_CreateActCtxA]
mov rdi, rax
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x1400495fe
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400495f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400495f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d8070
mov qword [rbp + 0x1f], rsi
mov qword [rbp + 0x27], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xf], sil
test rbx, rbx
je 0x14004961c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400d7f80
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14002d1a0
nop
int3