Function at 0x140005cd0
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [0x140057080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r12, r9
mov r13, r8
mov r15, rcx
mov qword [r11 - 0x50], r9
xor ebx, ebx
mov dword [rsp + 0x28], ebx
mov qword [r11 - 0x78], rbx
mov r14, 0xffffffffffffffff
mov r9d, r14d
mov r8, qword [0x140057b50]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
mov ecx, eax
add ecx, 1
cmovb rcx, r14
lea edx, [rbx + 2]
call fcn.1400210e0
mov qword [0x140057b48], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, qword [0x140057b50]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, [0x140059ad8]
mov rcx, qword [0x140057b48]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [0x140059ad0], rax
mov ecx, dword [0x140059ad8]
lea edi, [rcx*8]
mov ebp, ebx
test ecx, ecx
jle 0x140005de0
mov esi, ebx
nop dword [rax]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, r14d
mov r8, qword [rsi + rax]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add edi, eax
inc ebp
lea rsi, [rsi + 8]
cmp ebp, dword [0x140059ad8]
jge 0x140005de0
mov rax, qword [0x140059ad0]
jmp 0x140005da0
movsxd rdx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [0x140059ac8], rax
movsxd rdx, dword [0x140059ad8]
lea ecx, [rdx*8]
sub edi, ecx
lea rbp, [rax + rdx*8]
mov r14d, ebx
test edx, edx
jle 0x140005e64
mov rsi, rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbp
mov r9d, 0xffffffff
mov r8, qword [0x140059ad0]
mov r8, qword [rsi + r8]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [0x140059ac8]
mov qword [rsi + rcx], rbp
movsxd rcx, eax
add rbp, rcx
sub edi, eax
inc r14d
lea rsi, [rsi + 8]
cmp r14d, dword [0x140059ad8]
jl 0x140005e10
test r15, r15
je 0x140005f8b
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x140005f8b
movsxd rax, dword [r15 + 0x3c]
cmp eax, 0x400
jg 0x140005f8b
lea rsi, [r15 + rax]
cmp dword [rsi], 0x4550
jne 0x140005f8b
mov edx, dword [rsi + 0x50]
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, qword [rsi + 0x30]
call r13
mov rbp, rax
test rax, rax
jne 0x140005ed7
mov edx, dword [rsi + 0x50]
xor ecx, ecx
lea r9d, [rax + 0x40]
mov r8d, 0x3000
call r13
mov rbp, rax
test rax, rax
je 0x140005f83
mov qword [rsi + 0x30], rbp
mov r8d, dword [rsi + 0x54]
mov rdx, r15
mov rcx, rbp
call fcn.14001b680
cmp bx, word [rsi + 6]
jae 0x140005f22
lea rdi, [rsi + 0x11c]
nop word [rax + rax]
mov r8d, dword [rdi - 4]
mov edx, dword [rdi]
add rdx, r15
mov ecx, dword [rdi - 8]
add rcx, rbp
call fcn.14001b680
inc ebx
lea rdi, [rdi + 0x28]
movzx eax, word [rsi + 6]
cmp ebx, eax
jl 0x140005f00
mov rcx, rbp
call fcn.140005380
mov edx, dword [rsi + 0x28]
add rdx, rbp
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumThreadWindows]
nop
mov r9, qword [r12]
mov r8, qword [r9]
lea rdx, [rsp + 0x48]
mov rcx, r12
call fcn.140003540
mov edx, 0x60
mov rcx, qword [r12]
call fcn.140019dd0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140019820
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor ecx, ecx
call fcn.1400210d4
int3
xor ecx, ecx
call fcn.1400210d4
int3