Function at 0x14002102c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14d, dword [rsp + 0xb0]
mov r13, r8
mov r15, qword [rsp + 0xd0]
xor r8d, r8d
mov rbp, qword [rsp + 0xe0]
mov r12, r9
mov ebx, dword [rsp + 0xb8]
mov edi, r8d
mov r10d, r14d
mov word [r15], r8w
mov byte [rbp], r8b
test r14d, r14d
je 0x1400210f7
sub r10d, 1
je 0x1400210ee
sub r10d, 1
je 0x1400210e5
sub r10d, 1
je 0x1400210a5
cmp r10d, 1
jne 0x140021100
mov ecx, ebx
call fcn.14000c5b0
jmp 0x1400210fe
test ebx, ebx
js 0x1400210dc
mov rax, qword [rsp + 0xa8]
mov ebx, 0x8007029c
mov dword [rsp + 0x38], ebx
mov r8, r13
mov dword [rsp + 0x30], 3
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
call fcn.140021ac8
mov ecx, ebx
call fcn.140020c2c
jmp 0x1400210fe
mov ecx, ebx
call fcn.140020c10
jmp 0x1400210fe
mov ecx, ebx
call fcn.140020bf4
jmp 0x1400210fe
mov ecx, ebx
call fcn.140020bd8
mov edi, eax
mov rsi, qword [rsp + 0xf0]
mov dword [rsi], r14d
mov r14d, 1
mov eax, r14d
mov dword [rsi + 4], ebx
lock xadd dword [0x140133eb8], eax
add eax, r14d
xor ecx, ecx
mov dword [rsi + 8], eax
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x140021139
cmp word [rax], cx
jne 0x14002113c
mov rax, rcx
mov qword [rsi + 0x10], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentThreadId]
mov rbx, qword [0x140133e30]
mov dword [rsi + 0x18], eax
mov eax, dword [rsp + 0x88]
mov dword [rsi + 0x38], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsi + 0x20], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsi + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsi + 0x30], r13
xor r13d, r13d
mov qword [rsi + 0x88], rax
mov dword [rsi + 0x3c], edi
mov qword [rsi + 0x28], r12
mov qword [rsi + 0x40], r13
mov dword [rsi + 0x60], r13d
mov qword [rsi + 0x68], r13
mov qword [rsi + 0x70], r13
mov dword [rsi + 0x48], r13d
mov qword [rsi + 0x50], r13
mov qword [rsi + 0x58], r13
test rbx, rbx
je 0x1400211c0
mov rcx, rbx
call qword [fcn.140009410]
call rbx
jmp 0x1400211c3
mov rax, r13
mov rbx, qword [0x140133e40]
mov r12b, r13b
mov qword [rsi + 0x78], rax
mov byte [rbp], r13b
test rbx, rbx
je 0x140021217
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentThreadId]
mov r8d, eax
mov r9d, eax
movabs rax, 0xcccccccccccccccd
mul r9
shr rdx, 4
lea rcx, [rdx + rdx*4]
shl rcx, 2
sub r8, rcx
mov rbx, qword [rbx + r8*8]
jmp 0x140021212
cmp dword [rbx + 8], r9d
je 0x14002121a
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140021208
mov rbx, r13
test rbx, rbx
je 0x14002126e
cmp qword [rbx], r13
je 0x14002126e
mov byte [rbp], r13b
mov r9d, 0x400
mov rdx, qword [rbx]
mov r8, rbp
mov rcx, rsi
call fcn.140020c48
test al, al
je 0x140021244
mov qword [rsi + 0x40], rbp
mov rbp, qword [rbx]
mov rdi, qword [rbp + 8]
mov rax, qword [rdi]
mov rbx, qword [rax]
mov rcx, rbx
call qword [fcn.140009410]
mov rdx, rsi
mov rcx, rdi
call rbx
mov rbp, qword [rbp + 0x10]
or r12b, al
test rbp, rbp
jne 0x140021247
mov rdi, qword [0x140133e08]
test rdi, rdi
je 0x140021292
mov rcx, rdi
call qword [fcn.140009410]
mov rdx, rsi
mov cl, r12b
call rdi
mov rdi, qword [0x140133e08]
mov rbx, qword [0x140133e00]
test rbx, rbx
je 0x1400212b3
mov rcx, rbx
call qword [fcn.140009410]
mov rcx, rsi
call rbx
mov rdi, qword [0x140133e08]
cmp dword [rsi + 4], r13d
jl 0x1400212c7
cmp dword [rsp + 0xb0], 4
jne 0x14002136e
cmp byte [0x140133e50], r13b
mov rbx, qword [0x140133e58]
jne 0x1400212e4
test rdi, rdi
jne 0x1400212e1
test rbx, rbx
je 0x1400212e4
mov r14b, r13b
cmp byte [rsp + 0xc8], r13b
jne 0x140021316
test r14b, r14b
jne 0x140021316
test rbx, rbx
je 0x140021356
cmp byte [0x140133e38], r13b
jne 0x140021356
mov rcx, rbx
call qword [fcn.140009410]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call rbx
jmp 0x140021356
mov edi, 0x800
test rbx, rbx
je 0x140021334
mov rcx, rbx
call qword [fcn.140009410]
mov r8d, edi
mov rdx, r15
mov rcx, rsi
call rbx
cmp word [r15], r13w
jne 0x140021348
mov r8, rsi
mov rdx, rdi
mov rcx, r15
call fcn.140020df8
test r14b, r14b
je 0x140021356
mov rcx, r15
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_OutputDebugStringW]
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0x78]
lea r8, str.internal_sdkincwilResult.h
mov edx, 0xb52
call fcn.140020d3c
int3