joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000a730
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x110]
lea r10, [0x180125550]
mov rax, qword [rcx + 0xf8]
movss xmm1, dword [rcx + 0x114]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xf0]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x18000dcf0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x180179498]
mov r14d, edx
mov r12d, dword [rsp + 0x90]
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3f48]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r12d, eax
cmp qword [rbx + 0x1a8], 0
jne 0x18000dd4b
cmp qword [rdi + 0x4bb8], 0
mov eax, 0x250
je 0x18000dd50
mov eax, 0x220
movss xmm5, dword [rax + rbx]
xorps xmm4, xmm4
movss xmm2, dword [rax + rbx + 4]
xor r15d, r15d
cvttss2si eax, dword [r8]
subss xmm5, dword [rbx + 0x100]
subss xmm2, dword [rbx + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm4
cvtdq2ps xmm0, xmm0
jp 0x18000dd96
mov eax, 1
je 0x18000dd99
mov eax, r15d
ucomiss xmm0, xmm4
jp 0x18000dda6
jne 0x18000dda6
mov r15d, 2
movss xmm3, dword [0x1801609f8]
or r15d, eax
comiss xmm4, xmm1
jb 0x18000ddc1
addss xmm5, xmm1
movaps xmm1, xmm5
maxss xmm1, xmm3
comiss xmm4, xmm0
jb 0x18000ddd1
addss xmm2, xmm0
movaps xmm0, xmm2
maxss xmm0, xmm3
or dword [rdi + 0x4828], 2
xor edx, edx
movss dword [rdi + 0x4848], xmm1
movss dword [rdi + 0x484c], xmm0
mov dword [rdi + 0x4830], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x18000de1a
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.180006470
jmp 0x18000de30
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x70]
call fcn.180006470
mov rcx, qword [rsp + 0x70]
mov r8d, r12d
movss xmm6, dword [rdi + 0x37f8]
xor edx, edx
call fcn.180010b10
mov rsi, qword [rdi + 0x3f48]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
mov byte [rsi + 0xd2], r15b
jne 0x18000de7e
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x180124d39]
not r9d
lea r10, [0x180125550]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x18000deab
cmp byte [rdx], r8b
jne 0x18000deab
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x18000de98
not ebx
cmp dword [rdi + 0x3fa8], ebx
jne 0x18000ded7
call fcn.18000aa20
cmp dword [rdi + 0x4950], r14d
jne 0x18000df24
bt r12d, 0x17
jb 0x18000df24
cmp word [rsi + 0x15c], 0
jne 0x18000defa
cmp byte [rsi + 0x162], 0
je 0x18000df24
xor edx, edx
mov rcx, rsi
call fcn.180013010
xor edx, edx
mov rcx, rsi
call fcn.180019020
mov rdx, rsi
mov ecx, ebx
call fcn.18000a920
mov eax, dword [rdi + 0x4974]
mov dword [rdi + 0x3fd0], eax
mov rbx, qword [rsp + 0x78]
movzx eax, bpl
mov rbp, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x180013b80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x180179498]
lea r10, [0x180125550]
mov r8d, ecx
mov rbx, qword [rax + 0x3f48]
add rbx, 0xf0
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr eax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
mov eax, r8d
mov r8d, dword [rbx + 4]
xor rdx, rcx
shr rax, 0x18
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r10 + rcx*4]
not edi
cmp r9d, r8d
jne 0x180013c41
lea ecx, [r9 + 1]
test r8d, r8d
je 0x180013c2d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180013c32
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18001eb50
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180017040
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180177040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180179498]
mov edi, ecx
cmp byte [rbx + 0x4b01], 0
jne 0x1800170a1
cmp byte [rbx + 0x4b02], 0
jne 0x1800170a1
movsx r9d, word [rbx + 0x5c34]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180006420
test dil, 2
je 0x1800171cf
jmp 0x18001712c
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5c34]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x180160a48]
mov edx, 0x10
mulss xmm1, dword [0x180160a34]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x4840], rax
mov dword [rbx + 0x482c], 1
movss dword [rbx + 0x4838], xmm0
movss dword [rbx + 0x483c], xmm1
movss xmm0, dword [rbx + 0x38fc]
mulss xmm0, dword [0x180160938]
or dword [rbx + 0x4828], 0x41
movss dword [rbx + 0x4888], xmm0
call fcn.180006420
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180017180
lea r11, [0x180125550]
nop dword [rax]
cmp r9b, 0x23
jne 0x180017163
cmp byte [r8], r9b
jne 0x180017163
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180017150
not ecx
call fcn.18000e240
test rax, rax
je 0x1800171cf
cmp byte [rax + 0xb6], 0
je 0x1800171cf
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5c34]
movsx r9d, word [rbx + 0x5c34]
call fcn.180006420
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180010b10
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800d9270
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18001cac0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180179498]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001cb23
mov qword [rsp], rbx
lea rbx, [0x180125550]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001cb03
cmp byte [r8], r9b
jne 0x18001cb03
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x18001caf0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c90]
not eax
mov r8, qword [r10 + 0x5c98]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18001cb4f
cmp dword [r8 + 8], eax
je 0x18001cb56
add r8, 0x48
cmp r8, rcx
jne 0x18001cb40
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x180044c00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x50
mov r10d, 0xffffffff
movaps xmmword [rsp + 0x40], xmm6
mov ecx, r10d
lea r8, [0x180124de9]
movaps xmm5, xmm3
lea rbx, [0x180125550]
mov r11, rdx
mov r9b, 0x23
nop
cmp r9b, 0x23
jne 0x180044c43
cmp byte [r8], r9b
jne 0x180044c43
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180044c30
not ecx
call fcn.18000e240
mov rbx, qword [0x180179498]
xorps xmm4, xmm4
test rax, rax
je 0x180044c83
cmp word [rax + 0xc2], 0
jne 0x180044d23
test r11, r11
jne 0x180044c92
mov rax, qword [rbx + 0x4938]
mov r11, qword [rax]
movss xmm1, dword [r11 + 0xb8]
movss xmm0, dword [r11 + 0xc]
movaps xmm3, xmm1
addss xmm3, dword [r11 + 4]
movss xmm2, dword [r11 + 0xbc]
subss xmm0, xmm1
addss xmm2, dword [r11 + 8]
addss xmm0, dword [r11 + 0xc0]
or dword [rbx + 0x4828], 3
mov qword [rbx + 0x4840], 0
mov dword [rbx + 0x482c], 1
mov dword [rbx + 0x4830], 1
maxss xmm4, xmm0
movaps xmm0, xmm3
unpcklps xmm0, xmm2
movsd qword [rbx + 0x4838], xmm0
addss xmm4, xmm3
subss xmm4, xmm3
unpcklps xmm4, xmm5
movsd qword [rbx + 0x4848], xmm4
addss xmm5, dword [r11 + 0xbc]
movss dword [r11 + 0xbc], xmm5
movups xmm0, xmmword [rbx + 0x3c00]
lea rcx, [rbx + 0x4898]
mov dword [rsp + 0x20], 0x35
lea rdx, [rsp + 0x20]
xorps xmm6, xmm6
movups xmmword [rsp + 0x24], xmm0
call fcn.18001dff0
movups xmmword [rbx + 0x3c00], xmm6
mov rbx, qword [0x180179498]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 3
movss xmm0, dword [rbx + 0x37d8]
lea rcx, [rbx + 0x48a8]
movss dword [rsp + 0x24], xmm0
call fcn.18001def0
lea rdx, [rsp + 0x60]
mov dword [rbx + 0x37d8], 0
mov ecx, 5
mov qword [rsp + 0x60], 0
call fcn.1800071d0
xor edx, edx
lea rcx, str.MainMenuBar
mov r8d, 0x50f
call fcn.180010b10
mov ecx, 2
movzx ebx, al
call fcn.180007260
mov r8, qword [0x180179498]
movsxd rax, dword [r8 + 0x4898]
cmp eax, 1
jl 0x180044e00
mov rcx, qword [r8 + 0x48a0]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, 0x38b
add rax, rax
movups xmmword [r8 + rax*8], xmm0
dec dword [r8 + 0x4898]
movaps xmm6, xmmword [rsp + 0x40]
movzx eax, bl
add rsp, 0x50
pop rbx
ret
Function at 0x180046350
Capabilities:
Hash data with crc32

