Function at 0x140011c20
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa00]
sub rsp, 0xb00
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0xb50], rbx
mov rax, qword [0x140041018]
xor rax, rsp
mov qword [rbp + 0x9f0], rax
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
je 0x140011c91
xor r13d, r13d
mov qword [rbp - 0x50], r13
mov rdx, qword [rcx]
lea rcx, [rbp - 0x50]
call fcn.140003b60
nop
mov rax, qword [rdi]
cmp byte [rax + 0x80], r13b
jne 0x140011c98
lea rcx, [rbp - 0x50]
call fcn.140003b90
xor al, al
jmp 0x140011ffd
mov dword [rbp - 0x48], 8
mov dword [rbp - 0x44], 0xff
lea rcx, str.COMCTL32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.InitCommonControlsEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140011cce
lea rcx, [rbp - 0x48]
call rax
lea rcx, str.User32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [0x140033518]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test rax, rax
je 0x140011e48
mov rdx, qword [rdi]
lea rcx, [rdx + 0xa8]
call fcn.140001cc0
test al, al
jne 0x140011e48
lea rcx, [rdx + 0x88]
call fcn.140001cc0
test al, al
jne 0x140011e48
add rdx, 0xa8
lea rcx, [rbp - 0x40]
call fcn.140001f84
nop
lea rcx, [0x14003359c]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140002040
mov rbx, rax
mov rax, qword [rax + 0x10]
mov r8, qword [rbx + 0x18]
mov rcx, r8
sub rcx, rax
cmp rdx, rcx
ja 0x140011d9e
lea r15, [rax + rdx]
mov qword [rbx + 0x10], r15
mov r14, rbx
cmp r8, 8
jb 0x140011d75
mov r14, qword [rbx]
lea rcx, [r14 + rax*2]
mov r8, rdx
lea rdx, [0x14003359c]
call fcn.140002244
mov word [rsp + 0x30], r13w
lea rcx, [r14 + r15*2]
lea rdx, [rsp + 0x30]
call fcn.14000223c
jmp 0x140011db3
mov qword [rsp + 0x20], rdx
lea r9, [0x14003359c]
lea rcx, [rbp - 0x40]
call fcn.140002670
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov r8, qword [rbx + 0x10]
mov r9, qword [rbx + 0x18]
mov rcx, r9
sub rcx, r8
cmp rax, rcx
ja 0x140011e04
lea r14, [r8 + rax]
mov qword [rbx + 0x10], r14
cmp r9, 8
jb 0x140011ddf
mov rbx, qword [rbx]
lea rcx, [rbx + r8*2]
mov r8, rax
mov rdx, rsi
call fcn.140002244
mov word [rsp + 0x30], r13w
lea rcx, [rbx + r14*2]
lea rdx, [rsp + 0x30]
call fcn.14000223c
jmp 0x140011e18
mov qword [rsp + 0x20], rax
mov r9, rsi
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140002670
mov rcx, qword [rdi]
add rcx, 0x88
call fcn.140001ccc
mov r8, rax
lea rcx, [rbp - 0x40]
call fcn.140001ccc
mov rdx, rax
xor r9d, r9d
xor ecx, ecx
call r12
nop
lea rcx, [rbp - 0x40]
call fcn.140001dd0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
mov r9, qword [rdi]
lea rcx, [r9 + 0xc8]
call fcn.140001ccc
mov r8d, 0x103
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x20]
sub rax, rcx
nop dword [rax]
lea rcx, [r8 + 0x7ffffefb]
test rcx, rcx
je 0x140011ea2
movzx ecx, word [rax + rdx]
test cx, cx
je 0x140011ea2
mov word [rdx], cx
add rdx, 2
sub r8, 1
jne 0x140011e80
lea rax, [rdx - 2]
test r8, r8
cmovne rax, rdx
mov word [rax], r13w
cmp word [rbp - 0x20], 0
je 0x140011ff2
cmp byte [r9 + 0xe8], 0
je 0x140011ed9
lea rcx, [rbp - 0x20]
call fcn.1400157c0
mov word [rbp - 0x20], r13w
jmp 0x140011ff2
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x1f0]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x3fe
lea rdx, [rbp + 0x1f0]
lea rcx, str._programfiles_Internet_Exploreriexplore.exe
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x3fd
ja 0x140011f26
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140011f26
test al, 0x10
je 0x140011f6b
mov r8d, 0x3fe
lea rdx, [rbp + 0x1f0]
lea rcx, str._programfiles_x86__Internet_Exploreriexplore.exe
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x3fd
ja 0x140011ff2
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140011ff2
test al, 0x10
jne 0x140011ff2
xor eax, eax
mov qword [rsp + 0x74], rax
mov qword [rsp + 0x7c], rax
mov qword [rbp - 0x7c], rax
mov qword [rbp - 0x74], rax
mov qword [rbp - 0x6c], rax
mov qword [rbp - 0x64], rax
mov dword [rbp - 0x5c], eax
mov qword [rsp + 0x40], 0x70
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x70], 1
mov qword [rbp - 0x58], r13
lea rcx, str.Shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x140011ff2
lea rdx, str.ShellExecuteExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140011ff2
lea rcx, [rsp + 0x40]
call rax
nop
lea rcx, [rbp - 0x50]
call fcn.140003b90
mov al, 1
mov rcx, qword [rbp + 0x9f0]
xor rcx, rsp
call fcn.14001f5c0
mov rbx, qword [rsp + 0xb50]
add rsp, 0xb00
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret