Function at 0x14000bea0
Capabilities:
Check if file exists
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 + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xb50], rbx
mov rax, qword [0x14003e050]
xor rax, rsp
mov qword [rbp + 0x9f0], rax
mov r14, rdx
mov r15, rcx
test rdx, rdx
je 0x14000bf2d
xor r13d, r13d
mov qword [rbp - 0x30], r13
mov rsi, qword [rcx]
mov qword [rbp - 0x30], rsi
test rsi, rsi
je 0x14000bf0a
mov rcx, qword [rsi]
test rcx, rcx
je 0x14000bf0a
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rax, qword [r15]
cmp byte [rax + 0x80], 0
jne 0x14000bf34
test rsi, rsi
je 0x14000bf2d
mov rcx, qword [rsi]
test rcx, rcx
je 0x14000bf29
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp - 0x30], r13
xor al, al
jmp 0x14000c2cc
mov dword [rbp - 0x28], 8
mov dword [rbp - 0x24], 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 0x14000bf6a
lea rcx, [rbp - 0x28]
call rax
lea rcx, str.User32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [0x140035300]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test rax, rax
je 0x14000c108
mov rdx, qword [r15]
cmp qword [rdx + 0xb8], 0
je 0x14000c108
cmp qword [rdx + 0x98], 0
je 0x14000c108
add rdx, 0xa8
lea rcx, [rbp - 0x50]
call fcn.1400031d0
nop
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x14000c009
lea rdi, [rcx + 2]
mov qword [rbp - 0x40], rdi
lea rbx, [rbp - 0x50]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x50]
lea rcx, [rbx + rcx*2]
mov r8d, 4
lea rdx, [0x14003530c]
call fcn.14001a1c0
mov word [rbx + rdi*2], r13w
jmp 0x14000c027
mov qword [rsp + 0x20], 2
lea r9, [0x14003530c]
mov edx, 2
lea rcx, [rbp - 0x50]
call fcn.140002e70
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp word [r14 + rdx*2], 0
jne 0x14000c030
mov rcx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x38]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x14000c07a
lea rdi, [rcx + rdx]
mov qword [rbp - 0x40], rdi
lea rbx, [rbp - 0x50]
cmp r8, 8
cmovae rbx, qword [rbp - 0x50]
lea r8, [rdx + rdx]
lea rcx, [rbx + rcx*2]
mov rdx, r14
call fcn.14001a1c0
mov word [rbx + rdi*2], r13w
jmp 0x14000c08b
mov qword [rsp + 0x20], rdx
mov r9, r14
lea rcx, [rbp - 0x50]
call fcn.140002e70
mov r8, qword [r15]
add r8, 0x88
cmp qword [r8 + 0x18], 8
jb 0x14000c09f
mov r8, qword [r8]
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
xor r9d, r9d
xor ecx, ecx
call r12
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14000c0f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c0f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c2f6
call fcn.14001867c
movdqa xmm0, xmmword [0x140035d00]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r13w
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call fcn.14001a000
mov r9, qword [r15]
lea r8, [r9 + 0xc8]
cmp qword [r8 + 0x18], 8
jb 0x14000c12d
mov r8, qword [r8]
mov edx, 0x103
lea rcx, [rbp - 0x20]
lea rax, [rbp - 0x20]
sub r8, rax
nop dword [rax]
lea rax, [rdx + 0x7ffffefb]
test rax, rax
je 0x14000c163
movzx eax, word [rcx + r8]
test ax, ax
je 0x14000c163
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14000c140
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
cmp word [rbp - 0x20], 0
je 0x14000c2b3
cmp byte [r9 + 0xe8], 0
je 0x14000c19a
lea rcx, [rbp - 0x20]
call fcn.1400027b0
mov word [rbp - 0x20], r13w
jmp 0x14000c2b3
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.14001a000
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 0x14000c1e7
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000c1e7
test al, 0x10
je 0x14000c22c
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 0x14000c2b3
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000c2b3
test al, 0x10
jne 0x14000c2b3
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 0x14000c2b3
lea rdx, str.ShellExecuteExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000c2b3
lea rcx, [rsp + 0x40]
call rax
nop
test rsi, rsi
je 0x14000c2ca
mov rcx, qword [rsi]
test rcx, rcx
je 0x14000c2c6
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp - 0x30], r13
mov al, 1
mov rcx, qword [rbp + 0x9f0]
xor rcx, rsp
call fcn.1400183b0
mov rbx, qword [rsp + 0xb50]
add rsp, 0xb00
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14001c634
nop
int3
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
call fcn.14000b060
lea r9, str.https:__pic.2345.cc_
mov byte [rsp + 0x20], 1
lea r8, [0x14002c530]
mov rcx, rax
lea rdx, [0x14002c5a8]
mov rbx, rax
call fcn.14000c3d0
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp 0x14000bea0