Function at 0x140005df0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov rdx, qword [rsp + 0xf0]
mov word [rdx + rax], cx
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x100]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xd8]
mov ecx, dword [rcx]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xd8]
mov ecx, dword [rcx + 4]
mov dword [rax + 0xc], ecx
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x140005e9a
cmp dword [rsp + 0x48], 1
je 0x140005eb3
cmp dword [rsp + 0x48], 2
je 0x140005ecc
cmp dword [rsp + 0x48], 3
je 0x140005f6c
jmp 0x140005f80
mov rax, qword [rsp + 0x110]
mov ecx, dword [rax + 8]
call fcn.1400068c0
mov dword [rsp + 0x44], eax
jmp 0x140005f80
mov rax, qword [rsp + 0x110]
mov ecx, dword [rax + 8]
call fcn.140006940
mov dword [rsp + 0x44], eax
jmp 0x140005f80
mov rax, qword [rsp + 0x110]
cmp dword [rax + 8], 0
jl 0x140005f56
mov ecx, 0x29c
call fcn.140009d30
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xb0]
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.140001b20
xor eax, eax
test eax, eax
jne 0x140005eda
mov rax, qword [rsp + 0x110]
mov dword [rax + 8], 0x8007029c
mov rax, qword [rsp + 0x110]
mov ecx, dword [rax + 8]
call fcn.140005940
mov rcx, qword [rsp + 0x110]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x110]
mov ecx, dword [rax + 8]
call fcn.140006910
mov dword [rsp + 0x44], eax
jmp 0x140005f80
mov rax, qword [rsp + 0x110]
mov ecx, dword [rax + 8]
call fcn.1400068f0
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x110]
mov ecx, dword [rsp + 0xd0]
mov dword [rax], ecx
mov rax, qword [rsp + 0x110]
mov dword [rax + 4], 0
mov rax, qword [rsp + 0xd8]
cmp dword [rax + 8], 1
jne 0x140005fb5
mov byte [rsp + 0x40], 1
jmp 0x140005fba
mov byte [rsp + 0x40], 0
movzx ecx, byte [rsp + 0x40]
call fcn.1400026c0
movzx eax, al
test eax, eax
je 0x140005fe4
mov rax, qword [rsp + 0x110]
add rax, 4
mov edx, 8
mov rcx, rax
call fcn.140003750
xor eax, eax
test eax, eax
jne 0x140005fa0
lea rax, [0x14005d234]
mov ecx, 1
lock xadd dword [rax], ecx
inc ecx
mov eax, ecx
mov rcx, qword [rsp + 0x110]
mov dword [rcx + 0x10], eax
cmp qword [rsp + 0xe0], 0
je 0x14000603c
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0xe0]
movzx eax, word [rcx + rax]
test eax, eax
je 0x14000603c
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x50], rax
jmp 0x140006045
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x110]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x38], rcx
mov rax, qword [rsp + 0x110]
mov ecx, dword [rsp + 0xa8]
mov dword [rax + 0x40], ecx
mov rax, qword [rsp + 0x110]
mov ecx, dword [rsp + 0x44]
mov dword [rax + 0x44], ecx
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 0x88], rcx
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 0x90], rcx
mov rax, qword [rsp + 0x110]
mov qword [rax + 0x48], 0
mov rax, qword [rsp + 0x110]
add rax, 0x68
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x110]
add rax, 0x50
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
cmp qword [0x14005d130], 0
je 0x140006149
call qword [0x14005d130]
mov qword [rsp + 0x58], rax
jmp 0x140006152
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x80], rcx
cmp qword [0x14005d118], 0
je 0x140006188
mov rax, qword [0x14005d118]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x110]
call qword [rsp + 0x60]
cmp qword [0x14005d120], 0
je 0x1400061ba
mov rax, qword [0x14005d120]
mov qword [rsp + 0x68], rax
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x110]
call qword [rsp + 0x68]
cmp qword [0x14005d128], 0
je 0x1400061dc
mov rax, qword [0x14005d128]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x110]
call qword [rsp + 0x70]
cmp qword [0x14005d1a0], 0
je 0x14000621c
movzx eax, byte [rsp + 0xe8]
test eax, eax
jne 0x14000621c
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 4]
and eax, 2
test eax, eax
jne 0x14000621c
mov rax, qword [0x14005d1a0]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x110]
call qword [rsp + 0x78]
mov rax, qword [rsp + 0x110]
cmp dword [rax + 8], 0
jl 0x14000627c
cmp dword [rsp + 0xd0], 3
je 0x14000623b
mov byte [rsp + 0x41], 1
jmp 0x140006240
mov byte [rsp + 0x41], 0
movzx ecx, byte [rsp + 0x41]
call fcn.1400026c0
movzx ecx, al
call fcn.1400042c0
mov rax, qword [rsp + 0x110]
mov dword [rax + 8], 0x8000ffff
mov rax, qword [rsp + 0x110]
mov ecx, dword [rax + 8]
call fcn.140005940
mov rcx, qword [rsp + 0x110]
mov dword [rcx + 0xc], eax
call fcn.140005d30
movzx eax, al
test eax, eax
je 0x1400062ac
movzx eax, byte [section..data]
test eax, eax
je 0x1400062ac
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 4]
and eax, 2
test eax, eax
jne 0x1400062ac
mov byte [rsp + 0x42], 1
jmp 0x1400062b1
mov byte [rsp + 0x42], 0
movzx eax, byte [rsp + 0x42]
mov byte [rsp + 0x43], al
movzx eax, byte [rsp + 0xe8]
test eax, eax
jne 0x1400062d3
movzx eax, byte [rsp + 0x43]
test eax, eax
je 0x140006365
cmp qword [0x14005d0d0], 0
je 0x140006316
movzx eax, byte [0x14005d100]
test eax, eax
jne 0x140006316
mov rax, qword [0x14005d0d0]
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x110]
call qword [rsp + 0x80]
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0xf0]
movzx eax, word [rcx + rax]
test eax, eax
jne 0x14000634c
mov r8, qword [rsp + 0x110]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.140004690
movzx eax, byte [rsp + 0x43]
test eax, eax
je 0x140006363
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14000639d
cmp qword [0x14005d0d0], 0
je 0x14000639d
movzx eax, byte [0x14005d100]
test eax, eax
jne 0x14000639d
mov rax, qword [0x14005d0d0]
mov qword [rsp + 0x88], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x110]
call qword [rsp + 0x88]
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 4]
and eax, 4
test eax, eax
jne 0x1400063ba
movzx eax, byte [0x14005d0f0]
test eax, eax
je 0x1400063cb
cmp qword [0x14005d148], 0
je 0x1400063cb
call qword [0x14005d148]
nop
add rsp, 0x90
pop rdi
ret