Function at 0x140089560
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 r14d, r14d
lea rdx, [rax + 0x18]
mov ebx, r14d
mov dword [rsp + 0x88], ebx
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, r14d
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x78], r14d
mov r12, rax
mov r13d, r14d
mov r15d, r14d
test rax, rax
je 0x140089885
cmp dword [rsp + 0x80], r14d
jle 0x140089885
mov rcx, qword [rax]
lea rdx, [0x14015b2fc]
call fcn.1400cb790
mov rdi, rax
test rax, rax
je 0x140089637
mov rdx, rax
lea ecx, [r14 + 0x40]
sub rdx, qword [r12]
sar rdx, 1
lea rdx, [rdx*2 + 2]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
mov rsi, rax
test rax, rax
je 0x14008963b
mov rbp, qword [r12]
mov rbx, rdi
mov rcx, rbp
sub rbx, rbp
call fcn.1400f0ad0
mov rcx, rax
lea rax, [rbx + 4]
sar rax, 1
mov eax, eax
cmp rax, rcx
jae 0x140089621
lea r13, [rdi + 4]
sar rbx, 1
mov rdx, rbp
add rbx, rbx
mov rcx, rsi
mov r8, rbx
call fcn.1400cac20
jmp 0x14008963b
mov r13, qword [r12]
mov ebp, Ordinal_27
lea rdi, [0x14013efd0]
movzx ebx, r14w
lea eax, [rbp - 0x18]
cmp bx, bp
jae 0x14008971c
movzx ebp, bx
test rsi, rsi
je 0x14008967f
mov rdx, qword [rdi + rbp*8]
mov rcx, rsi
mov rdx, qword [rdx]
call fcn.1400f0958
test eax, eax
mov eax, 1
je 0x14008967f
mov r15d, r14d
jmp 0x14008970b
mov r15d, eax
test r13, r13
je 0x14008970b
cmp dword [rsp + 0x78], 0
jne 0x140089708
xor esi, esi
mov rdx, qword [rdi + rbp*8]
cmp r14w, word [rdx + 0x18]
jae 0x140089703
mov rdx, qword [rdx + 0x20]
mov rcx, r13
movzx eax, r14w
lea rax, [rax + rax*2]
mov rdx, qword [rdx + rax*8 + 8]
mov qword [rsp + 0x28], rax
call fcn.1400f0958
test eax, eax
mov ecx, esi
sete cl
mov dword [rsp + 0x78], ecx
test eax, eax
jne 0x1400896f6
mov rax, qword [rdi + rbp*8]
lea rdx, [r12 + 8]
mov ecx, dword [rsp + 0x80]
dec ecx
mov r8, qword [rax + 0x20]
mov rax, qword [rsp + 0x28]
call qword [r8 + rax*8]
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x88], eax
mov eax, 1
add r14w, ax
test ecx, ecx
je 0x140089694
mov rsi, qword [rsp + 0x20]
xor r14d, r14d
add bx, ax
mov ebp, Ordinal_27
test r15d, r15d
je 0x14008964e
test r15d, r15d
jne 0x140089784
mov rdx, rsi
lea rcx, str.ERROR_momokatz_doLocal_____s__module_not_found___n
call fcn.14000d9f0
lea r13d, [r15 + 1]
mov rdx, qword [rdi]
lea rcx, str._n_16s
mov rdx, qword [rdx]
call fcn.14000d9f0
mov rax, qword [rdi]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140089761
lea rcx, str.______s
call fcn.14000d9f0
mov rax, qword [rdi]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x140089776
lea rcx, str.____s_
call fcn.14000d9f0
add rdi, 8
sub rbp, r13
jne 0x140089734
jmp 0x14008985b
cmp dword [rsp + 0x78], r14d
jne 0x140089867
sub bx, ax
lea rcx, str.ERROR_momokatz_doLocal_____s__command_of___s__module_not_found___n
movzx ebp, bx
mov rdx, r13
mov r8, qword [rdi + rbp*8]
mov r8, qword [r8]
call fcn.14000d9f0
mov rdx, qword [rdi + rbp*8]
lea rcx, str._nModule_:_t_s
mov rdx, qword [rdx]
call fcn.14000d9f0
mov rdx, qword [rdi + rbp*8]
mov rax, qword [rdx + 8]
test rax, rax
je 0x1400897de
mov rdx, rax
lea rcx, str._nFull_name_:_t_s
call fcn.14000d9f0
mov rdx, qword [rdi + rbp*8]
mov rdx, qword [rdx + 0x10]
test rdx, rdx
je 0x1400897f3
lea rcx, str._nDescription_:_t_s
call fcn.14000d9f0
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000d9f0
mov rcx, qword [rdi + rbp*8]
xor r15d, r15d
cmp r15w, word [rcx + 0x18]
jae 0x14008985b
lea r13d, [r15 + 1]
mov rdx, qword [rcx + 0x20]
lea rcx, str._n_16s
movzx eax, r14w
lea rbx, [rax + rax*2]
mov rdx, qword [rdx + rbx*8 + 8]
call fcn.14000d9f0
mov rcx, qword [rdi + rbp*8]
mov rax, qword [rcx + 0x20]
mov rdx, qword [rax + rbx*8 + 0x10]
test rdx, rdx
je 0x140089850
lea rcx, str.______s
call fcn.14000d9f0
mov rcx, qword [rdi + rbp*8]
add r14w, r13w
cmp r14w, word [rcx + 0x18]
jb 0x140089811
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000d9f0
test rsi, rsi
je 0x140089875
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [rsp + 0x88]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret