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

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x1801114f0]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x18000d7e0
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 [0x18012f438]
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 0x18000d83b
cmp qword [rdi + 0x4bb8], 0
mov eax, 0x250
je 0x18000d840
mov eax, 0x220
movss xmm4, dword [rax + rbx]
xorps xmm3, xmm3
movss xmm5, dword [rax + rbx + 4]
xor r15d, r15d
cvttss2si eax, dword [r8]
subss xmm4, dword [rbx + 0x100]
subss xmm5, dword [rbx + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
jp 0x18000d885
lea eax, [r15 + 1]
je 0x18000d888
mov eax, r15d
ucomiss xmm0, xmm3
jp 0x18000d895
jne 0x18000d895
mov r15d, 2
movss xmm2, dword [0x1801174bc]
or r15d, eax
comiss xmm3, xmm1
jb 0x18000d8b1
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x18000d8b1
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x18000d8c2
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x18000d8c2
movaps xmm0, xmm2
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 0x18000d90b
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.180005e60
jmp 0x18000d921
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x70]
call fcn.180005e60
mov rcx, qword [rsp + 0x70]
mov r8d, r12d
movss xmm6, dword [rdi + 0x37f8]
xor edx, edx
call fcn.180010620
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 0x18000d96f
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x180110ce9]
not r9d
lea r10, [0x1801114f0]
mov ebx, r9d
mov r8b, 0x23
nop dword [rax]
cmp r8b, 0x23
jne 0x18000d9a3
cmp byte [rdx], r8b
jne 0x18000d9a3
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 0x18000d990
not ebx
cmp dword [rdi + 0x3fa8], ebx
jne 0x18000d9cf
call fcn.18000a480
cmp dword [rdi + 0x4950], r14d
jne 0x18000da1c
bt r12d, 0x17
jb 0x18000da1c
cmp word [rsi + 0x15c], 0
jne 0x18000d9f2
cmp byte [rsi + 0x162], 0
je 0x18000da1c
xor edx, edx
mov rcx, rsi
call fcn.180012b40
xor edx, edx
mov rcx, rsi
call fcn.180018c30
mov rdx, rsi
mov ecx, ebx
call fcn.18000a380
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 0x180013740
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x18012f438]
lea rdx, [0x1801114f0]
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
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x1800137f7
lea ecx, [r9 + 1]
test r8d, r8d
je 0x1800137e3
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1800137e8
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18001e890
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180016c70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x18012d040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x18012f438]
mov edi, ecx
cmp byte [rbx + 0x4b01], 0
jne 0x180016cd1
cmp byte [rbx + 0x4b02], 0
jne 0x180016cd1
movsx r9d, word [rbx + 0x5c34]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180005e10
test dil, 2
je 0x180016dff
jmp 0x180016d5a
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 [0x180117508]
mulss xmm1, dword [0x1801174f4]
lea edx, [rax + 0x10]
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 [0x180117424]
or dword [rbx + 0x4828], 0x41
movss dword [rbx + 0x4888], xmm0
call fcn.180005e10
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180016db0
lea r11, [0x1801114f0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x180016d93
cmp byte [r8], r9b
jne 0x180016d93
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 0x180016d80
not ecx
call fcn.18000dd30
test rax, rax
je 0x180016dff
cmp byte [rax + 0xb6], 0
je 0x180016dff
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.180005e10
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180010620
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800c4b70
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18001c7f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18012f438]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001c853
mov qword [rsp], rbx
lea rbx, [0x1801114f0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001c833
cmp byte [r8], r9b
jne 0x18001c833
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 0x18001c820
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 0x18001c87f
cmp dword [r8 + 8], eax
je 0x18001c886
add r8, 0x48
cmp r8, rcx
jne 0x18001c870
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x180045590
Capabilities:
Hash data with crc32

Disassembly:
test dword [rcx + 0x10], 0x100000
mov r10, rdx
je 0x180045617
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1800455f0
lea r10, [0x1801114f0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800455d3
cmp byte [r8], r9b
jne 0x1800455d3
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 0x1800455c0
mov rcx, qword [0x18012f438]
not eax
cmp dword [rcx + 0x3fa8], eax
jne 0x180045607
mov dword [rcx + 0x3fac], eax
cmp dword [rcx + 0x3fd8], eax
jne 0x180045642
mov byte [rcx + 0x3fdc], 1
ret
mov rax, qword [0x18012f438]
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.180005f40
ret
Function at 0x180049bd0
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 0x180049c10
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x18012fc50]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x180049c4e
cmp rsi, r14
jb 0x180049c46
cmp rsi, r15
jae 0x180049c46
cmp qword [rsi + 8], 0
jne 0x180049e17
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180049c31
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 0x180049ce2
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 0x180049cd9
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 0x180049cd9
cmp dword [rsp + 0x70], 0x10000
je 0x180049d5b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x180049cd9
sub rbx, rbp
cmp rbx, r14
jae 0x180049ca0
test rsi, rsi
jne 0x180049dc0
cmp rdi, r15
ja 0x180049dff
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 0x180049dff
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180049dff
cmp dword [rsp + 0x70], 0x10000
je 0x180049d91
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 0x180049d12
jmp 0x180049dff
test rbx, rbx
je 0x180049cd9
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 0x180049dc0
cmp rbx, r14
jae 0x180049c80
jmp 0x180049ce2
test rdi, rdi
je 0x180049dff
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 0x180049dc0
cmp rdi, r15
jbe 0x180049cf0
jmp 0x180049dff
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 0x180049dd0
mov rax, qword [0x18012fc50]
mov qword [rsi], rax
mov qword [0x18012fc50], 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 0x18004a800
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 [0x18012d040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18004a92b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18004a922
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x18004a904
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18004a904
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18004a904
mov rdx, qword [rbx]
test rdx, rdx
jne 0x18004a8c2
mov rcx, qword [0x18012f450]
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 0x18004a922
jmp 0x18004a8f7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x18004a8f7
mov rcx, qword [0x18012f450]
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 0x18004a922
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 0x18004a870
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x18004a983
cmp dword [rbx + 0xc], esi
jbe 0x18004a983
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18004a97c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.18004a650
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x18004a940
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800c4b70
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 0x18004a9b0
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 [0x18012fc40]
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 0x18004aa14
mov eax, 0xa
jmp 0x18004aaa7
test esi, esi
je 0x18004aa36
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 0x18004aa59
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18004aa59
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18004aa52
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18004aa59
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 0x18004aac0
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 [0x18012fc4c]
mov ebx, edi
test ecx, ecx
je 0x18004abfb
mov rax, qword [0x18012fc40]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x18004ab18
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18004aaf0
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18004abfb
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.18004a800
mov r8d, dword [0x18012fc4c]
cmp ebx, r8d
jae 0x18004ab88
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x18012fc40]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x18004ab81
mov edx, esi
mov ecx, ebx
call fcn.18004a9b0
mov edi, eax
test eax, eax
jne 0x18004ab88
mov r8d, dword [0x18012fc4c]
inc ebx
cmp ebx, r8d
jb 0x18004ab50
cmp qword [rsp + 0x20], 0
je 0x18004abfb
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18004abe7
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
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18004abd8
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 0x18004abb0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18012f450]
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 0x18004af10
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
mov edi, 1
mov r14d, r15d
mov ebx, r15d
xor eax, eax
lock cmpxchg dword [0x18012f448], edi
je 0x18004af59
cmp rbx, 0x20
jae 0x18004af42
xor ecx, ecx
jmp 0x18004af44
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18012f448], edi
jne 0x18004af38
cmp qword [0x18012f450], r14
mov qword [rsp + 0x60], r13
je 0x18004b0eb
mov ecx, dword [0x18012fc4c]
mov ebx, r15d
test ecx, ecx
je 0x18004af91
mov rdx, qword [0x18012fc40]
mov rax, rdx
cmp qword [rax], r14
je 0x18004af9c
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18004af82
mov r14d, 4
jmp 0x18004b0f1
cmp ebx, 0xffffffff
je 0x18004af91
mov eax, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x18004b050
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18004a800
xor edx, edx
mov ecx, ebx
call fcn.18004a9b0
mov r14d, eax
cmp qword [rsp + 0x20], r15
je 0x18004b040
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18004b02c
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rbp
mov ebp, eax
mov qword [rsp + 0x58], rsi
nop
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18004b018
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rbp, 1
jne 0x18004aff0
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18012f450]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14d, r14d
jne 0x18004b0f1
mov rdx, qword [0x18012fc40]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.180049e30
mov edx, dword [0x18012fc4c]
dec edx
cmp ebx, edx
jae 0x18004b09f
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x18012fc40]
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 [0x18012fc48]
mov eax, ecx
mov dword [0x18012fc4c], edx
shr eax, 1
cmp eax, 0x20
jb 0x18004b0f1
cmp eax, edx
jb 0x18004b0f1
mov r8, qword [0x18012fc40]
mov eax, ecx
mov rcx, qword [0x18012f450]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x18004b0f1
shr dword [0x18012fc48], 1
mov qword [0x18012fc40], rax
jmp 0x18004b0f1
mov r14d, 2
xchg dword [0x18012f448], r15d
mov r13, qword [rsp + 0x60]
mov eax, r14d
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x18004b110
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x18012f448], ebp
je 0x18004b167
cmp rbx, 0x20
jae 0x18004b150
xor ecx, ecx
jmp 0x18004b152
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18012f448], ebp
jne 0x18004b146
cmp qword [0x18012f450], r15
je 0x18004b261
test rdi, rdi
jne 0x18004b187
mov ecx, esi
call fcn.18004aac0
mov ebp, eax
jmp 0x18004b266
mov ecx, dword [0x18012fc4c]
mov ebx, r15d
test ecx, ecx
je 0x18004b1af
mov r8, qword [0x18012fc40]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x18004b1b9
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18004b1a0
mov ebp, 4
jmp 0x18004b266
cmp ebx, 0xffffffff
je 0x18004b1af
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x18004b258
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18004a800
mov edx, esi
mov ecx, ebx
call fcn.18004a9b0
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x18004b266
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18004b242
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18004b238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x18004b210
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18012f450]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18004b266
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x18004b266
mov ebp, 2
xchg dword [0x18012f448], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret