Function at 0x180001000
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x20], 1
mov eax, dword [rsp + 0x24]
inc eax
cdqe
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x38]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x28], rax
mov eax, 8
imul rax, rax, 0
lea rcx, [0x1800030c0]
mov qword [rcx + rax], 0
mov rax, qword [rsp + 0x28]
mov qword [0x1800030a0], rax
cmp qword [rsp + 0x28], 0
jne 0x180001084
xor eax, eax
jmp 0x180001320
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0x22
jne 0x18000111b
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, 8
imul rax, rax, 0
lea rcx, [0x1800030c0]
mov rdx, qword [rsp + 0x28]
mov qword [rcx + rax], rdx
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
test eax, eax
je 0x1800010ef
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0x22
je 0x1800010ef
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x1800010c7
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
test eax, eax
je 0x180001112
mov rax, qword [rsp + 0x28]
mov byte [rax], 0
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x180001119
xor eax, eax
jmp 0x180001320
jmp 0x180001183
mov eax, 8
imul rax, rax, 0
lea rcx, [0x1800030c0]
mov rdx, qword [rsp + 0x28]
mov qword [rcx + rax], rdx
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
test eax, eax
je 0x180001162
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
mov ecx, eax
call fcn.180001330
test eax, eax
jne 0x180001162
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x180001134
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
test eax, eax
je 0x180001183
mov rax, qword [rsp + 0x28]
mov byte [rax], 0
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
test eax, eax
je 0x1800011b1
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
mov ecx, eax
call fcn.180001330
test eax, eax
je 0x1800011b1
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x180001183
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
test eax, eax
jne 0x1800011c6
mov eax, dword [rsp + 0x20]
jmp 0x180001320
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0x22
jne 0x18000127a
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x1800030c0]
mov rdx, qword [rsp + 0x28]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x1800030c0]
mov qword [rcx + rax*8], 0
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
test eax, eax
je 0x18000123f
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0x22
je 0x18000123f
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x180001217
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
test eax, eax
jne 0x180001254
mov eax, dword [rsp + 0x20]
jmp 0x180001320
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
test eax, eax
je 0x180001275
mov rax, qword [rsp + 0x28]
mov byte [rax], 0
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x18000130e
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x1800030c0]
mov rdx, qword [rsp + 0x28]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x1800030c0]
mov qword [rcx + rax*8], 0
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
test eax, eax
je 0x1800012db
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
mov ecx, eax
call fcn.180001330
test eax, eax
jne 0x1800012db
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x1800012ad
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
test eax, eax
jne 0x1800012ed
mov eax, dword [rsp + 0x20]
jmp 0x180001320
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
test eax, eax
je 0x18000130e
mov rax, qword [rsp + 0x28]
mov byte [rax], 0
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
cmp dword [rsp + 0x20], 0x20
jl 0x18000131b
mov eax, dword [rsp + 0x20]
jmp 0x180001320
jmp 0x180001183
add rsp, 0x48
ret