Function at 0x140072ee0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rdi, rcx
lea r14, [rcx + 0x10]
add rcx, 0x18
lea r12, [rsp + 0xa0]
lea r13, [rsp + 0x50]
mov qword [rsp + 0x70], rcx
mov rdx, r12
mov r8, r13
call fcn.140034eb8
movzx ebx, byte [rsp + 0xb7]
test bl, bl
jns 0x140072f3c
mov rcx, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
call fcn.140150da4
mov rax, qword [r14]
movsxd rax, dword [rax + 4]
mov r15, qword [r14 + rax + 0x30]
lea rsi, [0x1401d7088]
cmp r15, rsi
je 0x140072f59
lock inc dword [r15 + 8]
lea rax, [0x1401d71f0]
mov qword [rsp + 0x30], rax
mov rax, qword [0x1401d71f0]
cmp rax, 0xffffffffffffffff
je 0x140072f9c
lea rax, [rsp + 0x30]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x50], r12
lea rcx, [0x1401d71f0]
lea r8, [0x14004f450]
lea rdx, [rsp + 0x50]
call fcn.140035078
movsxd rax, dword [0x1401d71f8]
lea rdx, [rax - 1]
mov rcx, qword [r15 + 0x10]
mov r8, qword [r15 + 0x18]
sub r8, rcx
sar r8, 3
cmp r8, rdx
jbe 0x14007368b
mov rcx, qword [rcx + rax*8 - 8]
test rcx, rcx
je 0x14007368b
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
mov dl, 0xa
call qword [0x1401b8a50]
mov ebp, eax
cmp r15, rsi
je 0x140073002
mov eax, 0xffffffff
lock xadd dword [r15 + 8], eax
test eax, eax
jne 0x140073002
mov rax, qword [r15]
mov rax, qword [rax + 8]
mov rcx, r15
call qword [0x1401b8a50]
mov rcx, r14
mov edx, ebp
call fcn.140025a04
mov rcx, r14
call fcn.140024e92
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [0x1401990c0]
movaps xmmword [rsp + 0x30], xmm0
lea r15, [rsp + 0x30]
lea r14, [rsp + 0xa0]
mov rcx, qword [rsp + 0x70]
mov rdx, r15
mov r8, r14
call fcn.140034eb8
mov rbp, qword [rdi + 0x118]
movzx esi, byte [rsp + 0x47]
test sil, sil
js 0x140073067
cmp rbp, rsi
jbe 0x14007307a
jmp 0x14007368e
mov rsi, qword [rsp + 0x38]
cmp rsi, rbp
jb 0x14007368e
mov r15, qword [rsp + 0x30]
mov r12, rsi
sub r12, rbp
movabs rax, 0x7ffffffffffffff8
cmp r12, rax
jae 0x140073691
mov qword [rsp + 0x88], rbx
add r15, rbp
cmp r12, 0x16
ja 0x1400730b1
mov byte [rsp + 0x67], r12b
mov rbx, r13
mov rax, r13
jmp 0x1400730f1
mov rbx, r13
and rax, r12
add rax, 8
mov r13, r12
or r13, 7
cmp r13, 0x17
cmove r13, rax
inc r13
mov rcx, r13
call fcn.140150d68
mov qword [rsp + 0x50], rax
movabs rcx, 0x8000000000000000
or rcx, r13
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], r12
lea r13, [rax + r12]
cmp rax, r15
ja 0x140073103
cmp r13, r15
ja 0x140073694
cmp rsi, rbp
je 0x140073116
mov rcx, rax
mov rdx, r15
mov r8, r12
call fcn.140153d10
mov byte [r13], 0
mov eax, dword [rdi + 0x128]
mov rcx, qword [rdi + 0x120]
mov dword [rsp + 0x6c], eax
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x90], 0x56
lea rax, [rsp + 0x98]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0xa8], rax
mov r12, rbx
mov qword [rsp + 0xb0], rbx
lea rax, [rsp + 0x90]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x78], r14
movzx eax, byte [0x1401d7e06]
test al, al
jne 0x14007319a
cmp byte [rsp + 0x67], 0
js 0x1400731ae
cmp dword [rdi + 8], 3
je 0x1400731c2
jmp 0x1400732bd
movzx edx, al
lea rcx, [rsp + 0x78]
call fcn.140073ea0
cmp byte [rsp + 0x67], 0
jns 0x14007318f
mov rcx, qword [rsp + 0x50]
call fcn.140150da4
cmp dword [rdi + 8], 3
jne 0x1400732bd
cmp byte [0x1401d80ac], 0
jne 0x1400732bd
mov byte [0x1401d80ac], 1
mov eax, dword [0x1401d80b8]
mov ecx, dword [0x1401d52c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140073656
lea r8, [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
mov rdx, r14
call fcn.140034eb8
cmp byte [rsp + 0xb7], 0
jns 0x14007321f
mov r14, qword [rsp + 0xa0]
add r14, qword [rdi + 0x118]
mov ebx, dword [rdi + 0x128]
mov r15, qword [rdi + 0x120]
test r15, r15
je 0x140073252
mov rcx, r15
mov edx, 0x5c
call fcn.1401547c8
lea r8, [rax + 1]
test rax, rax
cmove r8, r15
jmp 0x140073255
xor r8d, r8d
mov qword [rsp + 0x20], r14
lea rdx, str._s:_d:__s
lea rcx, [rsp + 0x50]
mov r9d, ebx
call fcn.140065df0
cmp byte [rsp + 0xb7], 0
js 0x140073281
cmp byte [rsp + 0x67], 0
jns 0x1400732b6
jmp 0x140073295
mov rcx, qword [rsp + 0xa0]
call fcn.140150da4
cmp byte [rsp + 0x67], 0
jns 0x1400732b6
cmp qword [rsp + 0x58], 0
js 0x1400736b2
mov rcx, qword [rsp + 0x50]
je 0x1400732b1
test rcx, rcx
je 0x1400736b5
call fcn.140150da4
mov byte [0x1401d80ac], 0
mov eax, dword [0x1401c8550]
test al, 2
je 0x1400732e6
cmp byte [rsp + 0x47], 0
jns 0x1400732d5
mov rcx, qword [rsp + 0x30]
jmp 0x1400732da
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1401c8550]
test al, 4
jne 0x1400732f7
test eax, 0xfffffffa
jne 0x140073348
cmp dword [rdi + 8], 2
jl 0x140073348
movzx esi, byte [rsp + 0x47]
test sil, sil
cmovs rsi, qword [rsp + 0x38]
lea rbx, [rsp + 0x30]
cmovs rbx, qword [rsp + 0x30]
test rsi, rsi
je 0x140073348
xor r14d, r14d
nop dword [rax + rax]
mov r8d, esi
sub r8d, r14d
lea rdx, [rbx + r14]
mov ecx, 2
call fcn.14016d7e4
test eax, eax
js 0x140073342
mov eax, eax
add r14, rax
cmp r14, rsi
jb 0x140073320
mov eax, dword [0x1401c8550]
test al, 1
je 0x140073398
call fcn.1400725a0
test al, al
je 0x140073398
mov dword [rsp + 0xa0], 0xaaaaaaaa
movzx r8d, byte [rsp + 0x47]
test r8b, r8b
cmovs r8d, dword [rsp + 0x38]
lea rdx, [rsp + 0x30]
cmovs rdx, qword [rsp + 0x30]
mov rcx, qword [0x1401d8078]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rdi + 8], 3
movzx ebx, byte [rsp + 0x47]
jne 0x1400735bd
lea rcx, [rsp + 0xa0]
mov r8d, 0x400
mov dl, 0xaa
call fcn.1401543c0
test bl, bl
jns 0x1400733c7
mov rax, qword [rsp + 0x30]
jmp 0x1400733cc
lea rax, [rsp + 0x30]
mov ecx, 3
nop word cs:[rax + rax]
movzx edx, byte [rax + rcx - 3]
mov byte [rsp + rcx + 0x9d], dl
test dl, dl
je 0x140073434
movzx edx, byte [rax + rcx - 2]
mov byte [rsp + rcx + 0x9e], dl
test dl, dl
je 0x140073434
movzx edx, byte [rax + rcx - 1]
mov byte [rsp + rcx + 0x9f], dl
test dl, dl
je 0x140073434
movzx edx, byte [rax + rcx]
mov byte [rsp + rcx + 0xa0], dl
test dl, dl
je 0x140073434
add rcx, 4
cmp rcx, 0x403
jne 0x1400733e0
mov byte [rsp + 0x49f], 0
lea rcx, [rsp + 0xa0]
call fcn.140024bd0
mov eax, dword [0x1401d80a8]
mov ecx, dword [0x1401d52c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400735e0
mov rax, qword [0x1401d8098]
cmp rax, qword [0x1401d80a0]
je 0x140073697
mov eax, dword [0x1401d80a8]
mov ecx, dword [0x1401d52c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007361b
mov rax, qword [0x1401d80a0]
test rax, rax
mov rcx, qword [0x1401d8090]
cmove rax, rcx
lea rdx, [rax - 1]
cmp rcx, rdx
jb 0x14007369a
mov rcx, qword [0x1401d8088]
mov rbx, qword [rcx + rax*8 - 8]
test rbx, rbx
je 0x1400735b8
mov eax, 1
lock xadd dword [rbx], eax
test eax, eax
jle 0x14007369d
cmp eax, 0x7fffffff
je 0x1400736a0
cmp byte [rsp + 0x47], 0
jns 0x140073500
mov rsi, qword [rsp + 0x30]
jmp 0x140073505
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r14, qword [rsp + 0x88]
add rcx, r14
mov qword [rsp + 0x50], rcx
je 0x1400736a3
call fcn.1401719e0
mov qword [rsp + 0x58], rax
mov rax, qword [rdi + 0x118]
add rsi, rax
mov qword [rsp + 0x78], rsi
sub r14, rax
mov qword [rsp + 0x80], r14
js 0x1400736a6
je 0x140073553
test rsi, rsi
je 0x1400736a9
mov r8d, dword [rdi + 0x128]
mov rdx, qword [rdi + 0x120]
mov eax, 1
lock xadd dword [rbx], eax
test eax, eax
jle 0x1400736ac
cmp eax, 0x7fffffff
je 0x1400736af
mov rax, qword [rbx + 8]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x78]
mov rcx, rbx
call qword [0x1401b8a50]
lock dec dword [rbx]
jne 0x1400735a6
mov rax, qword [rbx + 0x10]
mov rcx, rbx
call qword [0x1401b8a50]
lock dec dword [rbx]
jne 0x1400735b8
mov rax, qword [rbx + 0x10]
mov rcx, rbx
call qword [0x1401b8a50]
movzx ebx, byte [rsp + 0x47]
test bl, bl
jns 0x1400735cb
mov rcx, qword [rsp + 0x30]
call fcn.140150da4
nop
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x1401d80a8]
call fcn.140150ec0
cmp dword [0x1401d80a8], 0xffffffff
jne 0x140073466
xorps xmm0, xmm0
movups xmmword [0x1401d8098], xmm0
movups xmmword [0x1401d8088], xmm0
lea rcx, [0x1401d80a8]
call fcn.140150f58
jmp 0x140073466
lea rcx, [0x1401d80a8]
call fcn.140150ec0
cmp dword [0x1401d80a8], 0xffffffff
jne 0x14007349f
xorps xmm0, xmm0
movups xmmword [0x1401d8098], xmm0
movups xmmword [0x1401d8088], xmm0
lea rcx, [0x1401d80a8]
call fcn.140150f58
jmp 0x14007349f
lea rcx, [0x1401d80b8]
call fcn.140150ec0
cmp dword [0x1401d80b8], 0xffffffff
jne 0x1400731fb
mov qword [0x1401d80b0], 0
lea rcx, [0x1401d80b8]
call fcn.140150f58
jmp 0x1400731fb
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3