Function at 0x140040a40
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x318
movdqa xmmword [rsp + 0x300], xmm6
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rcx
movzx eax, byte [0x141d43a20]
mov ebp, 0x80000
mov edx, 0x80000
xor ecx, ecx
call fcn.14002f460
test rax, rax
je 0x140041b15
mov r14, rax
mov qword [rsp + 0x70], 0x80000
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 0
xor edx, edx
lea rdi, [rsp + 0x70]
lea r15, [rsp + 0x198]
mov rsi, qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
lea r12, [rsp + 0xb0]
mov rbx, qword [sym.imp.oleaut32.dll_GetErrorInfo]
mov r13d, 0x80000
jmp 0x140040aed
mov rbp, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x80]
mov dword [rsp + 0x198], 0
sub rbp, rdx
cmp r13, rbp
ja 0x140040b75
mov ecx, 5
mov rdx, r14
mov r8d, r13d
mov r9, r15
call rsi
test eax, eax
jns 0x140040b99
mov ebp, eax
mov qword [rsp + 0xb0], 0
xor ecx, ecx
mov rdx, r12
call rbx
mov rcx, qword [rsp + 0xb0]
and ebp, 0xefffffff
cmp ebp, 0xc0000004
jne 0x140040c6e
mov eax, dword [rsp + 0x198]
mov rdx, r13
add rdx, r13
lea r13d, [rax + 0x2800]
test eax, eax
cmove r13, rdx
test rcx, rcx
je 0x140040ae0
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140040ae0
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rdi
mov r8, r13
call fcn.140059920
mov r14, qword [rsp + 0x78]
jmp 0x140040b00
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x178], 0
movzx eax, byte [0x141d43a20]
mov edx, 0xfa0
xor ecx, ecx
call fcn.14002f460
test rax, rax
je 0x140041b15
mov qword [rsp + 0x98], 0x1f4
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], 0
mov rsi, qword [rsp + 0x78]
xor ebx, ebx
lea rdi, [rsp + 0x98]
xor r14d, r14d
jmp 0x140040c1b
lea rcx, [rsi + r14]
mov qword [rax + rbx*8], rcx
inc rbx
mov qword [rsp + 0xa8], rbx
add r14, r15
test r15, r15
je 0x140040c3b
mov r15d, dword [rsi + r14]
cmp rbx, qword [rsp + 0x98]
jne 0x140040c00
mov rcx, rdi
call fcn.140043150
mov rax, qword [rsp + 0xa0]
jmp 0x140040c00
mov r15, qword [rsp + 0x48]
lea rax, [r15 + 0x40]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x180], rax
mov rsi, qword [rsp + 0x50]
cmp byte [rsi], 1
jne 0x140040c82
mov rcx, r15
xor edx, edx
call fcn.140043440
mov rax, qword [r15 + 0x10]
jmp 0x140040c84
test rcx, rcx
je 0x140041ab6
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140041ab6
xor eax, eax
mov qword [rsp + 0x188], rax
mov qword [rsp + 0xb0], 0
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetSystemTimePreciseAsFileTime]
mov rax, qword [rsp + 0xb0]
movabs rcx, 0x19db1ded53e8000
cmp rax, rcx
jge 0x140040cc1
xor edx, edx
jmp 0x140040cdf
movabs rcx, 0xfe624e212ac18000
add rax, rcx
movabs rcx, 0xd6bf94d5e57a42bd
mul rcx
shr rdx, 0x17
mov qword [rsp + 0x190], rdx
mov rdi, qword [rsp + 0xa8]
mov qword [rsp + 0xc0], rdi
movdqu xmm0, xmmword [rsp + 0x98]
movdqa xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 8
mov qword [rsp + 0x68], 0
lea rax, [rsp + 0x178]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rsi
lea rax, [rsp + 0x188]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x190]
mov qword [rsp + 0xe8], rax
mov rsi, qword [rsp + 0xb0]
cmp rsi, rdi
jb 0x140041b15
lea r14, [rsp + 0xc8]
mov rbx, qword [rsp + 0xb8]
mov eax, dword [0x141d43a24]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x38]
test rax, rax
je 0x140040db4
add rax, 0x110
jmp 0x140040db9
call fcn.14001f190
mov rax, qword [rax]
mov r9, qword [rax + 0x208]
xor eax, eax
cmp rdi, 0xffffffffffffffff
sete al
cmp rax, r9
cmova r9, rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 1
lea rcx, [rsp + 0x198]
mov rdx, rdi
xor r8d, r8d
call fcn.1400420e0
test rsi, rsi
je 0x140040e15
mov rcx, qword [0x141d439e8]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x1a8]
test rcx, rcx
sete al
test r8, r8
sete dl
or dl, al
jne 0x140040e69
dec rcx
xor eax, eax
mov rdx, r8
nop dword [rax]
add rax, qword [rdx + 0x10]
sub rcx, 1
jb 0x140040e53
mov rdx, qword [rdx + 0x18]
test rdx, rdx
jne 0x140040e40
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
sub rcx, rdx
cmp rax, rcx
ja 0x140041aee
movabs rbp, 0x8000000000000000
mov rsi, qword [sym.imp.KERNEL32.dll_HeapFree]
lea rbx, [rsp + 0x58]
nop
test r8, r8
je 0x140040f4d
mov rdi, qword [r8 + 0x18]
test rdi, rdi
je 0x140040e9a
mov qword [rdi + 0x20], 0
mov r13, qword [r8]
mov r14, qword [r8 + 8]
mov r15, qword [r8 + 0x10]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
cmp r13, rbp
je 0x140040f43
mov rax, qword [rsp + 0x58]
mov r12, qword [rsp + 0x68]
sub rax, r12
cmp rax, r15
jb 0x140040f1f
imul rcx, r12, 0x158
add rcx, qword [rsp + 0x60]
imul r8, r15, 0x158
mov rdx, r14
call fcn.140055470
add r12, r15
mov qword [rsp + 0x68], r12
mov rcx, r14
xor edx, edx
call fcn.140041b20
mov r8, rdi
test r13, r13
mov r15, qword [rsp + 0x48]
je 0x140040e80
mov rcx, qword [0x141d439e8]
xor edx, edx
mov r8, r14
call rsi
mov r8, rdi
jmp 0x140040e80
mov qword [rsp + 0x20], 0x158
mov r9d, 8
mov rcx, rbx
mov rdx, r12
mov r8, r15
call fcn.140059920
mov r12, qword [rsp + 0x68]
jmp 0x140040ecb
test rdi, rdi
mov r15, qword [rsp + 0x48]
jne 0x140040fc6
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
imul rdx, rax, 0x158
add rdx, rcx
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x90], rcx
mov r13, rcx
test rax, rax
je 0x140041602
lea rax, [r15 + 0x60]
mov qword [rsp + 0xf0], rax
pcmpeqd xmm6, xmm6
mov r14, qword [rsp + 0x90]
jmp 0x1400410de
mov rcx, qword [0x141d439e8]
xor edx, edx
mov r8, rdi
call rsi
mov rdi, rbx
test rbx, rbx
je 0x140040f4d
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x140040fd7
mov qword [rbx + 0x20], 0
mov rcx, qword [rdi + 8]
mov rdx, qword [rdi + 0x10]
call fcn.140041b20
cmp qword [rdi], 0
je 0x140040fb0
mov r8, qword [rdi + 8]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
jmp 0x140040fb0
and al, 1
movzx eax, al
sub qword [r15 + 0x50], rax
lea rax, [r8 - 0x10]
and rcx, rax
mov byte [r13 + r8], dl
mov byte [r13 + rcx + 0x10], dl
inc qword [r15 + 0x58]
neg r8
imul rbx, r8, 0x160
mov qword [r13 + rbx - 0x160], r12
mov qword [r13 + rbx - 0x158], rdi
lea rcx, [rbx + r13]
add rcx, 0xfffffffffffffeb0
mov r8d, 0xd8
lea rdx, [rsp + 0x228]
call fcn.140055470
mov qword [r13 + rbx - 0x78], r12
movaps xmm0, xmmword [rsp + 0x1b0]
movdqa xmm1, xmmword [rsp + 0x1c0]
movdqa xmm2, xmmword [rsp + 0x1d0]
movaps xmm3, xmmword [rsp + 0x1e0]
movups xmmword [r13 + rbx - 0x70], xmm0
movdqu xmmword [r13 + rbx - 0x60], xmm1
movdqu xmmword [r13 + rbx - 0x50], xmm2
movups xmmword [r13 + rbx - 0x40], xmm3
movaps xmm0, xmmword [rsp + 0x1f0]
movups xmmword [r13 + rbx - 0x30], xmm0
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [r13 + rbx - 0x20], xmm0
movdqa xmm0, xmmword [rsp + 0x210]
movdqu xmmword [r13 + rbx - 0x10], xmm0
mov r14, qword [rsp + 0x50]
nop word cs:[rax + rax]
cmp r14, qword [rsp + 0x88]
je 0x1400417d7
lea r13, [r14 + 0x158]
mov rdi, qword [r14]
cmp rdi, 2
je 0x140041602
mov qword [rsp + 0x50], r13
lea rdx, [r14 + 8]
mov r8d, 0xd8
lea rcx, [rsp + 0x228]
call fcn.140055470
mov r12, qword [r14 + 0xe0]
movups xmm0, xmmword [r14 + 0xe8]
movaps xmmword [rsp + 0x1b0], xmm0
movups xmm0, xmmword [r14 + 0xf8]
movaps xmmword [rsp + 0x1c0], xmm0
movups xmm0, xmmword [r14 + 0x108]
movaps xmmword [rsp + 0x1d0], xmm0
movups xmm0, xmmword [r14 + 0x118]
movaps xmmword [rsp + 0x1e0], xmm0
movups xmm0, xmmword [r14 + 0x128]
movaps xmmword [rsp + 0x1f0], xmm0
movups xmm0, xmmword [r14 + 0x138]
movaps xmmword [rsp + 0x200], xmm0
movups xmm0, xmmword [r14 + 0x148]
movaps xmmword [rsp + 0x210], xmm0
mov r15, qword [rsp + 0x48]
mov rcx, qword [r15 + 0x60]
mov rdx, qword [r15 + 0x68]
mov r8, r12
call fcn.140041f20
cmp qword [r15 + 0x50], 0
je 0x1400415e2
mov r13, qword [r15 + 0x40]
mov rcx, qword [r15 + 0x48]
mov rdx, rax
shr rdx, 0x39
movd xmm0, edx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
lea r9, [r13 - 0x160]
xor r10d, r10d
xor r11d, r11d
and rax, rcx
movdqu xmm1, xmmword [r13 + rax]
movdqa xmm2, xmm1
pcmpeqb xmm2, xmm0
pmovmskb ebx, xmm2
test ebx, ebx
je 0x140041215
nop dword [rax]
tzcnt r14d, ebx
add r14, rax
and r14, rcx
neg r14
imul r14, r14, 0x160
cmp r12, qword [r9 + r14]
je 0x140041270
lea ebp, [rbx - 1]
and bp, bx
mov ebx, ebp
jne 0x1400411f0
cmp r11, 1
mov r11d, 1
je 0x14004123b
pmovmskb r8d, xmm1
xor r11d, r11d
test r8d, r8d
setne r11b
tzcnt r8d, r8d
add r8, rax
and r8, rcx
pcmpeqb xmm1, xmm6
pmovmskb ebx, xmm1
test ebx, ebx
movabs rbp, 0x8000000000000000
jne 0x1400415ba
add rax, r10
add rax, 0x10
add r10, 0x10
jmp 0x1400411d3
mov rbp, qword [r13 + r14 - 0x158]
mov rax, qword [r13 + r14 - 0x148]
mov qword [rsp + 0x130], rax
mov rax, qword [r13 + r14 - 0x140]
mov qword [rsp + 0x128], rax
mov rax, qword [r13 + r14 - 0x128]
mov qword [rsp + 0x138], rax
mov rax, qword [r13 + r14 - 0x120]
mov qword [rsp + 0x140], rax
mov r15, qword [r13 + r14 - 0x118]
mov rax, qword [r13 + r14 - 0x110]
mov qword [rsp + 0x158], rax
mov rax, qword [r13 + r14 - 0x108]
mov qword [rsp + 0x168], rax
mov rbx, qword [r13 + r14 - 0x100]
mov rax, qword [r13 + r14 - 0xf8]
mov qword [rsp + 0x148], rax
mov rax, qword [r13 + r14 - 0xf0]
mov qword [rsp + 0x108], rax
mov rax, qword [r13 + r14 - 0xd8]
mov qword [rsp + 0x150], rax
mov rax, qword [r13 + r14 - 0xd0]
mov qword [rsp + 0x110], rax
mov rax, qword [r13 + r14 - 0xc0]
mov qword [rsp + 0x160], rax
mov rax, qword [r13 + r14 - 0xb8]
mov qword [rsp + 0x118], rax
mov rax, qword [r13 + r14 - 0xa0]
mov qword [rsp + 0x170], rax
mov rax, qword [r13 + r14 - 0x98]
mov qword [rsp + 0x120], rax
mov rax, rdi
mov rdi, qword [r13 + r14 - 0x60]
mov qword [r13 + r14 - 0x158], rax
lea rcx, [r14 + r13]
add rcx, 0xfffffffffffffeb0
mov r8d, 0xd8
lea rdx, [rsp + 0x228]
call fcn.140055470
mov qword [r13 + r14 - 0x78], r12
movaps xmm0, xmmword [rsp + 0x1b0]
movdqa xmm1, xmmword [rsp + 0x1c0]
movdqa xmm2, xmmword [rsp + 0x1d0]
movaps xmm3, xmmword [rsp + 0x1e0]
movups xmmword [r13 + r14 - 0x70], xmm0
movdqu xmmword [r13 + r14 - 0x60], xmm1
movdqu xmmword [r13 + r14 - 0x50], xmm2
movups xmmword [r13 + r14 - 0x40], xmm3
movaps xmm0, xmmword [rsp + 0x1f0]
movups xmmword [r13 + r14 - 0x30], xmm0
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [r13 + r14 - 0x20], xmm0
movdqa xmm0, xmmword [rsp + 0x210]
movdqu xmmword [r13 + r14 - 0x10], xmm0
cmp rbp, 2
movabs rbp, 0x8000000000000000
mov r14, qword [rsp + 0x50]
je 0x1400410d0
mov r12, rdi
cmp qword [rsp + 0x130], 0
je 0x14004143d
mov rcx, qword [0x141d439e8]
xor edx, edx
mov r8, qword [rsp + 0x128]
call rsi
test r15, r15
mov r13, qword [rsp + 0x140]
je 0x140041470
lea rdi, [r13 + 8]
jmp 0x140041459
add rdi, 0x20
dec r15
je 0x140041470
cmp qword [rdi - 8], 0
je 0x140041450
mov r8, qword [rdi]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
jmp 0x140041450
cmp qword [rsp + 0x138], 0
je 0x140041489
mov rcx, qword [0x141d439e8]
xor edx, edx
mov r8, r13
call rsi
mov rax, qword [rsp + 0x148]
shl rax, 1
test rax, rax
mov r15, qword [rsp + 0x168]
jne 0x1400414b8
mov rax, qword [rsp + 0x150]
shl rax, 1
test rax, rax
jne 0x1400414db
test rbx, rbx
jne 0x1400414f3
jmp 0x140041520
mov rcx, qword [0x141d439e8]
xor edx, edx
mov r8, qword [rsp + 0x108]
call rsi
mov rax, qword [rsp + 0x150]
shl rax, 1
test rax, rax
je 0x1400414b1
mov rcx, qword [0x141d439e8]
xor edx, edx
mov r8, qword [rsp + 0x110]
call rsi
test rbx, rbx
je 0x140041520
lea rdi, [r15 + 8]
jmp 0x140041509
add rdi, 0x20
dec rbx
je 0x140041520
cmp qword [rdi - 8], 0
je 0x140041500
mov r8, qword [rdi]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
jmp 0x140041500
cmp qword [rsp + 0x158], 0
je 0x140041539
mov rcx, qword [0x141d439e8]
xor edx, edx
mov r8, r15
call rsi
mov rax, qword [rsp + 0x160]
shl rax, 1
test rax, rax
jne 0x140041563
mov rax, qword [rsp + 0x170]
shl rax, 1
test rax, rax
jne 0x140041586
test r12, r12
jne 0x1400415a2
jmp 0x1400410d0
mov rcx, qword [0x141d439e8]
xor edx, edx
mov r8, qword [rsp + 0x118]
call rsi
mov rax, qword [rsp + 0x170]
shl rax, 1
test rax, rax
je 0x140041559
mov rcx, qword [0x141d439e8]
xor edx, edx
mov r8, qword [rsp + 0x120]
call rsi
test r12, r12
je 0x1400410d0
lock dec qword [r12]
jne 0x1400410d0
mov rcx, r12
call fcn.140042e60
jmp 0x1400410d0
movzx eax, byte [r13 + r8]
test al, al
js 0x140040ffb
movdqa xmm0, xmmword [r13]
pmovmskb eax, xmm0
tzcnt r8d, eax
movzx eax, byte [r13 + r8]
jmp 0x140040ffb
mov rcx, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0xf0]
mov rbx, rax
call fcn.1400599f0
mov rax, rbx
jmp 0x1400411a5
sub qword [rsp + 0x88], r13
je 0x1400417d7
mov rax, qword [rsp + 0x88]
shr rax, 3
movabs rdi, 0x82fa0be82fa0be83
imul rdi, rax
xor r14d, r14d
jmp 0x14004163c
inc r14
cmp r14, rdi
je 0x1400417d7
imul rax, r14, 0x158
lea r15, [rax + r13]
cmp qword [r13 + rax + 0x10], 0
je 0x14004165e
mov r8, qword [r15 + 0x18]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
mov rbx, qword [r15 + 0x40]
test rbx, rbx
je 0x1400416b0
mov r12, qword [r15 + 0x38]
add r12, 8
jmp 0x140041689
add r12, 0x20
dec rbx
je 0x1400416b0
cmp qword [r12 - 8], 0
je 0x140041680
mov r8, qword [r12]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
jmp 0x140041680
cmp qword [r15 + 0x30], 0
je 0x1400416c6
mov r8, qword [r15 + 0x38]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
mov rax, qword [r15 + 0x60]
cmp rax, rbp
je 0x1400416e3
test rax, rax
je 0x1400416e3
mov r8, qword [r15 + 0x68]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
mov rax, qword [r15 + 0x80]
cmp rax, rbp
je 0x140041706
test rax, rax
je 0x140041706
mov r8, qword [r15 + 0x88]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
mov rbx, qword [r15 + 0x58]
test rbx, rbx
je 0x140041750
mov r12, qword [r15 + 0x50]
add r12, 8
jmp 0x140041729
add r12, 0x20
dec rbx
je 0x140041750
cmp qword [r12 - 8], 0
je 0x140041720
mov r8, qword [r12]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
jmp 0x140041720
cmp qword [r15 + 0x48], 0
je 0x140041766
mov r8, qword [r15 + 0x50]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
mov rax, qword [r15 + 0x98]
cmp rax, rbp
je 0x140041789
test rax, rax
je 0x140041789
mov r8, qword [r15 + 0xa0]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
mov rax, qword [r15 + 0xb8]
cmp rax, rbp
je 0x1400417ac
test rax, rax
je 0x1400417ac
mov r8, qword [r15 + 0xc0]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
mov rax, qword [r15 + 0xf8]
test rax, rax
je 0x140041630
lock dec qword [rax]
jne 0x140041630
mov rcx, qword [r15 + 0xf8]
call fcn.140042e60
jmp 0x140041630
cmp qword [rsp + 0x100], 0
je 0x1400417f9
mov rcx, qword [0x141d439e8]
xor edx, edx
mov r8, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r15, qword [rsp + 0x48]
mov rdi, qword [r15 + 0x58]
test rdi, rdi
je 0x140041ab6
mov rbx, qword [r15 + 0x40]
lea r14, [rbx + 0x10]
movdqa xmm0, xmmword [rbx]
pmovmskb eax, xmm0
not eax
pcmpeqd xmm6, xmm6
jmp 0x140041841
lea eax, [r12 - 1]
and eax, r12d
dec rdi
je 0x140041ab6
test ax, ax
jne 0x14004186d
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r14]
pmovmskb eax, xmm0
add rbx, 0xffffffffffffea00
add r14, 0x10
cmp eax, 0xffff
je 0x140041850
not eax
mov r12d, eax
tzcnt eax, r12d
neg rax
imul r13, rax, 0x160
cmp byte [rbx + r13 - 4], 0
mov byte [rbx + r13 - 4], 0
jne 0x140041830
add r13, rbx
mov rax, qword [r15 + 0x40]
mov rcx, rax
sub rcx, r13
sar rcx, 5
movabs rdx, 0x2e8ba2e8ba2e8ba3
imul rcx, rdx
lea rdx, [rcx - 0x10]
and rdx, qword [r15 + 0x48]
movdqu xmm0, xmmword [rax + rdx]
pcmpeqb xmm0, xmm6
pmovmskb r8d, xmm0
test r8d, r8d
je 0x1400418d2
bsr r8w, r8w
xor r8d, 0xf
jmp 0x1400418d7
mov r8w, 0x10
movdqu xmm0, xmmword [rax + rcx]
pcmpeqb xmm0, xmm6
pmovmskb r9d, xmm0
or r9d, 0x10000
tzcnt r9d, r9d
add r8d, r9d
mov r9b, 0x80
cmp r8w, 0xf
ja 0x140041905
inc qword [r15 + 0x50]
mov r9b, 0xff
mov byte [rax + rcx], r9b
mov byte [rax + rdx + 0x10], r9b
dec qword [r15 + 0x58]
cmp qword [r13 - 0x148], 0
je 0x14004192e
mov r8, qword [r13 - 0x140]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
mov rbp, qword [r13 - 0x118]
test rbp, rbp
je 0x140041970
mov r15, qword [r13 - 0x120]
add r15, 8
jmp 0x140041959
add r15, 0x20
dec rbp
je 0x140041970
cmp qword [r15 - 8], 0
je 0x140041950
mov r8, qword [r15]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
jmp 0x140041950
cmp qword [r13 - 0x128], 0
je 0x14004198c
mov r8, qword [r13 - 0x120]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
mov rax, qword [r13 - 0xf8]
movabs r15, 0x8000000000000000
cmp rax, r15
je 0x1400419b9
test rax, rax
je 0x1400419b9
mov r8, qword [r13 - 0xf0]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
mov rax, qword [r13 - 0xd8]
cmp rax, r15
je 0x1400419dc
test rax, rax
je 0x1400419dc
mov r8, qword [r13 - 0xd0]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
mov rbp, qword [r13 - 0x100]
test rbp, rbp
je 0x140041a20
mov r15, qword [r13 - 0x108]
add r15, 8
jmp 0x140041a09
add r15, 0x20
dec rbp
je 0x140041a20
cmp qword [r15 - 8], 0
je 0x140041a00
mov r8, qword [r15]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
jmp 0x140041a00
cmp qword [r13 - 0x110], 0
je 0x140041a3c
mov r8, qword [r13 - 0x108]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
mov rax, qword [r13 - 0xc0]
movabs rbp, 0x8000000000000000
cmp rax, rbp
mov r15, qword [rsp + 0x48]
je 0x140041a6e
test rax, rax
je 0x140041a6e
mov r8, qword [r13 - 0xb8]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
mov rax, qword [r13 - 0xa0]
cmp rax, rbp
je 0x140041a91
test rax, rax
je 0x140041a91
mov r8, qword [r13 - 0x98]
mov rcx, qword [0x141d439e8]
xor edx, edx
call rsi
mov rax, qword [r13 - 0x60]
test rax, rax
je 0x140041830
lock dec qword [rax]
jne 0x140041830
mov rcx, qword [r13 - 0x60]
call fcn.140042e60
jmp 0x140041830
cmp qword [rsp + 0x70], 0
je 0x140041ad2
mov r8, qword [rsp + 0x78]
mov rcx, qword [0x141d439e8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
movaps xmm6, xmmword [rsp + 0x300]
add rsp, 0x318
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x20], 0x158
lea rcx, [rsp + 0x58]
mov r9d, 8
mov rsi, r8
mov r8, rax
call fcn.140059920
mov r8, rsi
jmp 0x140040e69
ud2