Function at 0x140001ae0
Capabilities:
Accept command line arguments
Create directory
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3170]
mov eax, 0x3270
call fcn.140002e90
sub rsp, rax
mov esi, ecx
lea rdx, [rbp + 0xd40]
xor ecx, ecx
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rbp + 0xd40]
lea rcx, [rbp + 0x130]
call fcn.140002230
mov rcx, qword [rbp + 0x538]
call fcn.140001f30
mov rdi, qword [rbp + 0x538]
xor r14d, r14d
mov edx, 0xffffffff
test rdi, rdi
jne 0x140001b52
mov ebx, r14d
jmp 0x140001b8e
mov rcx, rdi
mov rbx, rcx
cmp byte [rcx], r14b
je 0x140001b8c
lea ebx, [rcx + 1]
cmp byte [rcx + 1], r14b
je 0x140001b8c
lea ebx, [rcx + 2]
cmp byte [rcx + 2], r14b
je 0x140001b8c
lea ebx, [rcx + 3]
cmp byte [rcx + 3], r14b
je 0x140001b8c
lea ebx, [rcx + 4]
cmp byte [rcx + 4], r14b
je 0x140001b8c
add rcx, 5
mov ebx, ecx
add edx, 0xfffffffb
jne 0x140001b55
sub ebx, edi
mov r9d, 0xffffffff
lea r8, str.MTUNERINJECT_DEBUG
mov edx, ebx
mov rcx, rdi
call section..text
test rax, rax
jne 0x140001bca
mov r9d, 0xffffffff
lea r8, str.MTUNERINJECT
mov edx, ebx
mov rcx, rdi
call section..text
test rax, rax
je 0x140001f03
vmovups xmm0, xmmword [str.MTunerDLL64.dll]
lea rcx, [rsp + 0x30]
vmovups xmmword [rax], xmm0
call fcn.140001220
lea rax, [rsp + 0x30]
dec rax
nop dword [rax + rax]
cmp byte [rax + 1], r14b
lea rax, [rax + 1]
jne 0x140001bf0
vmovsd xmm0, qword [str.MTuner]
mov r8b, 1
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1960]
vmovsd qword [rax], xmm0
call fcn.1400020d0
xor edx, edx
mov rcx, qword [rax + 0x808]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rbp + 0x1960]
call fcn.1400022f0
cmp esi, 1
je 0x140001efb
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, str.23
call fcn.14000389c
test rax, rax
je 0x140001efb
lea rbx, [rax + 8]
mov word [rax - 2], r14w
mov rcx, rbx
lea rdx, str.23
call fcn.14000389c
lea rdx, [rbp + 0x2170]
sub rdx, rbx
mov word [rax], r14w
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rbx]
mov word [rdx + rbx], cx
lea rbx, [rbx + 2]
test cx, cx
jne 0x140001c90
lea rbx, [rax + 0xa]
mov r8d, 4
mov rcx, rbx
lea rdx, str.23
call fcn.1400097b0
test eax, eax
jne 0x140001efb
add rbx, 8
lea rdx, str.23
mov rcx, rbx
call fcn.14000389c
test rax, rax
je 0x140001efb
lea r9, [rbp + 0x2970]
mov word [rax], r14w
sub r9, rbx
nop dword [rax + rax]
movzx ecx, word [rbx]
mov word [r9 + rbx], cx
lea rbx, [rbx + 2]
test cx, cx
jne 0x140001cf0
lea rbx, [rax + 0xa]
mov r8d, 4
mov rcx, rbx
lea rdx, str.23
call fcn.1400097b0
test eax, eax
jne 0x140001efb
add rbx, 8
lea rdx, str.23
mov rcx, rbx
call fcn.14000389c
lea rcx, [rbp + 0x540]
sub rcx, rbx
mov word [rax], r14w
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rcx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x140001d50
mov rax, 0xffffffffffffffff
lea rdx, [rbp + 0x540]
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x140001d71
test rcx, rcx
jne 0x140001de8
mov rdx, r14
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rbp + rdx + 0x2170]
mov word [rbp + rdx + 0x540], cx
lea rdx, [rdx + 2]
test cx, cx
jne 0x140001d90
lea rcx, [rbp + 0x540]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140001db0
movzx ecx, word [rbp + rax*2 + 0x540]
cmp cx, 0x2f
je 0x140001ddf
cmp cx, 0x5c
je 0x140001ddf
movzx ecx, word [rbp + rax*2 + 0x53e]
dec rax
cmp cx, 0x2f
jne 0x140001dc8
mov word [rbp + rax*2 + 0x542], r14w
lea rcx, [rbp + 0x540]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x140001f10
lea rdx, [0x14001b4d4]
lea rcx, [rbp + 0x2170]
call fcn.140007660
test rax, rax
je 0x140001eee
mov rcx, rax
call fcn.1400077f8
lea rdx, [rbp + 0x540]
mov dword [rbp + 0x31a0], r14d
lea rcx, [rbp + 0x1960]
call fcn.140002230
lea rdx, [rbp + 0x2970]
lea rcx, [rbp + 0x1550]
mov rsi, qword [rax + 0x408]
call fcn.140002230
mov rdi, qword [rbp + 0x538]
lea rdx, [rbp + 0x2170]
lea rcx, [rbp + 0x1140]
mov rbx, qword [rax + 0x408]
call fcn.140002230
lea rcx, [rbp + 0x31a0]
mov r9, rsi
mov qword [rsp + 0x20], rcx
mov r8, rbx
mov rdx, rdi
mov rcx, qword [rax + 0x408]
call fcn.140002820
lea rcx, [rbp + 0x1140]
movzx ebx, al
call fcn.140002310
lea rcx, [rbp + 0x1550]
call fcn.140002310
lea rcx, [rbp + 0x1960]
call fcn.140002310
test bl, bl
je 0x140001efb
mov ebx, dword [rbp + 0x31a0]
lea rcx, [rbp + 0x130]
call fcn.140002310
lea r11, [rsp + 0x3270]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rcx, str.Executable_doesnt_exist_
call fcn.1400011a0
int3
xor ecx, ecx
call fcn.1400011a0
int3
lea rcx, str.Could_not_locate_executable_
call fcn.1400011a0
int3
lea rcx, str.Could_not_change_working_directory_
call fcn.1400011a0
int3