Function at 0x140003010
Capabilities:
Accept command line arguments
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x140046030]
xor rax, rsp
mov qword [rsp + 0xa0], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, 0xffffffffffffffff
mov rbx, rax
mov rcx, rdi
inc rcx
cmp byte [rax + rcx], 0
jne 0x140003052
inc rcx
call fcn.14000a974
mov rsi, rax
mov rcx, rdi
nop dword [rax]
cmp byte [rbx + rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140003070
mov byte [rcx + rax], 0
mov rcx, rsi
sub rcx, rbx
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x140003090
mov rcx, rdi
inc rcx
cmp byte [rsi + rcx], 0
jne 0x1400030a1
xor ebp, ebp
mov r8d, ebp
test rcx, rcx
je 0x1400030db
mov r9, rsi
nop word [rax + rax]
cmp byte [r9], 0x5c
lea r9, [r9 + 1]
mov edx, r8d
cmovne edx, edi
inc r8d
movsxd rax, r8d
mov edi, edx
cmp rax, rcx
jb 0x1400030c0
movsxd rbx, edi
lea rcx, [rsi + 1]
add rcx, rbx
call fcn.1400028f0
test eax, eax
je 0x140003100
nop
lea rcx, [rsi + 1]
add rcx, rbx
call fcn.1400028f0
test eax, eax
jne 0x1400030f0
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
xor eax, eax
mov rdx, rsi
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x90], rax
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call fcn.140002400
call fcn.14000a028
mov rcx, rax
movabs rax, 0x346dc5d63886594b
imul rcx
sar rdx, 0xb
mov rcx, rdx
shr rcx, 0x3f
add rcx, rdx
call fcn.140011528
call fcn.1400114fc
mov r14, qword [rsp + 0x90]
mov edi, eax
movsxd r11, dword [r14 + 0x3c]
add r11, r14
jne 0x1400031d8
lea ecx, [r11 + 2]
call fcn.140011728
mov rcx, rax
lea rdx, str.Failed_to_get_NT_Headers_n
call fcn.140001150
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.1400024e0
mov r14, qword [rsp + 0x90]
lea rdx, [0x14004008c]
mov rcx, rsi
call fcn.1400115fc
mov rdi, rax
test rax, rax
jne 0x1400032bd
lea rcx, str.Failed_to_open_file
call fcn.140011af0
jmp 0x140003381
movzx eax, word [r11 + 0x14]
lea rdx, [r11 + 0x18]
movzx r10d, word [r11 + 6]
add rdx, rax
mov r8d, ebp
test r10d, r10d
je 0x140003198
mov r9d, dword [r11 + 0x28]
lea rbx, str..reloc
nop dword [rax]
mov ecx, dword [rdx + 0xc]
cmp r9d, ecx
jb 0x140003272
add ecx, dword [rdx + 8]
cmp r9d, ecx
jae 0x140003272
mov rax, rbp
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [rbx + rax - 1]
jne 0x140003272
cmp rax, 7
jne 0x140003213
movsxd rcx, dword [r14 + 0x3c]
lea rdx, [r14 + 0x18]
add rdx, rcx
mov r8d, r9d
mov r9d, ebp
movzx eax, word [rcx + r14 + 0x14]
movzx r11d, word [rcx + r14 + 6]
add rdx, rax
test r11d, r11d
je 0x14000328c
nop dword [rax + rax]
mov r10d, dword [rdx + 0xc]
cmp r8d, r10d
jb 0x140003264
mov ecx, dword [rdx + 8]
add ecx, r10d
cmp r8d, ecx
jb 0x140003283
add rdx, 0x28
inc r9d
cmp r9d, r11d
jl 0x140003250
jmp 0x14000328c
add rdx, 0x28
inc r8d
cmp r8d, r10d
jl 0x140003200
jmp 0x140003198
mov eax, dword [rdx + 0x14]
sub eax, r10d
add r8d, eax
lea eax, [r8 + 0x74]
movsxd rbx, eax
lea rcx, [rsp + 0x90]
mov r8d, dword [rbx + r14]
call fcn.140002210
mov r8d, edi
lea rcx, [rsp + 0x90]
call fcn.140002210
mov dword [rbx + r14], edi
jmp 0x1400031ac
movsxd rsi, dword [r14 + 0x3c]
add rsi, r14
jne 0x1400032ea
mov rcx, rdi
call fcn.14001191c
lea ecx, [rsi + 2]
call fcn.140011728
mov rcx, rax
lea rdx, str.Failed_to_get_NT_Headers_n
call fcn.140001150
jmp 0x140003381
mov r8d, dword [rsi + 0x54]
mov r9, rdi
mov edx, 1
mov rcx, r14
call fcn.140015588
mov ecx, dword [rsi + 0x54]
cmp rax, rcx
je 0x140003329
mov rcx, rdi
call fcn.14001191c
mov ecx, 2
call fcn.140011728
mov rcx, rax
lea rdx, str.Failed_to_write_headers_n
call fcn.140001150
jmp 0x140003381
movzx ebx, word [rsi + 0x14]
add rbx, 0x28
cmp bp, word [rsi + 6]
jae 0x140003379
add rbx, rsi
nop word [rax + rax]
mov edx, dword [rbx + 4]
xor r8d, r8d
mov rcx, rdi
call fcn.140011e84
mov ecx, dword [rbx + 4]
mov r9, rdi
mov r8d, dword [rbx]
add rcx, r14
mov edx, 1
call fcn.140015588
mov ecx, dword [rbx]
cmp rax, rcx
jne 0x1400033dd
movzx eax, word [rsi + 6]
add rbx, 0x28
inc ebp
cmp ebp, eax
jl 0x140003340
mov rcx, rdi
call fcn.14001191c
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor edx, edx
mov r8d, 0x8000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14000a910
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov rcx, rdi
call fcn.14001191c
mov ecx, 2
call fcn.140011728
mov rcx, rax
lea rdx, str.Failed_to_write_section_data_for_section__d_n
mov r8d, ebp
call fcn.140001150
jmp 0x140003381