Function at 0x1400024d0
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [rsp + 0x110]
xor r10d, r10d
mov ebp, dword [rsp + 0xe0]
mov r13, r8
mov r14, qword [rsp + 0x100]
mov r12d, edx
mov rdx, qword [rsp + 0xd0]
mov r15, rcx
mov r8, qword [rsp + 0xd8]
mov esi, r10d
mov rbx, qword [rsp + 0x120]
mov ecx, ebp
mov edi, dword [rsp + 0xe8]
mov word [r14], r10w
mov byte [rax], r10b
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], rax
test ebp, ebp
je 0x14000259e
sub ecx, 1
je 0x140002595
sub ecx, 1
je 0x14000255f
cmp ecx, 1
jne 0x1400025a7
mov ecx, edi
call fcn.140001a80
jmp 0x1400025a5
test edi, edi
js 0x14000258c
mov edi, 0x8007029c
mov rcx, r15
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x28], r8
mov r8, r13
mov qword [rsp + 0x20], rdx
mov edx, r12d
call fcn.14000288c
mov ecx, edi
call fcn.140001a60
jmp 0x1400025a5
mov ecx, edi
call fcn.140001a48
jmp 0x1400025a5
mov ecx, edi
call fcn.140001a30
mov esi, eax
mov dword [rbx + 4], edi
mov edi, 1
mov eax, edi
mov dword [rbx], ebp
lock xadd dword [0x140025ac0], eax
add eax, edi
xor ecx, ecx
mov dword [rbx + 8], eax
mov rax, qword [rsp + 0xf0]
test rax, rax
je 0x1400025d4
cmp word [rax], cx
jne 0x1400025d7
mov rax, rcx
mov qword [rbx + 0x10], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov dword [rbx + 0x3c], esi
lea rcx, [rbx + 0x48]
mov dword [rbx + 0x18], eax
xor esi, esi
mov rax, qword [rsp + 0x40]
xor edx, edx
mov qword [rbx + 0x20], rax
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x28], rax
lea r8d, [rsi + 0x30]
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x80], rax
mov qword [rbx + 0x30], r13
mov dword [rbx + 0x38], r12d
mov qword [rbx + 0x88], r15
mov qword [rbx + 0x40], rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [0x140025a28]
test rax, rax
je 0x14000263d
call qword [case.0x14001920e.0]
jmp 0x140002640
mov rax, rsi
mov qword [rbx + 0x78], rax
mov rax, qword [0x1400259e0]
test rax, rax
je 0x140002664
mov rdx, qword [rsp + 0x58]
mov r8d, 0x400
mov rcx, rbx
call qword [case.0x14001920e.0]
mov rax, qword [0x1400259d8]
test rax, rax
je 0x140002679
mov rcx, rbx
call qword [case.0x14001920e.0]
mov rax, qword [0x140025a00]
test rax, rax
je 0x14000268e
mov rcx, rbx
call qword [case.0x14001920e.0]
cmp dword [rbx + 4], esi
jl 0x1400026a3
cmp ebp, 3
jne 0x140002782
mov dword [rbx + 4], 0x8000ffff
cmp byte [0x1400259a0], sil
jne 0x1400026d7
mov rax, qword [0x140025990]
test rax, rax
je 0x1400026c3
call qword [case.0x14001920e.0]
movzx ecx, al
jmp 0x1400026d0
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
test eax, eax
mov ecx, esi
setne cl
test ecx, ecx
jne 0x1400026d7
mov dil, sil
cmp byte [rsp + 0xf8], sil
jne 0x14000270b
test dil, dil
jne 0x14000270b
mov rax, qword [0x1400259a8]
test rax, rax
je 0x140002756
cmp byte [0x1400259c8], sil
jne 0x140002756
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [case.0x14001920e.0]
jmp 0x140002756
mov rax, qword [0x1400259a8]
mov ebp, 0x800
test rax, rax
je 0x140002734
cmp byte [0x1400259c8], sil
jne 0x140002734
mov r8d, ebp
mov rdx, r14
mov rcx, rbx
call qword [case.0x14001920e.0]
cmp word [r14], si
jne 0x140002748
mov r8, rbx
mov rdx, rbp
mov rcx, r14
call fcn.1400016f4
test dil, dil
je 0x140002756
mov rcx, r14
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
cmp byte [0x1400259b0], sil
je 0x140002771
mov rax, qword [0x1400259e8]
test rax, rax
je 0x140002771
call qword [case.0x14001920e.0]
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140002ae0
int3