Disassembly:
test dword [rcx + 0x10], 0x100000
mov r10, rdx
je 0x1800463d7
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1800463b0
lea r10, [0x180125550]
nop dword [rax]
cmp r9b, 0x23
jne 0x180046393
cmp byte [r8], r9b
jne 0x180046393
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r10 + rdx*4]
test r9b, r9b
jne 0x180046380
mov rcx, qword [0x180179498]
not eax
cmp dword [rcx + 0x3fa8], eax
jne 0x1800463c7
mov dword [rcx + 0x3fac], eax
cmp dword [rcx + 0x3fd8], eax
jne 0x180046402
mov byte [rcx + 0x3fdc], 1
ret
mov rax, qword [0x180179498]
xor edx, edx
mov rcx, r10
mov r8, qword [rax + 0x3f48]
movsxd rax, dword [r8 + 0xf0]
mov r8, qword [r8 + 0xf8]
mov r8d, dword [r8 + rax*4 - 4]
jmp fcn.180006550
ret
Function at 0x18004efe0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x18004f020
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180179f30]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18004f05e
cmp rsi, r14
jb 0x18004f056
cmp rsi, r15
jae 0x18004f056
cmp qword [rsi + 8], 0
jne 0x18004f227
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18004f041
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x18004f0f2
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x18004f0e9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18004f0e9
cmp dword [rsp + 0x70], 0x10000
je 0x18004f16b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x18004f0e9
sub rbx, rbp
cmp rbx, r14
jae 0x18004f0b0
test rsi, rsi
jne 0x18004f1d0
cmp rdi, r15
ja 0x18004f20f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18004f20f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18004f20f
cmp dword [rsp + 0x70], 0x10000
je 0x18004f1a1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x18004f122
jmp 0x18004f20f
test rbx, rbx
je 0x18004f0e9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18004f1d0
cmp rbx, r14
jae 0x18004f090
jmp 0x18004f0f2
test rdi, rdi
je 0x18004f20f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18004f1d0
cmp rdi, r15
jbe 0x18004f100
jmp 0x18004f20f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x18004f1e0
mov rax, qword [0x180179f30]
mov qword [rsi], rax
mov qword [0x180179f30], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x18004fc30
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180177040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov qword [rcx], rsi
mov rbx, rcx
mov qword [rcx + 8], rsi
xor edx, edx
mov ecx, 4
mov ebp, r8d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18004fd5b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18004fd52
nop dword [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x18004fd34
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18004fd34
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18004fd34
mov rdx, qword [rbx]
test rdx, rdx
jne 0x18004fcf2
mov rcx, qword [0x1801794b0]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x18004fd52
jmp 0x18004fd27
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x18004fd27
mov rcx, qword [0x1801794b0]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x18004fd52
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x18004fca0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x18004fdb5
cmp dword [rbx + 0xc], esi
jbe 0x18004fdb5
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
mov ecx, 0x5a
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18004fdae
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.18004fa80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x18004fd70
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800d9270
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18004fde0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180179f20]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18004fe44
mov eax, 0xa
jmp 0x18004fed7
test esi, esi
je 0x18004fe66
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18004fe89
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18004fe89
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18004fe82
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18004fe89
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x18004fef0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x180179f2c]
mov ebx, edi
test ecx, ecx
je 0x18005002d
mov rax, qword [0x180179f20]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x18004ff48
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18004ff20
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18005002d
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.18004fc30
mov r8d, dword [0x180179f2c]
cmp ebx, r8d
jae 0x18004ffb8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180179f20]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x18004ffb1
mov edx, esi
mov ecx, ebx
call fcn.18004fde0
mov edi, eax
test eax, eax
jne 0x18004ffb8
mov r8d, dword [0x180179f2c]
inc ebx
cmp ebx, r8d
jb 0x18004ff80
cmp qword [rsp + 0x20], 0
je 0x18005002d
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180050019
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18005000a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18004ffe0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1801794b0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180050330
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
mov edi, 1
mov ebp, r14d
mov ebx, r14d
xor eax, eax
lock cmpxchg dword [0x1801794a8], edi
je 0x180050378
cmp rbx, 0x20
jae 0x180050361
xor ecx, ecx
jmp 0x180050363
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1801794a8], edi
jne 0x180050357
cmp qword [0x1801794b0], rbp
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r15
je 0x180050508
mov ecx, dword [0x180179f2c]
mov ebx, r14d
test ecx, ecx
je 0x1800503b5
mov rdx, qword [0x180179f20]
mov rax, rdx
cmp qword [rax], rbp
je 0x1800503bf
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800503a6
mov ebp, 4
jmp 0x18005050d
cmp ebx, 0xffffffff
je 0x1800503b5
mov eax, ebx
mov r15d, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x18005046c
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18004fc30
xor edx, edx
mov ecx, ebx
call fcn.18004fde0
mov ebp, eax
cmp qword [rsp + 0x20], r14
je 0x18005045d
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180050449
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rsi
mov esi, eax
nop
mov r8d, dword [rdi]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x18005043a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rsi, 1
jne 0x180050410
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1801794b0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test ebp, ebp
jne 0x18005050d
mov rdx, qword [0x180179f20]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.18004f240
mov edx, dword [0x180179f2c]
dec edx
cmp r15d, edx
jae 0x1800504bc
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x180179f20]
movups xmm0, xmmword [rcx + rax]
movups xmmword [rax + r13], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rax + r13 + 0x10], xmm1
movups xmm0, xmmword [rcx + rax + 0x20]
movups xmmword [rax + r13 + 0x20], xmm0
movsd xmm1, qword [rcx + rax + 0x30]
movsd qword [rax + r13 + 0x30], xmm1
mov ecx, dword [0x180179f28]
mov eax, ecx
mov dword [0x180179f2c], edx
shr eax, 1
cmp eax, 0x20
jb 0x18005050d
cmp eax, edx
jb 0x18005050d
mov r8, qword [0x180179f20]
mov eax, ecx
mov rcx, qword [0x1801794b0]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x18005050d
shr dword [0x180179f28], 1
mov qword [0x180179f20], rax
jmp 0x18005050d
mov ebp, 2
xchg dword [0x1801794a8], r14d
mov r15, qword [rsp + 0x60]
mov eax, ebp
mov r13, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret