Function at 0x140267e00
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov cl, 0xff
call fcn.14030fdf0
mov ecx, 0x2bab3
call fcn.1403223f0
call qword [sym.imp.KERNEL32.DLL_GetCommandLineW]
lea rdx, [rsp + 0x44]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test rax, rax
je 0x140267fd7
mov rsi, rax
mov rdx, qword [rax]
test rdx, rdx
je 0x140267e70
mov r8d, 0xffffffff
mov rax, rdx
nop word [rax + rax]
add r8d, 1
cmp word [rax], 0
lea rax, [rax + 2]
jne 0x140267e60
jmp 0x140267e73
xor r8d, r8d
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.1402580e0
mov bl, byte [rsp + 0x2e]
test bl, bl
je 0x140267e8d
mov rdi, qword [rsp + 0x20]
lea rcx, [0x1405deba0]
mov rdx, rdi
call sub.msvcrt.dll_strcpy
test bl, bl
je 0x140267eaa
lea rcx, [rsp + 0x20]
call fcn.14030abf0
cmp dword [rsp + 0x44], 2
jl 0x140267fce
mov ebx, 1
lea r14, [0x1405deb10]
xorps xmm6, xmm6
lea r15, [0x140265c90]
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x20]
lea r12, [0x1405deb00]
jmp 0x140267ef2
add rbx, 1
movsxd rax, dword [rsp + 0x44]
cmp rbx, rax
jge 0x140267fce
mov al, byte [0x1405deb10]
test al, al
je 0x140267fa2
mov rdx, qword [rsi + rbx*8]
test rdx, rdx
je 0x140267f30
mov r8d, 0xffffffff
mov rax, rdx
nop word cs:[rax + rax]
nop dword [rax]
add r8d, 1
cmp word [rax], 0
lea rax, [rax + 2]
jne 0x140267f20
jmp 0x140267f33
xor r8d, r8d
mov rcx, rbp
call fcn.1402580e0
mov rcx, rdi
mov rdx, rbp
call fcn.14030f0c0
mov rcx, r12
mov rdx, rdi
call fcn.1400df5b0
mov eax, dword [rsp + 0x2c]
test eax, eax
jle 0x140267f8a
cmp eax, 0x18
jb 0x140267f80
mov rcx, qword [rsp + 0x20]
lock sub dword [rcx - 4], 1
jne 0x140267f8a
add rcx, 0xfffffffffffffffc
call fcn.140309590
jmp 0x140267f8a
mov rcx, qword [rsp + 0x20]
call fcn.140309590
cmp byte [rsp + 0x3e], 0
je 0x140267ee0
mov rcx, rbp
call fcn.14030abf0
jmp 0x140267ee0
mov rcx, r14
call fcn.14035f9c4
test eax, eax
je 0x140267f00
movups xmmword [0x1405deb00], xmm6
mov rcx, r15
call fcn.140001440
mov rcx, r14
call fcn.14035fa9b
jmp 0x140267f00
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_LocalFree]
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
mov qword [rsp + 0x48], rax
cmp word [rax], 0
je 0x140268236
lea r13, [rsp + 0x20]
lea rbx, [rsp + 0x30]
xorps xmm6, xmm6
lea rsi, [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
jmp 0x140268025
mov rcx, qword [rsp + 0x20]
call fcn.140309590
cmp word [rbp], 0
je 0x140268236
xor edi, edi
nop word [rax + rax]
movzx eax, word [rbp + rdi + 2]
add rdi, 2
cmp ax, 0x3d
je 0x140268044
test ax, ax
jne 0x140268030
mov r8, rdi
shr r8, 1
mov rcx, r13
mov rdx, rbp
call fcn.140256120
lea rax, [rdi + rbp]
add rax, 2
cmp word [rbp + rdi], 0
lea rdx, [rbp + rdi]
cmovne rdx, rax
mov r8d, 0xffffffff
mov rbp, rdx
nop word cs:[rax + rax]
nop
add r8d, 1
cmp word [rbp], 0
lea rbp, [rbp + 2]
jne 0x140268080
mov rcx, rbx
call fcn.140256120
mov al, byte [0x1405dece8]
test al, al
je 0x1402681cd
mov rcx, rsi
mov rdx, r13
call fcn.14031b770
lea rcx, [0x1405decb0]
mov rdx, rsi
call fcn.1402fa460
mov r15, qword [0x1405decd8]
movsxd r12, eax
shl r12, 4
lea r14, [r15 + r12]
cmp r14, rbx
je 0x140268135
mov eax, dword [r15 + r12 + 0xc]
test eax, eax
jle 0x140268101
cmp eax, 0x18
jb 0x1402680f9
mov rcx, qword [r14]
lock sub dword [rcx - 4], 1
jne 0x140268101
add rcx, 0xfffffffffffffffc
call fcn.140309590
jmp 0x140268101
mov rcx, qword [r14]
call fcn.140309590
lea rax, [r15 + r12]
add rax, 0xc
mov rcx, qword [rsp + 0x30]
mov qword [r14], rcx
mov ecx, dword [rsp + 0x38]
mov dword [r15 + r12 + 8], ecx
mov ecx, dword [rsp + 0x3c]
mov dword [rax], ecx
mov qword [rsp + 0x38], 0
lea rax, [0x1406036b0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x5c]
test eax, eax
jle 0x14026816a
cmp eax, 0x18
jb 0x140268160
mov rcx, qword [rsp + 0x50]
lock sub dword [rcx - 4], 1
jne 0x14026816a
add rcx, 0xfffffffffffffffc
call fcn.140309590
jmp 0x14026816a
mov rcx, qword [rsp + 0x50]
call fcn.140309590
mov eax, dword [rsp + 0x3c]
test eax, eax
jle 0x14026819a
cmp eax, 0x18
jb 0x140268190
mov rcx, qword [rsp + 0x30]
lock sub dword [rcx - 4], 1
jne 0x14026819a
add rcx, 0xfffffffffffffffc
call fcn.140309590
jmp 0x14026819a
mov rcx, qword [rsp + 0x30]
call fcn.140309590
mov eax, dword [rsp + 0x2c]
test eax, eax
jle 0x14026801a
cmp eax, 0x18
jb 0x140268010
mov rcx, qword [rsp + 0x20]
lock sub dword [rcx - 4], 1
jne 0x14026801a
add rcx, 0xfffffffffffffffc
call fcn.140309590
jmp 0x14026801a
lea rcx, [0x1405dece8]
call fcn.14035f9c4
test eax, eax
je 0x1402680a5
mov qword [0x1405decb8], 0
lea rax, [0x140489598]
mov qword [0x1405decb0], rax
movabs rax, 0xffffffff00000000
mov qword [0x1405decc0], rax
movups xmmword [0x1405decc8], xmm6
movups xmmword [0x1405decd8], xmm6
lea rcx, [0x1402665a0]
call fcn.140001440
lea rcx, [0x1405dece8]
call fcn.14035fa9b
jmp 0x1402680a5
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
call fcn.1402674e0
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret