Function at 0x140049530
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, 0x2f8
movdqa xmmword [rsp + 0x2e0], xmm6
mov rbx, rdx
mov r13, rcx
movzx eax, byte [0x141d94108]
mov esi, 0x80000
mov edx, 0x80000
xor ecx, ecx
call fcn.1400321b0
test rax, rax
je 0x14004a5f9
mov qword [rsp + 0x60], 0x80000
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0
xor edx, edx
lea rdi, [rsp + 0x60]
lea r14, [rsp + 0xb0]
mov r15d, 0x80000
jmp 0x1400495ba
mov rsi, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
mov dword [rsp + 0xb0], 0
sub rsi, rdx
cmp r15, rsi
ja 0x14004962b
mov r12, qword [rsp + 0x68]
mov ecx, 5
mov rdx, r12
mov r8d, r15d
mov r9, r14
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jns 0x140049638
or eax, 0x10000000
mov ecx, eax
call fcn.14004d480
cmp edx, 0xd0000004
jne 0x1400496fa
mov ecx, dword [rsp + 0xb0]
mov rdx, r15
add rdx, r15
lea r15d, [rcx + 0x2800]
test ecx, ecx
cmove r15, rdx
test rax, rax
je 0x1400495b0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
jmp 0x1400495b0
mov rcx, rdi
mov r8, r15
call fcn.1400451c0
jmp 0x1400495cd
mov qword [rsp + 0x70], r15
movzx eax, byte [0x141d94108]
mov edx, 0xfa0
xor ecx, ecx
call fcn.1400321b0
test rax, rax
je 0x14004a5f9
mov qword [rsp + 0x98], 0x1f4
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], 0
xor edi, edi
lea rsi, [rsp + 0x98]
xor r14d, r14d
jmp 0x1400496ab
lea rcx, [r12 + r14]
mov qword [rax + rdi*8], rcx
inc rdi
mov qword [rsp + 0xa8], rdi
add r14, r15
test r15, r15
je 0x1400496cb
mov r15d, dword [r12 + r14]
cmp rdi, qword [rsp + 0x98]
jne 0x140049690
mov rcx, rsi
call fcn.140045370
mov rax, qword [rsp + 0xa0]
jmp 0x140049690
lea rax, [r13 + 0x90]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x168], rax
cmp byte [rbx], 0
je 0x140049711
mov rcx, r13
xor edx, edx
call fcn.14004b500
mov rax, qword [r13 + 0x80]
jmp 0x140049713
test rax, rax
je 0x14004a5aa
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
jmp 0x14004a5aa
xor eax, eax
mov qword [rsp + 0x170], rax
mov qword [rsp + 0xb0], 0
lea rcx, [rsp + 0xb0]
call sub.KERNEL32.dll_GetSystemTimePreciseAsFileTime
mov rax, qword [rsp + 0xb0]
movabs rcx, 0x19db1ded53e8000
cmp rax, rcx
jge 0x14004974f
xor edx, edx
jmp 0x14004976d
movabs rcx, 0xfe624e212ac18000
add rax, rcx
movabs rcx, 0xd6bf94d5e57a42bd
mul rcx
shr rdx, 0x17
mov qword [rsp + 0x178], rdx
mov rdi, qword [rsp + 0xa8]
mov qword [rsp + 0xc0], rdi
movdqu xmm0, xmmword [rsp + 0x98]
movdqa xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 8
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x168]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rbx
lea rax, [rsp + 0x170]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x178]
mov qword [rsp + 0xe0], rax
mov rsi, qword [rsp + 0xb0]
cmp rsi, rdi
jb 0x14004a5f9
mov rbx, qword [rsp + 0xb8]
xor ecx, ecx
call fcn.1400211b0
test rax, rax
je 0x14004a5f9
lea r14, [rsp + 0xc8]
mov rax, qword [rax]
test rax, rax
je 0x14004982b
add rax, 0x110
jmp 0x140049830
call fcn.140021280
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 + 0x1f8]
mov rdx, rdi
xor r8d, r8d
call fcn.14004a600
test rsi, rsi
je 0x14004988b
mov rcx, qword [0x141d940e8]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
mov r8, qword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x208]
test rcx, rcx
je 0x1400498d9
test r8, r8
je 0x1400498d9
dec rcx
xor eax, eax
mov rdx, r8
nop dword [rax]
add rax, qword [rdx + 0x10]
sub rcx, 1
jb 0x1400498c3
mov rdx, qword [rdx + 0x18]
test rdx, rdx
jne 0x1400498b0
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
sub rcx, rdx
cmp rax, rcx
ja 0x14004a5e1
movabs rbp, 0x8000000000000000
lea rbx, [rsp + 0x48]
nop dword [rax + rax]
test r8, r8
je 0x1400499a6
mov rdi, qword [r8 + 0x18]
test rdi, rdi
je 0x14004990a
mov qword [rdi + 0x20], 0
mov r12, qword [r8]
mov r14, qword [r8 + 8]
mov rsi, qword [r8 + 0x10]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp r12, rbp
je 0x14004999d
mov rax, qword [rsp + 0x48]
mov r15, qword [rsp + 0x58]
sub rax, r15
cmp rax, rsi
jb 0x140049988
imul rcx, r15, 0x150
add rcx, qword [rsp + 0x50]
imul r8, rsi, 0x150
mov rdx, r14
call sub.msvcrt.dll_memcpy
add r15, rsi
mov qword [rsp + 0x58], r15
mov rcx, r14
xor edx, edx
call fcn.140045730
mov r8, rdi
test r12, r12
je 0x1400498f0
mov rcx, qword [0x141d940e8]
xor edx, edx
mov r8, r14
call sub.KERNEL32.dll_HeapFree
mov r8, rdi
jmp 0x1400498f0
mov rcx, rbx
mov rdx, r15
mov r8, rsi
call fcn.140045120
mov r15, qword [rsp + 0x58]
jmp 0x14004993a
test rdi, rdi
jne 0x140049a2d
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
imul rdx, rax, 0x150
add rdx, rcx
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x78], rcx
mov r12, rcx
test rax, rax
mov qword [rsp + 0x88], r13
je 0x14004a086
lea rax, [r13 + 0xb0]
mov qword [rsp + 0xe8], rax
pcmpeqd xmm6, xmm6
mov rdi, qword [rsp + 0x78]
jmp 0x140049b50
mov rcx, qword [0x141d940e8]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
mov rdi, rsi
test rsi, rsi
je 0x1400499a6
mov rsi, qword [rdi + 0x18]
test rsi, rsi
je 0x140049a3e
mov qword [rsi + 0x20], 0
mov rcx, qword [rdi + 8]
mov rdx, qword [rdi + 0x10]
call fcn.140045730
cmp qword [rdi], 0
je 0x140049a10
mov r8, qword [rdi + 8]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x140049a10
and al, 1
movzx eax, al
sub qword [r13 + 0xa0], rax
lea rax, [r8 - 0x10]
and rcx, rax
mov byte [rdi + r8], dl
mov byte [rdi + rcx + 0x10], dl
inc qword [r13 + 0xa8]
neg r8
imul rsi, r8, 0x158
mov qword [rdi + rsi - 0x158], r12
mov qword [rdi + rsi - 0x150], rbx
lea rcx, [rdi + rsi]
add rcx, 0xfffffffffffffeb8
mov r8d, 0xd0
lea rdx, [rsp + 0x210]
call sub.msvcrt.dll_memcpy
mov qword [rdi + rsi - 0x78], r12
movaps xmm0, xmmword [rsp + 0x180]
movdqa xmm1, xmmword [rsp + 0x190]
movdqa xmm2, xmmword [rsp + 0x1a0]
movaps xmm3, xmmword [rsp + 0x1b0]
movups xmmword [rdi + rsi - 0x70], xmm0
movdqu xmmword [rdi + rsi - 0x60], xmm1
movdqu xmmword [rdi + rsi - 0x50], xmm2
movups xmmword [rdi + rsi - 0x40], xmm3
movaps xmm0, xmmword [rsp + 0x1c0]
movups xmmword [rdi + rsi - 0x30], xmm0
movaps xmm0, xmmword [rsp + 0x1d0]
movups xmmword [rdi + rsi - 0x20], xmm0
movdqa xmm0, xmmword [rsp + 0x1e0]
movdqu xmmword [rdi + rsi - 0x10], xmm0
mov rdi, qword [rsp + 0x90]
nop dword [rax]
cmp rdi, qword [rsp + 0x80]
mov r13, qword [rsp + 0x88]
movabs rbp, 0x8000000000000000
je 0x14004a270
lea r12, [rdi + 0x150]
mov rbx, qword [rdi]
cmp rbx, 2
je 0x14004a086
mov rsi, rdi
mov qword [rsp + 0x90], r12
lea rdx, [rdi + 8]
mov r8d, 0xd0
lea rcx, [rsp + 0x210]
call sub.msvcrt.dll_memcpy
mov r12, qword [rdi + 0xd8]
movups xmm0, xmmword [rdi + 0xe0]
movaps xmmword [rsp + 0x180], xmm0
movups xmm0, xmmword [rdi + 0xf0]
movaps xmmword [rsp + 0x190], xmm0
movups xmm0, xmmword [rdi + 0x100]
movaps xmmword [rsp + 0x1a0], xmm0
movups xmm0, xmmword [rdi + 0x110]
movaps xmmword [rsp + 0x1b0], xmm0
movups xmm0, xmmword [rdi + 0x120]
movaps xmmword [rsp + 0x1c0], xmm0
movups xmm0, xmmword [rdi + 0x130]
movaps xmmword [rsp + 0x1d0], xmm0
movups xmm0, xmmword [rdi + 0x140]
movaps xmmword [rsp + 0x1e0], xmm0
mov rcx, qword [r13 + 0xb0]
mov rdx, qword [r13 + 0xb8]
mov r8, r12
call fcn.140046920
cmp qword [r13 + 0xa0], 0
je 0x14004a066
mov rdi, qword [r13 + 0x90]
mov rcx, qword [r13 + 0x98]
mov rdx, rax
shr rdx, 0x39
movd xmm0, edx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
lea r9, [rdi - 0x158]
xor r10d, r10d
xor r11d, r11d
and rax, rcx
movdqu xmm1, xmmword [rdi + rax]
movdqa xmm2, xmm1
pcmpeqb xmm2, xmm0
pmovmskb r14d, xmm2
test r14d, r14d
je 0x140049c98
nop dword [rax + rax]
tzcnt esi, r14d
add rsi, rax
and rsi, rcx
neg rsi
imul rsi, rsi, 0x158
cmp r12, qword [r9 + rsi]
je 0x140049ce0
lea esi, [r14 - 1]
and si, r14w
mov r14d, esi
jne 0x140049c70
cmp r11, 1
mov r11d, 1
je 0x140049cbe
pmovmskb r8d, xmm1
xor r11d, r11d
test r8d, r8d
setne r11b
tzcnt r8d, r8d
add r8, rax
and r8, rcx
pcmpeqb xmm1, xmm6
pmovmskb esi, xmm1
test esi, esi
jne 0x14004a042
add rax, r10
add rax, 0x10
add r10, 0x10
jmp 0x140049c4e
mov r14, qword [rdi + rsi - 0x150]
mov r15, qword [rdi + rsi - 0x140]
mov rax, qword [rdi + rsi - 0x138]
mov qword [rsp + 0x120], rax
mov rax, qword [rdi + rsi - 0x128]
mov qword [rsp + 0x128], rax
mov rax, qword [rdi + rsi - 0x120]
mov qword [rsp + 0x130], rax
mov rbp, qword [rdi + rsi - 0x118]
mov rax, qword [rdi + rsi - 0x110]
mov qword [rsp + 0x148], rax
mov rax, qword [rdi + rsi - 0x108]
mov qword [rsp + 0x158], rax
mov r13, qword [rdi + rsi - 0x100]
mov rax, qword [rdi + rsi - 0xf8]
mov qword [rsp + 0x138], rax
mov rax, qword [rdi + rsi - 0xf0]
mov qword [rsp + 0x100], rax
mov rax, qword [rdi + rsi - 0xd8]
mov qword [rsp + 0x140], rax
mov rax, qword [rdi + rsi - 0xd0]
mov qword [rsp + 0x108], rax
mov rax, qword [rdi + rsi - 0xc0]
mov qword [rsp + 0x150], rax
mov rax, qword [rdi + rsi - 0xb8]
mov qword [rsp + 0x110], rax
mov rax, qword [rdi + rsi - 0xa0]
mov qword [rsp + 0x160], rax
mov rax, qword [rdi + rsi - 0x98]
mov qword [rsp + 0x118], rax
mov rax, qword [rdi + rsi - 0x60]
mov qword [rdi + rsi - 0x150], rbx
mov rbx, rax
lea rcx, [rdi + rsi]
add rcx, 0xfffffffffffffeb8
mov r8d, 0xd0
lea rdx, [rsp + 0x210]
call sub.msvcrt.dll_memcpy
mov qword [rdi + rsi - 0x78], r12
movaps xmm0, xmmword [rsp + 0x180]
movdqa xmm1, xmmword [rsp + 0x190]
movdqa xmm2, xmmword [rsp + 0x1a0]
movaps xmm3, xmmword [rsp + 0x1b0]
movups xmmword [rdi + rsi - 0x70], xmm0
movdqu xmmword [rdi + rsi - 0x60], xmm1
movdqu xmmword [rdi + rsi - 0x50], xmm2
movups xmmword [rdi + rsi - 0x40], xmm3
movaps xmm0, xmmword [rsp + 0x1c0]
movups xmmword [rdi + rsi - 0x30], xmm0
movaps xmm0, xmmword [rsp + 0x1d0]
movups xmmword [rdi + rsi - 0x20], xmm0
movdqa xmm0, xmmword [rsp + 0x1e0]
movdqu xmmword [rdi + rsi - 0x10], xmm0
cmp r14, 2
mov rdi, qword [rsp + 0x90]
je 0x140049b30
test r15, r15
je 0x140049e91
mov rcx, qword [0x141d940e8]
xor edx, edx
mov r8, qword [rsp + 0x120]
call sub.KERNEL32.dll_HeapFree
test rbp, rbp
mov r14, qword [rsp + 0x158]
mov r15, qword [rsp + 0x130]
je 0x140049ee0
lea rsi, [r15 + 8]
jmp 0x140049eb9
add rsi, 0x18
dec rbp
je 0x140049ee0
cmp qword [rsi - 8], 0
je 0x140049eb0
mov r8, qword [rsi]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x140049eb0
cmp qword [rsp + 0x128], 0
je 0x140049efc
mov rcx, qword [0x141d940e8]
xor edx, edx
mov r8, r15
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rsp + 0x138]
shl rax, 1
test rax, rax
jne 0x140049f23
mov rax, qword [rsp + 0x140]
shl rax, 1
test rax, rax
jne 0x140049f49
test r13, r13
jne 0x140049f64
jmp 0x140049fa0
mov rcx, qword [0x141d940e8]
xor edx, edx
mov r8, qword [rsp + 0x100]
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rsp + 0x140]
shl rax, 1
test rax, rax
je 0x140049f1c
mov rcx, qword [0x141d940e8]
xor edx, edx
mov r8, qword [rsp + 0x108]
call sub.KERNEL32.dll_HeapFree
test r13, r13
je 0x140049fa0
lea rsi, [r14 + 8]
jmp 0x140049f79
add rsi, 0x18
dec r13
je 0x140049fa0
cmp qword [rsi - 8], 0
je 0x140049f70
mov r8, qword [rsi]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x140049f70
cmp qword [rsp + 0x148], 0
je 0x140049fbc
mov rcx, qword [0x141d940e8]
xor edx, edx
mov r8, r14
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rsp + 0x150]
shl rax, 1
test rax, rax
jne 0x140049fe6
mov rax, qword [rsp + 0x160]
shl rax, 1
test rax, rax
jne 0x14004a00c
test rbx, rbx
jne 0x14004a02b
jmp 0x140049b30
mov rcx, qword [0x141d940e8]
xor edx, edx
mov r8, qword [rsp + 0x110]
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rsp + 0x160]
shl rax, 1
test rax, rax
je 0x140049fdc
mov rcx, qword [0x141d940e8]
xor edx, edx
mov r8, qword [rsp + 0x118]
call sub.KERNEL32.dll_HeapFree
test rbx, rbx
je 0x140049b30
lock dec qword [rbx]
jne 0x140049b30
mov rcx, rbx
call fcn.14004cc00
jmp 0x140049b30
movzx eax, byte [rdi + r8]
test al, al
js 0x140049a65
movdqa xmm0, xmmword [rdi]
pmovmskb eax, xmm0
tzcnt r8d, eax
movzx eax, byte [rdi + r8]
jmp 0x140049a65
mov rcx, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0xe8]
mov rsi, rax
call fcn.140047ef0
mov rax, rsi
jmp 0x140049c1a
mov r8, qword [rsp + 0x80]
mov rax, r8
sub rax, r12
shr rax, 4
movabs rcx, 0xc30c30c30c30c31
mul rcx
cmp r8, r12
je 0x14004a270
mov rdi, rdx
xor esi, esi
jmp 0x14004a0cc
inc rsi
cmp rsi, rdi
je 0x14004a270
imul rax, rsi, 0x150
lea rbx, [r12 + rax]
cmp qword [r12 + rax + 0x10], 0
je 0x14004a0f1
mov r8, qword [rbx + 0x18]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov r14, qword [rbx + 0x38]
test r14, r14
je 0x14004a140
mov r15, qword [rbx + 0x30]
add r15, 8
jmp 0x14004a119
add r15, 0x18
dec r14
je 0x14004a140
cmp qword [r15 - 8], 0
je 0x14004a110
mov r8, qword [r15]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x14004a110
cmp qword [rbx + 0x28], 0
je 0x14004a159
mov r8, qword [rbx + 0x30]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rbx + 0x58]
cmp rax, rbp
je 0x14004a179
test rax, rax
je 0x14004a179
mov r8, qword [rbx + 0x60]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rbx + 0x78]
cmp rax, rbp
je 0x14004a19c
test rax, rax
je 0x14004a19c
mov r8, qword [rbx + 0x80]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov r14, qword [rbx + 0x50]
test r14, r14
je 0x14004a1e0
mov r15, qword [rbx + 0x48]
add r15, 8
jmp 0x14004a1b9
add r15, 0x18
dec r14
je 0x14004a1e0
cmp qword [r15 - 8], 0
je 0x14004a1b0
mov r8, qword [r15]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x14004a1b0
cmp qword [rbx + 0x40], 0
je 0x14004a1f9
mov r8, qword [rbx + 0x48]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rbx + 0x90]
cmp rax, rbp
je 0x14004a21f
test rax, rax
je 0x14004a21f
mov r8, qword [rbx + 0x98]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rbx + 0xb0]
cmp rax, rbp
je 0x14004a245
test rax, rax
je 0x14004a245
mov r8, qword [rbx + 0xb8]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rbx + 0xf0]
test rax, rax
je 0x14004a0c0
lock dec qword [rax]
jne 0x14004a0c0
mov rcx, qword [rbx + 0xf0]
call fcn.14004cc00
jmp 0x14004a0c0
cmp qword [rsp + 0xf8], 0
je 0x14004a28e
mov rcx, qword [0x141d940e8]
xor edx, edx
mov r8, qword [rsp + 0x78]
call sub.KERNEL32.dll_HeapFree
mov rsi, qword [r13 + 0xa8]
test rsi, rsi
je 0x14004a5aa
mov rdi, qword [r13 + 0x90]
lea rbx, [rdi + 0x10]
movdqa xmm0, xmmword [rdi]
pmovmskb eax, xmm0
not eax
movabs r14, 0x82fa0be82fa0be83
pcmpeqd xmm6, xmm6
jmp 0x14004a2e0
lea eax, [r15 - 1]
and eax, r15d
dec rsi
je 0x14004a5aa
test ax, ax
jne 0x14004a30c
nop word cs:[rax + rax]
movdqa xmm0, xmmword [rbx]
pmovmskb eax, xmm0
add rdi, 0xffffffffffffea80
add rbx, 0x10
cmp eax, 0xffff
je 0x14004a2f0
not eax
mov r15d, eax
tzcnt eax, r15d
neg rax
imul r12, rax, 0x158
cmp byte [rdi + r12 - 4], 0
mov byte [rdi + r12 - 4], 0
jne 0x14004a2d0
add r12, rdi
mov rax, qword [r13 + 0x90]
mov rcx, rax
sub rcx, r12
sar rcx, 3
imul rcx, r14
lea rdx, [rcx - 0x10]
and rdx, qword [r13 + 0x98]
movdqu xmm0, xmmword [rax + rdx]
pcmpeqb xmm0, xmm6
psllw xmm0, 7
pmovmskb r8d, xmm0
test r8d, r8d
je 0x14004a372
bsr r8w, r8w
xor r8d, 0xf
jmp 0x14004a377
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, pe_nt_image_headers64
cmp r8w, 0xf
ja 0x14004a3a8
inc qword [r13 + 0xa0]
mov r9b, 0xff
mov byte [rax + rcx], r9b
mov byte [rax + rdx + 0x10], r9b
dec qword [r13 + 0xa8]
cmp qword [r12 - 0x140], 0
je 0x14004a3d9
mov r8, qword [r12 - 0x138]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov r13, qword [r12 - 0x118]
test r13, r13
je 0x14004a430
mov rbp, qword [r12 - 0x120]
add rbp, 8
jmp 0x14004a409
add rbp, 0x18
dec r13
je 0x14004a430
cmp qword [rbp - 8], 0
je 0x14004a400
mov r8, qword [rbp]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x14004a400
cmp qword [r12 - 0x128], 0
je 0x14004a451
mov r8, qword [r12 - 0x120]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [r12 - 0xf8]
movabs r13, 0x8000000000000000
cmp rax, r13
je 0x14004a483
test rax, rax
je 0x14004a483
mov r8, qword [r12 - 0xf0]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [r12 - 0xd8]
cmp rax, r13
je 0x14004a4ab
test rax, rax
je 0x14004a4ab
mov r8, qword [r12 - 0xd0]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov r13, qword [r12 - 0x100]
test r13, r13
je 0x14004a500
mov rbp, qword [r12 - 0x108]
add rbp, 8
jmp 0x14004a4d9
add rbp, 0x18
dec r13
je 0x14004a500
cmp qword [rbp - 8], 0
je 0x14004a4d0
mov r8, qword [rbp]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x14004a4d0
cmp qword [r12 - 0x110], 0
je 0x14004a521
mov r8, qword [r12 - 0x108]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [r12 - 0xc0]
movabs rbp, 0x8000000000000000
cmp rax, rbp
mov r13, qword [rsp + 0x88]
je 0x14004a55b
test rax, rax
je 0x14004a55b
mov r8, qword [r12 - 0xb8]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [r12 - 0xa0]
cmp rax, rbp
je 0x14004a583
test rax, rax
je 0x14004a583
mov r8, qword [r12 - 0x98]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [r12 - 0x60]
test rax, rax
je 0x14004a2d0
lock dec qword [rax]
jne 0x14004a2d0
mov rcx, qword [r12 - 0x60]
call fcn.14004cc00
jmp 0x14004a2d0
cmp qword [rsp + 0x60], 0
je 0x14004a5c5
mov r8, qword [rsp + 0x68]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
movaps xmm6, xmmword [rsp + 0x2e0]
add rsp, 0x2f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x48]
mov rsi, r8
mov r8, rax
call fcn.140045120
mov r8, rsi
jmp 0x1400498d9
ud2