Function at 0x100026544
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r13
sub rsp, 0x8a0
mov rax, qword [0x100036110]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov edi, edx
mov rbx, rcx
mov rcx, qword [0x100036a00]
xor r12d, r12d
cmp rcx, r12
je 0x1000267bd
lea rdx, [0x1000016d8]
call qword [sym.imp.ADVAPI32.dll_EventEnabled]
cmp al, r12b
je 0x1000267bd
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x100005df0]
mov edi, 0x400
mov rdx, rdi
lea rcx, [rsp + 0x90]
call fcn.1000218a0
mov r11d, eax
cmp eax, r12d
jl 0x1000267c0
lea rdx, [rsp + 0x38]
mov rcx, rdi
mov qword [rsp + 0x50], rcx
lea rax, [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov r11d, r12d
cmp rcx, r12
je 0x100026606
cmp word [rax], r12w
je 0x100026606
add rax, 2
mov qword [rsp + 0x60], rax
dec rcx
mov qword [rsp + 0x50], rcx
jmp 0x1000265e8
mov r13d, 0x80070057
cmp rcx, r12
cmove r11d, r13d
cmp rdx, r12
je 0x10002662b
cmp r11d, r12d
jl 0x100026628
mov rax, rdi
sub rax, rcx
mov qword [rdx], rax
jmp 0x10002662b
mov qword [rdx], r12
cmp r11d, r12d
jge 0x100026638
cmp rdx, r12
je 0x100026638
mov qword [rdx], r12
cmp r11d, r12d
jl 0x1000267c0
mov rax, qword [rsp + 0x38]
lea rsi, [rsp + rax*2 + 0x90]
sub rdi, rax
mov qword [rsp + 0x38], rdi
lea r9, [rsp + 0x8e8]
mov eax, r12d
je 0x10002666c
cmp rdi, 0x7fffffff
jbe 0x10002666f
mov eax, r13d
cmp eax, r12d
jl 0x1000266b6
mov dword [rsp + 0x30], r12d
lea rbx, [rdi - 1]
mov r8, qword [rsp + 0x8e0]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.msvcrt.dll__vsnwprintf]
cmp eax, r12d
jl 0x1000266a9
cdqe
cmp rax, rbx
ja 0x1000266a9
cmp rax, rbx
jne 0x1000266b6
mov word [rsi + rbx*2], r12w
jmp 0x1000266b6
mov word [rsi + rbx*2], r12w
mov dword [rsp + 0x30], 0x8007007a
mov qword [rsp + 0x80], r12
lea r8, [0x100005e04]
mov rdx, rdi
mov rcx, rsi
call fcn.100023c84
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r10, [rsp + 0x48]
lea rax, [rdi + rdi]
shr rax, 1
mov qword [rsp + 0x40], r12
cmp rax, 0x7fffffff
ja 0x100026750
lea r8, [rsp + 0x40]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x78], rcx
mov r11d, r12d
mov rdx, rax
cmp rax, r12
je 0x100026732
cmp word [rcx], r12w
je 0x100026732
add rcx, 2
mov qword [rsp + 0x78], rcx
dec rax
mov qword [rsp + 0x58], rax
jmp 0x100026714
cmp rax, r12
cmove r11d, r13d
cmp r8, r12
je 0x100026753
cmp r11d, r12d
jl 0x10002674b
sub rdx, rax
mov qword [r8], rdx
jmp 0x100026753
mov qword [r8], r12
jmp 0x100026753
mov r11d, r13d
cmp r10, r12
je 0x10002676d
cmp r11d, r12d
jl 0x10002676a
mov rax, qword [rsp + 0x40]
add rax, rax
mov qword [r10], rax
jmp 0x10002676d
mov qword [r10], r12
cmp r11d, r12d
jl 0x1000267c0
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x74], r12d
lea r9, [rsp + 0x68]
mov r8d, 1
lea rdx, [0x1000016d8]
mov rcx, qword [0x100036a00]
call qword [sym.imp.ADVAPI32.dll_EventWrite]
mov r11d, eax
cmp eax, r12d
jl 0x1000267c0
mov r11d, r12d
mov eax, r11d
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.100033670
add rsp, 0x8a0
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret