Function at 0x180004734
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor edi, edi
lea rdx, [rax + 0x18]
mov r12d, edi
mov dword [rsp + 0x88], edi
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, edi
mov r15d, edi
mov r13d, edi
mov rbp, rax
mov dword [rsp + 0x78], edi
test rax, rax
je 0x180004a00
cmp dword [rsp + 0x80], edi
jle 0x180004a00
mov rcx, qword [rax]
lea rdx, [0x18003a424]
call fcn.180028f90
lea r10d, [rdi + 1]
mov rsi, rax
test rax, rax
je 0x18000484c
mov rdx, rax
lea ecx, [rdi + 0x40]
sub rdx, qword [rbp]
sar rdx, 1
lea rdx, [rdx + rdx + 2]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x180004802
mov rdi, qword [rbp]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov r8, rsi
sub r8, qword [rbp]
not rcx
lea rax, [r8 + 4]
dec rcx
sar rax, 1
mov eax, eax
cmp rax, rcx
jae 0x1800047f0
lea r15, [rsi + 4]
mov rdx, qword [rbp]
sar r8, 1
mov rcx, rbx
add r8, r8
call fcn.180026930
mov r10d, 1
movzx esi, r12w
mov r14d, Ordinal_27
lea rdi, [0x18004a500]
cmp si, r14w
jae 0x1800048ee
test rbx, rbx
je 0x180004852
movzx edx, si
mov rcx, rbx
mov rdx, qword [rdi + rdx*8]
mov rdx, qword [rdx]
call fcn.180028f08
mov r10d, 1
test eax, eax
je 0x180004852
mov r13d, r12d
jmp 0x1800048e1
mov r15, qword [rbp]
jmp 0x180004808
mov r13d, r10d
test r15, r15
je 0x1800048e1
cmp dword [rsp + 0x78], 0
jne 0x1800048de
movzx r14d, si
mov rdx, qword [rdi + r14*8]
cmp r12w, word [rdx + 0x18]
jae 0x1800048d8
mov rdx, qword [rdx + 0x20]
movzx eax, r12w
mov rcx, r15
lea rax, [rax + rax*2]
mov qword [rsp + 0x20], rax
mov rdx, qword [rdx + rax*8 + 8]
call fcn.180028f08
xor ecx, ecx
test eax, eax
sete cl
mov dword [rsp + 0x78], ecx
test ecx, ecx
je 0x1800048ca
mov rax, qword [rdi + r14*8]
mov ecx, dword [rsp + 0x80]
mov r8, qword [rsp + 0x20]
mov rax, qword [rax + 0x20]
lea rdx, [rbp + 8]
dec ecx
call qword [rax + r8*8]
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x88], eax
mov r10d, 1
add r12w, r10w
test ecx, ecx
je 0x180004869
mov r14d, Ordinal_27
xor r12d, r12d
add si, r10w
test r13d, r13d
je 0x180004819
test r13d, r13d
jne 0x180004936
mov rcx, rbx
call fcn.180004a6c
mov rcx, qword [rdi]
mov rcx, qword [rcx]
call fcn.180004a6c
mov rcx, qword [rdi]
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x180004917
call fcn.180004a6c
mov rax, qword [rdi]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x180004928
call fcn.180004a6c
add rdi, 8
sub r14, r10
jne 0x1800048fb
jmp 0x1800049dc
cmp dword [rsp + 0x78], r12d
jne 0x1800049e1
mov eax, 0xffff
mov rcx, r15
add si, ax
movzx r8d, si
mov rdx, qword [rdi + r8*8]
mov rdx, qword [rdx]
call fcn.180004a6c
mov rcx, qword [rdi + r8*8]
mov rcx, qword [rcx]
call fcn.180004a6c
mov rcx, qword [rdi + r8*8]
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x18000497a
call fcn.180004a6c
mov rax, qword [rdi + r8*8]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x18000498c
call fcn.180004a6c
call fcn.180004a6c
mov rcx, qword [rdi + r8*8]
movzx r9d, r12w
cmp r12w, word [rcx + 0x18]
jae 0x1800049dc
mov rcx, qword [rcx + 0x20]
movzx eax, r9w
lea rdx, [rax + rax*2]
mov rcx, qword [rcx + rdx*8 + 8]
call fcn.180004a6c
mov rcx, qword [rdi + r8*8]
mov rax, qword [rcx + 0x20]
mov rcx, qword [rax + rdx*8 + 0x10]
test rcx, rcx
je 0x1800049cd
call fcn.180004a6c
mov rcx, qword [rdi + r8*8]
add r9w, r10w
cmp r9w, word [rcx + 0x18]
jb 0x1800049a0
call fcn.180004a6c
test rbx, rbx
je 0x1800049ef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r12d, dword [rsp + 0x88]
mov eax, r12d
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret