Function at 0x140001c20
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140009010]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
mov qword [rbp + 0x27], 7
xor edi, edi
mov qword [rbp + 0x1f], rdi
mov word [rbp + 0xf], di
lea rcx, [rbp + 0xf]
call fcn.140001080
lea rdx, [rbp + 0xf]
mov rcx, qword [rbp + 0xf]
mov r8, qword [rbp + 0x27]
cmp r8, 8
cmovae rdx, rcx
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140001c90
movabs rsi, 0x7fffffffffffffff
test rax, rax
jne 0x140001cb0
xor bl, bl
jmp 0x140001f8d
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x2f]
call fcn.140001a40
nop
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], rdi
mov word [rbp - 0x31], di
mov r8d, 0xa
lea rdx, str.priDevId_
lea rcx, [rbp - 0x31]
call fcn.140002960
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x31]
call fcn.140002df0
mov r8d, 1
lea rdx, [0x1400065a0]
lea rcx, [rbp - 0x31]
call fcn.140002c90
lea rcx, str.Launching_APD...
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rcx, qword [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov qword [rbp + 7], 7
mov qword [rbp - 1], rdi
mov word [rbp - 0x11], di
mov r8d, 8
lea rdx, str.devType
lea rcx, [rbp - 0x11]
call fcn.140002960
nop
cmp qword [rbx + 0x10], 2
jne 0x140001d89
cmp qword [rbx + 0x18], 8
jb 0x140001d7b
mov rbx, qword [rbx]
cmp word [rbx + 2], 0x3a
lea rdx, str.volume
je 0x140001d90
lea rdx, str.camera
mov r8d, 6
lea rcx, [rbp - 0x11]
call fcn.140002c90
lea r9, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae r9, qword [rbp - 0x31]
lea rax, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rax, qword [rbp - 0x11]
lea r8, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae r8, qword [rbp + 0x2f]
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x30], rax
lea rax, str.modedirect
mov qword [rsp + 0x28], rax
lea rax, str.params
mov qword [rsp + 0x20], rax
lea r9, str.modulephotodownloader
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_process_l1_1_0.dll__wspawnlp]
cmp rax, 0x12
setg bl
mov rax, qword [rbp + 7]
cmp rax, 8
jb 0x140001e81
inc rax
mov rcx, qword [rbp - 0x11]
cmp rax, rsi
jbe 0x140001e34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
add rax, rax
cmp rax, 0x1000
jb 0x140001e7c
test byte [rbp - 0x11], 0x1f
je 0x140001e4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140001e5c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x140001e6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140001e79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140004528
mov qword [rbp + 7], 7
mov qword [rbp - 1], rdi
mov word [rbp - 0x11], di
mov rax, qword [rbp - 0x19]
cmp rax, 8
jb 0x140001efb
inc rax
mov rcx, qword [rbp - 0x31]
cmp rax, rsi
jbe 0x140001eae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
add rax, rax
cmp rax, 0x1000
jb 0x140001ef6
test byte [rbp - 0x31], 0x1f
je 0x140001ec6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140001ed6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x140001ee6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140001ef3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140004528
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], rdi
mov word [rbp - 0x31], di
mov rax, qword [rbp + 0x47]
cmp rax, 8
jb 0x140001f75
inc rax
mov rcx, qword [rbp + 0x2f]
cmp rax, rsi
jbe 0x140001f28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
add rax, rax
cmp rax, 0x1000
jb 0x140001f70
test byte [rbp + 0x2f], 0x1f
je 0x140001f40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140001f50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x140001f60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140001f6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140004528
mov qword [rbp + 0x47], 7
mov qword [rbp + 0x3f], rdi
mov word [rbp + 0x2f], di
mov r8, qword [rbp + 0x27]
mov rcx, qword [rbp + 0xf]
cmp r8, 8
jb 0x140001ff0
lea rax, [r8 + 1]
cmp rax, rsi
jbe 0x140001fa3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
add rax, rax
cmp rax, 0x1000
jb 0x140001feb
test byte [rbp + 0xf], 0x1f
je 0x140001fbb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140001fcb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x140001fdb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140001fe8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140004528
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400044c0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret