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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r15, rcx
mov qword [rsp + 0x68], 0
mov r14d, 2
xor ecx, ecx
mov edx, r14d
mov r12d, 0xc0000022
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebp, 5
mov r13d, eax
mov ebx, ebp
nop dword [rax]
call fcn.1400010ef
sub rbx, 1
jne 0x14000e570
mov rbx, r14
nop
mov edx, 9
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000e5a0
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000e5f7
dec eax
cmp eax, 1
jbe 0x14000e5f1
cmp ecx, 3
jne 0x14000e5b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000e5f7
cmp ecx, 4
je 0x14000e5e1
cmp ecx, ebp
jne 0x14000e5c5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000e5f7
cmp ecx, 6
je 0x14000e5e9
cmp ecx, 7
jne 0x14000e5d7
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000e5f7
cmp ecx, 8
je 0x14000e5e9
cmp ecx, 9
jne 0x14000e5f7
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000e5f7
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000e5f7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub rbx, 1
jne 0x14000e580
lea r9, [rsp + 0x68]
call fcn.14000e0e0
mov esi, eax
mov rbx, rbp
nop dword [rax]
call fcn.1400010ef
sub rbx, 1
jne 0x14000e610
mov rbx, r14
nop
mov edx, 9
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000e640
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000e697
dec eax
cmp eax, 1
jbe 0x14000e691
cmp ecx, 3
jne 0x14000e654
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000e697
cmp ecx, 4
je 0x14000e681
cmp ecx, ebp
jne 0x14000e665
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000e697
cmp ecx, 6
je 0x14000e689
cmp ecx, 7
jne 0x14000e677
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000e697
cmp ecx, 8
je 0x14000e689
cmp ecx, 9
jne 0x14000e697
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000e697
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000e697
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub rbx, 1
jne 0x14000e620
mov rdi, qword [rsp + 0x68]
test esi, esi
jne 0x14000e7ee
test rdi, rdi
je 0x14000e7fc
mov rbx, rbp
call fcn.1400010ef
sub rbx, 1
jne 0x14000e6b6
mov rbx, r14
mov edx, 9
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000e6e4
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000e73b
dec eax
cmp eax, 1
jbe 0x14000e735
cmp ecx, 3
jne 0x14000e6f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000e73b
cmp ecx, 4
je 0x14000e725
cmp ecx, ebp
jne 0x14000e709
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000e73b
cmp ecx, 6
je 0x14000e72d
cmp ecx, 7
jne 0x14000e71b
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000e73b
cmp ecx, 8
je 0x14000e72d
cmp ecx, 9
jne 0x14000e73b
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000e73b
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000e73b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub rbx, 1
jne 0x14000e6c4
mov rax, qword [rdi]
xor r9d, r9d
mov dword [rsp + 0x28], ebp
xor r8d, r8d
mov rdx, r15
mov dword [rsp + 0x20], ebx
mov rcx, rdi
call qword [rax + 0x48]
sar eax, 0x1f
and r12d, eax
call fcn.1400010ef
sub rbp, 1
jne 0x14000e761
nop dword [rax]
mov edx, 9
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000e790
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000e7e8
dec eax
cmp eax, 1
jbe 0x14000e7e2
cmp ecx, 3
jne 0x14000e7a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000e7e8
cmp ecx, 4
je 0x14000e7d2
cmp ecx, 5
jne 0x14000e7b6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000e7e8
cmp ecx, 6
je 0x14000e7da
cmp ecx, 7
jne 0x14000e7c8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000e7e8
cmp ecx, 8
je 0x14000e7da
cmp ecx, 9
jne 0x14000e7e8
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000e7e8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000e7e8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub r14, 1
jne 0x14000e770
test rdi, rdi
je 0x14000e7fc
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov ebx, 0xd
call fcn.1400010ef
sub rbx, 1
jne 0x14000e801
mov ebx, 3
mov edx, 9
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000e831
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000e889
dec eax
cmp eax, 1
jbe 0x14000e883
cmp ecx, 3
jne 0x14000e845
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000e889
cmp ecx, 4
je 0x14000e873
cmp ecx, 5
jne 0x14000e857
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000e889
cmp ecx, 6
je 0x14000e87b
cmp ecx, 7
jne 0x14000e869
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000e889
cmp ecx, 8
je 0x14000e87b
cmp ecx, 9
jne 0x14000e889
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000e889
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000e889
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub rbx, 1
jne 0x14000e811
test r13d, r13d
jne 0x14000e89a
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rbx, qword [rsp + 0x60]
mov eax, r12d
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret