Function at 0x14000e8c0
Capabilities:
Accept command line arguments
Get common file path
Patch process command line
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5e0]
sub rsp, 0x6e0
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtQueryInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x14000f4c4
mov ebx, 2
call fcn.1400010ef
sub rbx, 1
jne 0x14000e926
mov r13d, 3
mov ebx, r13d
nop word [rax + rax]
mov edx, 9
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000e960
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000e9b8
dec eax
cmp eax, 1
jbe 0x14000e9b2
cmp ecx, r13d
jne 0x14000e974
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000e9b8
cmp ecx, 4
je 0x14000e9a2
cmp ecx, 5
jne 0x14000e986
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000e9b8
cmp ecx, 6
je 0x14000e9aa
cmp ecx, 7
jne 0x14000e998
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000e9b8
cmp ecx, 8
je 0x14000e9aa
cmp ecx, 9
jne 0x14000e9b8
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000e9b8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000e9b8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub rbx, 1
jne 0x14000e940
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlEnterCriticalSection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test rax, rax
je 0x14000f4c4
mov r14d, 0x20
mov ebx, r14d
call fcn.1400010ef
sub rbx, 1
jne 0x14000e9f0
mov r15d, 5
mov ebx, r15d
mov edx, 9
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000ea24
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000ea7c
dec eax
cmp eax, 1
jbe 0x14000ea76
cmp ecx, r13d
jne 0x14000ea38
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000ea7c
cmp ecx, 4
je 0x14000ea66
cmp ecx, r15d
jne 0x14000ea4a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000ea7c
cmp ecx, 6
je 0x14000ea6e
cmp ecx, 7
jne 0x14000ea5c
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000ea7c
cmp ecx, 8
je 0x14000ea6e
cmp ecx, 9
jne 0x14000ea7c
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000ea7c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000ea7c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub rbx, 1
jne 0x14000ea04
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlLeaveCriticalSection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000f4c4
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlInitUnicodeString
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14000f4c4
mov edi, 0xc
mov ebx, edi
nop
call fcn.1400010ef
sub rbx, 1
jne 0x14000eae0
lea edx, [rbx + 9]
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000eb09
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000eb61
dec eax
cmp eax, 1
jbe 0x14000eb5b
cmp ecx, r13d
jne 0x14000eb1d
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000eb61
cmp ecx, 4
je 0x14000eb4b
cmp ecx, r15d
jne 0x14000eb2f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000eb61
cmp ecx, 6
je 0x14000eb53
cmp ecx, 7
jne 0x14000eb41
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000eb61
cmp ecx, 8
je 0x14000eb53
cmp ecx, 9
jne 0x14000eb61
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000eb61
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000eb61
call qword [sym.imp.KERNEL32.dll_GetTickCount]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x438
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
je 0x14000f4c4
mov r9d, 0x30
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, rax
call rsi
mov rbx, rdi
call fcn.1400010ef
sub rbx, 1
jne 0x14000eba4
mov ebx, 6
mov edx, 9
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000ebd4
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000ec2c
dec eax
cmp eax, 1
jbe 0x14000ec26
cmp ecx, r13d
jne 0x14000ebe8
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000ec2c
cmp ecx, 4
je 0x14000ec16
cmp ecx, r15d
jne 0x14000ebfa
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000ec2c
cmp ecx, 6
je 0x14000ec1e
cmp ecx, 7
jne 0x14000ec0c
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000ec2c
cmp ecx, 8
je 0x14000ec1e
cmp ecx, 9
jne 0x14000ec2c
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000ec2c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000ec2c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub rbx, 1
jne 0x14000ebb4
mov rcx, qword [rsp + 0x30]
lea r9d, [rbx + 8]
xor esi, esi
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000f4c4
nop word [rax + rax]
call fcn.1400010ef
sub rdi, 1
jne 0x14000ec60
lea ebx, [rdi + 9]
nop
mov edx, 9
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000ec90
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000ece8
dec eax
cmp eax, 1
jbe 0x14000ece2
cmp ecx, r13d
jne 0x14000eca4
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000ece8
cmp ecx, 4
je 0x14000ecd2
cmp ecx, r15d
jne 0x14000ecb6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000ece8
cmp ecx, 6
je 0x14000ecda
cmp ecx, 7
jne 0x14000ecc8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000ece8
cmp ecx, 8
je 0x14000ecda
cmp ecx, 9
jne 0x14000ece8
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000ece8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000ece8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub rbx, 1
jne 0x14000ec70
mov rdx, qword [rsp + 0x48]
lea r9d, [rbx + 8]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x60]
add rdx, 0x18
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000f4c4
mov ebx, 0xf
nop dword [rax]
call fcn.1400010ef
sub rbx, 1
jne 0x14000ed20
mov edi, 2
mov ebx, edi
mov edx, 9
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000ed52
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000edaa
dec eax
cmp eax, 1
jbe 0x14000eda4
cmp ecx, r13d
jne 0x14000ed66
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000edaa
cmp ecx, 4
je 0x14000ed94
cmp ecx, r15d
jne 0x14000ed78
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000edaa
cmp ecx, 6
je 0x14000ed9c
cmp ecx, 7
jne 0x14000ed8a
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000edaa
cmp ecx, 8
je 0x14000ed9c
cmp ecx, 9
jne 0x14000edaa
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000edaa
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000edaa
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub rbx, 1
jne 0x14000ed32
mov edx, 0x104
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.explorer.exe
mov edx, 0x105
lea rcx, [rbp - 0x60]
call fcn.14001d44c
call fcn.1400010ef
sub r14, 1
jne 0x14000edd4
mov rbx, rdi
mov edx, 9
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000ee02
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000ee5a
dec eax
cmp eax, 1
jbe 0x14000ee54
cmp ecx, r13d
jne 0x14000ee16
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000ee5a
cmp ecx, 4
je 0x14000ee44
cmp ecx, r15d
jne 0x14000ee28
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000ee5a
cmp ecx, 6
je 0x14000ee4c
cmp ecx, 7
jne 0x14000ee3a
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000ee5a
cmp ecx, 8
je 0x14000ee4c
cmp ecx, 9
jne 0x14000ee5a
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000ee5a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000ee5a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub rbx, 1
jne 0x14000ede2
mov ecx, 0x104
call fcn.14001d4c4
lea r8, [rbp - 0x60]
mov edx, 0x104
mov rcx, rax
mov rsi, rax
call fcn.14001d3e4
mov rbx, r15
call fcn.1400010ef
sub rbx, 1
jne 0x14000ee81
mov rbx, r13
nop
mov edx, 9
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000eeb0
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000ef08
dec eax
cmp eax, 1
jbe 0x14000ef02
cmp ecx, r13d
jne 0x14000eec4
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000ef08
cmp ecx, 4
je 0x14000eef2
cmp ecx, r15d
jne 0x14000eed6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000ef08
cmp ecx, 6
je 0x14000eefa
cmp ecx, 7
jne 0x14000eee8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000ef08
cmp ecx, 8
je 0x14000eefa
cmp ecx, 9
jne 0x14000ef08
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000ef08
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000ef08
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub rbx, 1
jne 0x14000ee90
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x38]
call r12
mov rax, qword [rsp + 0x48]
mov rdx, rsi
mov r12, qword [rsp + 0x38]
mov rcx, qword [rax + 0x20]
add rcx, 0x60
call r12
mov rax, qword [rsp + 0x48]
mov rdx, rsi
mov rcx, qword [rax + 0x20]
add rcx, 0x70
call r12
mov rbx, r15
call fcn.1400010ef
sub rbx, 1
jne 0x14000ef48
mov rbx, r13
nop word [rax + rax]
mov edx, 9
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000ef80
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000efd8
dec eax
cmp eax, 1
jbe 0x14000efd2
cmp ecx, r13d
jne 0x14000ef94
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000efd8
cmp ecx, 4
je 0x14000efc2
cmp ecx, r15d
jne 0x14000efa6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000efd8
cmp ecx, 6
je 0x14000efca
cmp ecx, 7
jne 0x14000efb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000efd8
cmp ecx, 8
je 0x14000efca
cmp ecx, 9
jne 0x14000efd8
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000efd8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000efd8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub rbx, 1
jne 0x14000ef60
mov r8d, 0x104
lea rdx, [rbp + 0x3c0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.1400010ef
sub r15, 1
jne 0x14000eff3
nop
mov edx, 9
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000f020
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000f078
dec eax
cmp eax, 1
jbe 0x14000f072
cmp ecx, 3
jne 0x14000f034
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000f078
cmp ecx, 4
je 0x14000f062
cmp ecx, 5
jne 0x14000f046
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000f078
cmp ecx, 6
je 0x14000f06a
cmp ecx, 7
jne 0x14000f058
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000f078
cmp ecx, 8
je 0x14000f06a
cmp ecx, 9
jne 0x14000f078
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000f078
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000f078
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub r13, 1
jne 0x14000f000
mov rax, qword [rsp + 0x48]
xor r14d, r14d
mov r15, qword [rsp + 0x30]
mov rcx, qword [rax + 0x18]
mov rax, qword [rsp + 0x60]
mov rdi, qword [rcx + 0x10]
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x58], rcx
call fcn.1400010ef
mov edx, 9
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000f0c6
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000f11e
dec eax
cmp eax, 1
jbe 0x14000f118
cmp ecx, 3
jne 0x14000f0da
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000f11e
cmp ecx, 4
je 0x14000f108
cmp ecx, 5
jne 0x14000f0ec
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000f11e
cmp ecx, 6
je 0x14000f110
cmp ecx, 7
jne 0x14000f0fe
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000f11e
cmp ecx, 8
je 0x14000f110
cmp ecx, 9
jne 0x14000f11e
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000f11e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000f11e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, 8
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x50]
mov rcx, r15
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000f4c4
mov ebx, 0x21
nop dword [rax]
call fcn.1400010ef
sub rbx, 1
jne 0x14000f150
lea edx, [rbx + 9]
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000f179
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000f1d1
dec eax
cmp eax, 1
jbe 0x14000f1cb
cmp ecx, 3
jne 0x14000f18d
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000f1d1
cmp ecx, 4
je 0x14000f1bb
cmp ecx, 5
jne 0x14000f19f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000f1d1
cmp ecx, 6
je 0x14000f1c3
cmp ecx, 7
jne 0x14000f1b1
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000f1d1
cmp ecx, 8
je 0x14000f1c3
cmp ecx, 9
jne 0x14000f1d1
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000f1d1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000f1d1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rdx, qword [rsp + 0x50]
lea r8, [rbp + 0x1b0]
mov rcx, r15
mov qword [rsp + 0x20], r14
movzx r9d, word [rdx + 0x4a]
mov rdx, qword [rdx + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000f4c4
mov ebx, 0x21
call fcn.1400010ef
sub rbx, 1
jne 0x14000f201
lea edx, [rbx + 9]
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000f22a
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000f282
dec eax
cmp eax, 1
jbe 0x14000f27c
cmp ecx, 3
jne 0x14000f23e
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000f282
cmp ecx, 4
je 0x14000f26c
cmp ecx, 5
jne 0x14000f250
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000f282
cmp ecx, 6
je 0x14000f274
cmp ecx, 7
jne 0x14000f262
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000f282
cmp ecx, 8
je 0x14000f274
cmp ecx, 9
jne 0x14000f282
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000f282
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000f282
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x3c0]
call fcn.14001d268
test eax, eax
je 0x14000f348
mov ebx, 0x21
call fcn.1400010ef
sub rbx, 1
jne 0x14000f2a2
mov ebx, 0x17
mov edx, 9
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000f2d2
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000f32a
dec eax
cmp eax, 1
jbe 0x14000f324
cmp ecx, 3
jne 0x14000f2e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000f32a
cmp ecx, 4
je 0x14000f314
cmp ecx, 5
jne 0x14000f2f8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000f32a
cmp ecx, 6
je 0x14000f31c
cmp ecx, 7
jne 0x14000f30a
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000f32a
cmp ecx, 8
je 0x14000f31c
cmp ecx, 9
jne 0x14000f32a
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000f32a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000f32a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub rbx, 1
jne 0x14000f2b2
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
cmp rcx, rdi
jne 0x14000f0a1
jmp 0x14000f366
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
add rcx, 0x48
call r12
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
add rcx, 0x58
call r12
mov edi, 0xa
mov ebx, edi
nop dword [rax]
call fcn.1400010ef
sub rbx, 1
jne 0x14000f370
mov esi, 2
mov ebx, esi
mov edx, 9
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000f3a2
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000f3fa
dec eax
cmp eax, 1
jbe 0x14000f3f4
cmp ecx, 3
jne 0x14000f3b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000f3fa
cmp ecx, 4
je 0x14000f3e4
cmp ecx, 5
jne 0x14000f3c8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000f3fa
cmp ecx, 6
je 0x14000f3ec
cmp ecx, 7
jne 0x14000f3da
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000f3fa
cmp ecx, 8
je 0x14000f3ec
cmp ecx, 9
jne 0x14000f3fa
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000f3fa
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000f3fa
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub rbx, 1
jne 0x14000f382
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x38]
call qword [rsp + 0x40]
nop dword [rax]
call fcn.1400010ef
sub rdi, 1
jne 0x14000f410
nop dword [rax + rax]
mov edx, 9
xor ecx, ecx
call fcn.140001000
mov dword [0x14005ce10], eax
mov ecx, eax
test eax, eax
jne 0x14000f440
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x14000f498
dec eax
cmp eax, 1
jbe 0x14000f492
cmp ecx, 3
jne 0x14000f454
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000f498
cmp ecx, 4
je 0x14000f482
cmp ecx, 5
jne 0x14000f466
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000f498
cmp ecx, 6
je 0x14000f48a
cmp ecx, 7
jne 0x14000f478
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x14000f498
cmp ecx, 8
je 0x14000f48a
cmp ecx, 9
jne 0x14000f498
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14000f498
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x14000f498
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub rsi, 1
jne 0x14000f420
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
call fcn.14001d268
test eax, eax
mov rsi, r14
setne sil
mov eax, esi
jmp 0x14000f4c6
xor eax, eax
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.14000fa30
lea r11, [rsp + 0x6e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret