Function at 0x1400733d0
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.140034ce8
movzx ebx, byte [rsp + 0xb7]
test bl, bl
jns 0x14007342c
mov rcx, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
call fcn.14014b4e4
mov rax, qword [r14]
movsxd rax, dword [rax + 4]
mov r15, qword [r14 + rax + 0x30]
lea rsi, [0x1401d2108]
cmp r15, rsi
je 0x140073449
lock inc dword [r15 + 8]
lea rax, [0x1401d2270]
mov qword [rsp + 0x30], rax
mov rax, qword [0x1401d2270]
cmp rax, 0xffffffffffffffff
je 0x14007348c
lea rax, [rsp + 0x30]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x50], r12
lea rcx, [0x1401d2270]
lea r8, [0x14004f230]
lea rdx, [rsp + 0x50]
call fcn.140034eac
movsxd rax, dword [0x1401d2278]
lea rdx, [rax - 1]
mov rcx, qword [r15 + 0x10]
mov r8, qword [r15 + 0x18]
sub r8, rcx
sar r8, 3
cmp r8, rdx
jbe 0x140073b7b
mov rcx, qword [rcx + rax*8 - 8]
test rcx, rcx
je 0x140073b7b
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
mov dl, 0xa
call qword [0x1401b4100]
mov ebp, eax
cmp r15, rsi
je 0x1400734f2
mov eax, 0xffffffff
lock xadd dword [r15 + 8], eax
test eax, eax
jne 0x1400734f2
mov rax, qword [r15]
mov rax, qword [rax + 8]
mov rcx, r15
call qword [0x1401b4100]
mov rcx, r14
mov edx, ebp
call fcn.140025744
mov rcx, r14
call fcn.140024bd2
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [0x1401940a0]
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.140034ce8
mov rbp, qword [rdi + 0x118]
movzx esi, byte [rsp + 0x47]
test sil, sil
js 0x140073557
cmp rbp, rsi
jbe 0x14007356a
jmp 0x140073b7e
mov rsi, qword [rsp + 0x38]
cmp rsi, rbp
jb 0x140073b7e
mov r15, qword [rsp + 0x30]
mov r12, rsi
sub r12, rbp
movabs rax, 0x7ffffffffffffff8
cmp r12, rax
jae 0x140073b81
mov qword [rsp + 0x88], rbx
add r15, rbp
cmp r12, 0x16
ja 0x1400735a1
mov byte [rsp + 0x67], r12b
mov rbx, r13
mov rax, r13
jmp 0x1400735e1
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.14014b4a8
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 0x1400735f3
cmp r13, r15
ja 0x140073b84
cmp rsi, rbp
je 0x140073606
mov rcx, rax
mov rdx, r15
mov r8, r12
call fcn.14014e420
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 [0x1401d2e86]
test al, al
jne 0x14007368a
cmp byte [rsp + 0x67], 0
js 0x14007369e
cmp dword [rdi + 8], 3
je 0x1400736b2
jmp 0x1400737ad
movzx edx, al
lea rcx, [rsp + 0x78]
call fcn.140074390
cmp byte [rsp + 0x67], 0
jns 0x14007367f
mov rcx, qword [rsp + 0x50]
call fcn.14014b4e4
cmp dword [rdi + 8], 3
jne 0x1400737ad
cmp byte [0x1401d315c], 0
jne 0x1400737ad
mov byte [0x1401d315c], 1
mov eax, dword [0x1401d3168]
mov ecx, dword [0x1401d0348]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140073b46
lea r8, [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
mov rdx, r14
call fcn.140034ce8
cmp byte [rsp + 0xb7], 0
jns 0x14007370f
mov r14, qword [rsp + 0xa0]
add r14, qword [rdi + 0x118]
mov ebx, dword [rdi + 0x128]
mov r15, qword [rdi + 0x120]
test r15, r15
je 0x140073742
mov rcx, r15
mov edx, 0x5c
call fcn.14014ece0
lea r8, [rax + 1]
test rax, rax
cmove r8, r15
jmp 0x140073745
xor r8d, r8d
mov qword [rsp + 0x20], r14
lea rdx, str._s:_d:__s
lea rcx, [rsp + 0x50]
mov r9d, ebx
call fcn.1400660a0
cmp byte [rsp + 0xb7], 0
js 0x140073771
cmp byte [rsp + 0x67], 0
jns 0x1400737a6
jmp 0x140073785
mov rcx, qword [rsp + 0xa0]
call fcn.14014b4e4
cmp byte [rsp + 0x67], 0
jns 0x1400737a6
cmp qword [rsp + 0x58], 0
js 0x140073ba2
mov rcx, qword [rsp + 0x50]
je 0x1400737a1
test rcx, rcx
je 0x140073ba5
call fcn.14014b4e4
mov byte [0x1401d315c], 0
mov eax, dword [0x1401c3550]
test al, 2
je 0x1400737d6
cmp byte [rsp + 0x47], 0
jns 0x1400737c5
mov rcx, qword [rsp + 0x30]
jmp 0x1400737ca
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1401c3550]
test al, 4
jne 0x1400737e7
test eax, 0xfffffffa
jne 0x140073838
cmp dword [rdi + 8], 2
jl 0x140073838
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 0x140073838
xor r14d, r14d
nop dword [rax + rax]
mov r8d, esi
sub r8d, r14d
lea rdx, [rbx + r14]
mov ecx, 2
call fcn.140167da4
test eax, eax
js 0x140073832
mov eax, eax
add r14, rax
cmp r14, rsi
jb 0x140073810
mov eax, dword [0x1401c3550]
test al, 1
je 0x140073888
call fcn.140072a90
test al, al
je 0x140073888
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 [0x1401d3128]
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 0x140073aad
lea rcx, [rsp + 0xa0]
mov r8d, 0x400
mov dl, 0xaa
call fcn.14014ead0
test bl, bl
jns 0x1400738b7
mov rax, qword [rsp + 0x30]
jmp 0x1400738bc
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 0x140073924
movzx edx, byte [rax + rcx - 2]
mov byte [rsp + rcx + 0x9e], dl
test dl, dl
je 0x140073924
movzx edx, byte [rax + rcx - 1]
mov byte [rsp + rcx + 0x9f], dl
test dl, dl
je 0x140073924
movzx edx, byte [rax + rcx]
mov byte [rsp + rcx + 0xa0], dl
test dl, dl
je 0x140073924
add rcx, 4
cmp rcx, 0x403
jne 0x1400738d0
mov byte [rsp + 0x49f], 0
lea rcx, [rsp + 0xa0]
call fcn.140024910
mov eax, dword [0x1401d3158]
mov ecx, dword [0x1401d0348]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140073ad0
mov rax, qword [0x1401d3148]
cmp rax, qword [0x1401d3150]
je 0x140073b87
mov eax, dword [0x1401d3158]
mov ecx, dword [0x1401d0348]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140073b0b
mov rax, qword [0x1401d3150]
test rax, rax
mov rcx, qword [0x1401d3140]
cmove rax, rcx
lea rdx, [rax - 1]
cmp rcx, rdx
jb 0x140073b8a
mov rcx, qword [0x1401d3138]
mov rbx, qword [rcx + rax*8 - 8]
test rbx, rbx
je 0x140073aa8
mov eax, 1
lock xadd dword [rbx], eax
test eax, eax
jle 0x140073b8d
cmp eax, 0x7fffffff
je 0x140073b90
cmp byte [rsp + 0x47], 0
jns 0x1400739f0
mov rsi, qword [rsp + 0x30]
jmp 0x1400739f5
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r14, qword [rsp + 0x88]
add rcx, r14
mov qword [rsp + 0x50], rcx
je 0x140073b93
call fcn.14016bfa0
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 0x140073b96
je 0x140073a43
test rsi, rsi
je 0x140073b99
mov r8d, dword [rdi + 0x128]
mov rdx, qword [rdi + 0x120]
mov eax, 1
lock xadd dword [rbx], eax
test eax, eax
jle 0x140073b9c
cmp eax, 0x7fffffff
je 0x140073b9f
mov rax, qword [rbx + 8]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x78]
mov rcx, rbx
call qword [0x1401b4100]
lock dec dword [rbx]
jne 0x140073a96
mov rax, qword [rbx + 0x10]
mov rcx, rbx
call qword [0x1401b4100]
lock dec dword [rbx]
jne 0x140073aa8
mov rax, qword [rbx + 0x10]
mov rcx, rbx
call qword [0x1401b4100]
movzx ebx, byte [rsp + 0x47]
test bl, bl
jns 0x140073abb
mov rcx, qword [rsp + 0x30]
call fcn.14014b4e4
nop
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x1401d3158]
call fcn.14014b600
cmp dword [0x1401d3158], 0xffffffff
jne 0x140073956
xorps xmm0, xmm0
movups xmmword [0x1401d3148], xmm0
movups xmmword [0x1401d3138], xmm0
lea rcx, [0x1401d3158]
call fcn.14014b698
jmp 0x140073956
lea rcx, [0x1401d3158]
call fcn.14014b600
cmp dword [0x1401d3158], 0xffffffff
jne 0x14007398f
xorps xmm0, xmm0
movups xmmword [0x1401d3148], xmm0
movups xmmword [0x1401d3138], xmm0
lea rcx, [0x1401d3158]
call fcn.14014b698
jmp 0x14007398f
lea rcx, [0x1401d3168]
call fcn.14014b600
cmp dword [0x1401d3168], 0xffffffff
jne 0x1400736eb
mov qword [0x1401d3160], 0
lea rcx, [0x1401d3168]
call fcn.14014b698
jmp 0x1400736eb
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3