Function at 0x140009480
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x958
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x140099938]
xor rax, rsp
mov qword [rsp + 0x940], rax
mov rbx, rdx
mov r12d, ecx
xor r13d, r13d
mov qword [rsp + 0x60], r13
mov qword [r11 - 0x8b8], 7
mov qword [r11 - 0x8c0], r13
mov word [r11 - 0x8d0], r13w
mov edi, ecx
and edi, 0xf
cmp dword [0x14009af30], edi
jae 0x1400094f2
jmp 0x140009991
lea rbp, [0x140077480]
mov rcx, rbp
call fcn.14005b1c0
mov r8, rax
mov rdx, rbp
lea rcx, [rsp + 0xb0]
call fcn.140002280
xor edx, edx
mov r8d, 0x412
lea rcx, [rsp + 0x520]
call fcn.14005bb90
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x310]
call fcn.14005bb90
lea r11, [rsp + 0x9a8]
mov qword [rsp + 0x68], r11
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov esi, 0x105
mov r8d, esi
lea rdx, [rsp + 0x310]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x100]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x310]
call fcn.14005cbe4
mov rcx, qword [0x14009af40]
cmp rcx, r13
jne 0x1400095b5
mov rsi, r13
jmp 0x1400095dd
mov rdx, qword [0x14009af48]
call fcn.14005ca00
cmp rax, r13
jne 0x1400095cb
mov rsi, r13
jmp 0x1400095dd
xor edx, edx
mov rcx, qword [0x14009af40]
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
cmp dword [0x14009af34], r13d
je 0x140009661
lea rax, [0x140077b2c]
cmp rbx, r13
cmovne rbp, rax
lea r11, [0x140077b28]
cmp rbx, r13
cmovne r11, rbx
movzx eax, word [rsp + 0x7c]
movzx ecx, word [rsp + 0x7a]
movzx edx, word [rsp + 0x78]
movzx r8d, word [rsp + 0x76]
movzx r10d, word [rsp + 0x72]
movzx r9d, word [rsp + 0x70]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], r11
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], r10d
lea r8, [rsp + 0x100]
lea rdx, str.__s_:_04d_02d_02d_02d_02d_02d:_hs_s
lea rcx, [rsp + 0x520]
call fcn.140009454
jmp 0x14000969e
lea rax, [0x140077b2c]
cmp rbx, r13
cmovne rbp, rax
lea r9, [0x140077b28]
cmp rbx, r13
cmovne r9, rbx
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x100]
lea rdx, str.__s_:_hs_s
lea rcx, [rsp + 0x520]
call fcn.140009454
lea rcx, [rsp + 0x520]
call fcn.14005b1c0
mov r8, rax
lea rdx, [rsp + 0x520]
lea rcx, [rsp + 0xb0]
call fcn.140002280
mov rdx, qword [rsp + 0x9a0]
cmp rdx, r13
je 0x140009714
mov r8d, 3
lea rcx, [rsp + 0xd8]
call fcn.140051170
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140003410
nop
cmp qword [rsp + 0xf8], 8
jb 0x140009714
mov rcx, qword [rsp + 0xe0]
call fcn.14005ab0c
lea rdx, [rsp + 0xb8]
cmp qword [rsp + 0xd0], 8
cmovae rdx, qword [rsp + 0xb8]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r13d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov ecx, 0x500
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov ebp, eax
cmp qword [rsp + 0x60], r13
jne 0x140009794
lea rcx, str.Debug:_Cannot_allocate_memory._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov qword [rsp + 0x68], r13
cmp qword [rsp + 0xd0], 8
jb 0x140009991
mov rcx, qword [rsp + 0xb8]
call fcn.14005ab0c
jmp 0x140009991
mov ebx, 1
test byte [0x14009af38], bl
je 0x1400097ac
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp qword [0x14009af50], r13
je 0x1400098aa
mov qword [rsp + 0xf8], 0xf
mov qword [rsp + 0xf0], r13
mov byte [rsp + 0xe0], r13b
cmp edi, r13d
jbe 0x140009807
cmp edi, 2
jbe 0x14000980c
cmp edi, 3
je 0x140009800
cmp edi, 4
je 0x1400097f9
mov ebx, 5
cmp edi, ebx
jne 0x140009807
mov ebx, 6
jmp 0x14000980c
mov ebx, 5
jmp 0x14000980c
mov ebx, 2
jmp 0x14000980c
mov ebx, 2
and r12d, 0xffff0000
or ebx, r12d
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x88]
call fcn.140050f64
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.140001e84
nop
cmp qword [rsp + 0xa8], 0x10
jb 0x140009862
mov rcx, qword [rsp + 0x90]
call fcn.14005ab0c
lea r9, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 0x10
cmovae r9, qword [rsp + 0xe0]
mov r8d, ebx
mov edx, 0x80000000
mov rcx, qword [0x14009af58]
call qword [0x14009af50]
nop
cmp qword [rsp + 0xf8], 0x10
jb 0x1400098aa
mov rcx, qword [rsp + 0xe0]
call fcn.14005ab0c
test byte [0x14009af38], 2
je 0x140009964
cmp rsi, r13
je 0x140009964
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsWindow]
cmp eax, r13d
je 0x140009964
xor edx, edx
lea r8d, [rdx + 0x18]
lea rcx, [rsp + 0xd8]
call fcn.14005bb90
mov rbx, qword [rsp + 0x60]
cmp rbx, r13
jne 0x1400098f4
mov rax, r13
jmp 0x140009904
lea edx, [rbp + 1]
mov rcx, rbx
call fcn.14005ca00
mov rbx, qword [rsp + 0x60]
lea eax, [rax + rax + 2]
mov dword [rsp + 0xe0], eax
mov rcx, rbx
call fcn.14005b1c0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0xb0]
call fcn.140002280
lea r11, [rsp + 0xb8]
cmp qword [rsp + 0xd0], 8
cmovae r11, qword [rsp + 0xb8]
mov qword [rsp + 0xe8], r11
lea r9, [rsp + 0xd8]
xor r8d, r8d
lea edx, [r8 + 0x4a]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x68], r13
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x60], r13
cmp qword [rsp + 0xd0], 8
jb 0x140009991
mov rcx, qword [rsp + 0xb8]
call fcn.14005ab0c
mov rcx, qword [rsp + 0x940]
xor rcx, rsp
call fcn.14005bad0
add rsp, 0x958
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret