Function at 0x180003c60
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov rbp, rdx
mov rsi, rcx
xor ebx, ebx
mov dword [rax + 0x18], ebx
lea rdx, [rax + 0x18]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r12, rax
cmp dword [rsp + 0x80], 4
je 0x180003ced
mov eax, dword [0x180032568]
test al, 1
jne 0x180003cd3
or eax, 1
mov dword [0x180032568], eax
lea rcx, [0x180032570]
call fcn.180014a20
lea rcx, [0x180021db0]
call fcn.18000505c
nop
lea rdx, str.CFunKoala::run:_Wrong_number_of_args
lea rcx, [0x180032570]
call fcn.180014c60
xor al, al
jmp 0x180003ece
test rsi, rsi
jne 0x180003cf6
mov ecx, ebx
jmp 0x180003d08
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
mov rdx, rsi
mov rcx, rbp
call fcn.180002130
mov rdx, qword [r12]
test rdx, rdx
jne 0x180003d23
mov ecx, ebx
jmp 0x180003d35
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rbp + 8]
call fcn.180002130
mov rdx, qword [r12 + 8]
test rdx, rdx
jne 0x180003d4f
mov ecx, ebx
jmp 0x180003d61
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rbp + 0x10]
call fcn.180002130
mov rdx, qword [r12 + 0x10]
test rdx, rdx
jne 0x180003d7b
mov ecx, ebx
jmp 0x180003d8d
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rbp + 0x18]
call fcn.180002130
mov rdx, qword [r12 + 0x18]
test rdx, rdx
je 0x180003db6
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea rbx, [rcx - 1]
mov r8d, ebx
lea rcx, [rbp + 0x20]
call fcn.180002130
mov edx, dword [0x180032568]
test dl, 1
jne 0x180003def
or edx, 1
mov dword [0x180032568], edx
lea rcx, [0x180032570]
call fcn.180014a20
lea rcx, [0x180021db0]
call fcn.18000505c
nop
mov rax, qword [rbp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x18]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x10]
mov r8, qword [rbp + 8]
lea rdx, str.1:__s_n2:__s_n3:__s_n4:__s_n
lea rcx, [0x180032570]
call fcn.180014c60
xor sil, sil
mov rcx, qword [rbp + 8]
mov rax, rcx
lea rbx, [0x180029550]
mov r8, rbx
sub r8, rcx
movzx edi, word [rax]
movzx edx, word [rax + r8]
sub edi, edx
jne 0x180003e47
add rax, 2
test edx, edx
jne 0x180003e33
test edi, edi
je 0x180003e6c
lea rdi, [0x180029554]
sub rdi, rcx
movzx edx, word [rcx]
movzx eax, word [rcx + rdi]
sub edx, eax
jne 0x180003e68
add rcx, 2
test eax, eax
jne 0x180003e55
test edx, edx
jne 0x180003eca
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180003eca
mov rax, qword [rbp + 8]
sub rbx, rax
movzx edx, word [rax]
movzx ecx, word [rax + rbx]
sub edx, ecx
jne 0x180003e94
add rax, 2
test ecx, ecx
jne 0x180003e81
test edx, edx
jne 0x180003ec7
mov rax, qword [rbp + 0x18]
lea rdi, [0x180029558]
sub rdi, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + rdi]
sub edx, ecx
jne 0x180003ec3
add rax, 2
test ecx, ecx
jne 0x180003eb0
test edx, edx
je 0x180003eca
mov sil, 1
movzx eax, sil
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret