Function at 0x140003140
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rsi, 0xffffffffffffffff
mov rbx, rax
mov rcx, rsi
nop dword [rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140003180
inc rcx
call fcn.14000a6a4
mov rbp, rax
mov rcx, rsi
nop word [rax + rax]
cmp byte [rbx + rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400031a0
mov byte [rcx + rax], 0
mov rcx, rbp
sub rcx, rbx
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1400031c0
mov rcx, rsi
inc rcx
cmp byte [rcx + rbp], 0
jne 0x1400031d1
xor edi, edi
mov r8d, edi
test rcx, rcx
je 0x14000320b
mov r9, rbp
nop word [rax + rax]
cmp byte [r9], 0x5c
lea r9, [r9 + 1]
mov edx, r8d
cmovne edx, esi
inc r8d
movsxd rax, r8d
mov esi, edx
cmp rax, rcx
jb 0x1400031f0
movsxd rbx, esi
lea rcx, [rbx + 1]
add rcx, rbp
call fcn.140002980
test eax, eax
je 0x140003230
nop
lea rcx, [rbp + 1]
add rcx, rbx
call fcn.140002980
test eax, eax
jne 0x140003220
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
xor eax, eax
mov rdx, rbp
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.140002450
call fcn.14000a0a8
mov rcx, rax
movabs rax, 0x346dc5d63886594b
imul rcx
sar rdx, 0xb
mov rcx, rdx
shr rcx, 0x3f
add rcx, rdx
call fcn.140010b18
call fcn.140010aec
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140002840
lea rdx, [0x140039b2c]
mov rcx, rbp
call fcn.140010bec
mov rbp, rax
test rax, rax
jne 0x1400032d1
lea rcx, str.Failed_to_open_file
call fcn.1400110e0
jmp 0x1400033a9
mov qword [rsp + 0xc0], r14
mov r14, qword [rsp + 0x90]
movsxd rsi, dword [r14 + 0x3c]
add rsi, r14
jne 0x140003310
mov rcx, rbp
call fcn.140010f0c
mov ecx, 2
call fcn.140010d18
mov rcx, rax
lea rdx, str.Failed_to_get_NT_Headers_n
call fcn.140001150
jmp 0x1400033a1
mov r8d, dword [rsi + 0x54]
mov r9, rbp
mov edx, 1
mov rcx, r14
call fcn.140014b78
mov ecx, dword [rsi + 0x54]
cmp rax, rcx
je 0x14000334f
mov rcx, rbp
call fcn.140010f0c
mov ecx, 2
call fcn.140010d18
mov rcx, rax
lea rdx, str.Failed_to_write_headers_n
call fcn.140001150
jmp 0x1400033a1
movzx ebx, word [rsi + 0x14]
add rbx, 0x28
cmp di, word [rsi + 6]
jae 0x140003399
add rbx, rsi
mov edx, dword [rbx + 4]
xor r8d, r8d
mov rcx, rbp
call fcn.140011474
mov ecx, dword [rbx + 4]
mov r9, rbp
mov r8d, dword [rbx]
add rcx, r14
mov edx, 1
call fcn.140014b78
mov ecx, dword [rbx]
cmp rax, rcx
jne 0x140003400
movzx eax, word [rsi + 6]
add rbx, 0x28
inc edi
cmp edi, eax
jl 0x140003360
mov rcx, rbp
call fcn.140010f0c
mov r14, qword [rsp + 0xc0]
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.14000a640
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rcx, rbp
call fcn.140010f0c
mov ecx, 2
call fcn.140010d18
mov rcx, rax
lea rdx, str.Failed_to_write_section_data_for_section__d_n
mov r8d, edi
call fcn.140001150
jmp 0x1400033a1