Function at 0x140053c40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
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 r13, r9
mov r10, rcx
xor edi, edi
mov r14, qword [rsp + 0xd0]
mov word [r14], di
mov rax, qword [rsp + 0xe0]
mov byte [rax], dil
mov rbx, qword [rsp + 0xf0]
mov r15, qword [rsp + 0xb8]
mov esi, dword [r15]
mov dword [rbx + 8], esi
mov eax, dword [r15 + 4]
mov dword [rbx + 0xc], eax
mov ebp, edi
mov r12d, dword [rsp + 0xb0]
mov ecx, r12d
test r12d, r12d
je 0x140053d16
sub ecx, 1
je 0x140053d0d
sub ecx, 1
je 0x140053cc8
cmp ecx, 1
jne 0x140053d1f
mov ecx, esi
call fcn.1400022c0
jmp 0x140053d1d
test esi, esi
js 0x140053d04
mov esi, 0x8007029c
mov dword [rsp + 0x30], esi
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov rcx, r10
call fcn.140058000
mov dword [rbx + 8], esi
mov ecx, esi
call fcn.1400024d0
mov dword [rbx + 0xc], eax
mov ecx, esi
call fcn.140053b00
jmp 0x140053d1d
mov ecx, esi
call fcn.140053ae0
jmp 0x140053d1d
mov ecx, esi
call fcn.140053ac0
mov ebp, eax
mov dword [rbx], r12d
mov dword [rbx + 4], edi
cmp dword [r15 + 8], 1
jne 0x140053d33
mov dword [rbx + 4], 8
mov eax, 1
lock xadd dword [0x14017b028], eax
inc eax
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x140053d57
cmp word [rax], di
jne 0x140053d5a
mov rax, rdi
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbx + 0x20], eax
mov rax, qword [rsp + 0x90]
mov qword [rbx + 0x38], rax
mov eax, dword [rsp + 0x88]
mov dword [rbx + 0x40], eax
mov dword [rbx + 0x44], ebp
mov rax, qword [rsp + 0xa0]
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], r13
mov rax, qword [rsp + 0xa8]
mov qword [rbx + 0x88], rax
mov rax, qword [rsp + 0x80]
mov qword [rbx + 0x90], rax
mov qword [rbx + 0x48], rdi
xorps xmm0, xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
movups xmmword [rbx + 0x70], xmm0
mov rax, qword [0x14017ab38]
test rax, rax
je 0x140053dd1
call rax
jmp 0x140053dd4
mov rax, rdi
mov qword [rbx + 0x80], rax
mov rax, qword [0x14017ab50]
test rax, rax
je 0x140053dec
mov rcx, rbx
call rax
mov rax, qword [0x14017ab48]
test rax, rax
je 0x140053e0b
mov r8d, 0x400
mov rdx, qword [rsp + 0xe0]
mov rcx, rbx
call rax
mov rax, qword [0x14017ab40]
test rax, rax
je 0x140053e1c
mov rcx, rbx
call rax
mov rax, qword [0x14017ab00]
test rax, rax
je 0x140053e33
test byte [rbx + 4], 2
jne 0x140053e33
mov rcx, rbx
call rax
cmp dword [rbx + 8], edi
jl 0x140053e56
cmp r12d, 3
jne 0x140053f22
mov dword [rbx + 8], 0x8000ffff
mov ecx, 0x8000ffff
call fcn.1400024d0
mov dword [rbx + 0xc], eax
cmp byte [0x14017ab79], dil
jne 0x140053e82
mov rax, qword [0x14017ab80]
test rax, rax
je 0x140053e72
call rax
movzx edi, al
jmp 0x140053e7e
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne dil
test edi, edi
je 0x140053e88
test byte [rbx + 4], 2
je 0x140053ea9
mov rax, qword [0x14017ab88]
test rax, rax
je 0x140053eec
cmp byte [0x14017ab68], 0
jne 0x140053eec
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call rax
jmp 0x140053eec
mov rax, qword [0x14017ab88]
test rax, rax
je 0x140053ecc
cmp byte [0x14017ab68], 0
jne 0x140053ecc
mov r8d, 0x800
mov rdx, r14
mov rcx, rbx
call rax
cmp word [r14], 0
jne 0x140053ee3
mov r8, rbx
mov edx, 0x800
mov rcx, r14
call fcn.140001ed0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [rbx + 4], 4
jne 0x140053efb
cmp byte [0x14017ab78], 0
je 0x140053f0a
mov rax, qword [0x14017ab30]
test rax, rax
je 0x140053f0a
call rax
nop
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140054180
int3