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

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, qword [0x1800a4230]
movss xmm0, dword [0x180050bb8]
comiss xmm0, dword [rdi + 0x4218]
ja 0x18001e57e
cmp qword [rdi + 0x4210], 0
mov qword [rsp + 0x50], rsi
jne 0x18001e36e
mov r10d, 0xffffffff
lea r8, [0x18004ba21]
mov ecx, r10d
lea r11, [0x18004be50]
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x18001e343
cmp byte [r8], r9b
jne 0x18001e343
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 0x18001e330
not ecx
call fcn.1800129c0
mov qword [rdi + 0x4210], rax
mov rax, qword [rdi + 0x4090]
xor edx, edx
mov dword [rsp + 0x28], 0x7f7fffff
mov dword [rsp + 0x2c], 0x7f7fffff
movups xmm0, xmmword [rsp + 0x20]
mov rcx, qword [rax]
mov eax, dword [rdi + 0x3f90]
or eax, 0x10
movss xmm2, dword [rcx + 0xc]
movss xmm1, dword [rcx + 0x10]
mulss xmm1, dword [0x180050bc0]
mov dword [rdi + 0x3f90], eax
or eax, 1
mulss xmm2, dword [0x180050bc0]
mov qword [rdi + 0x3fe0], rdx
mov qword [rdi + 0x3fe8], rdx
lea rdx, [rsp + 0x40]
movss xmm0, xmm2
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
movups xmmword [rdi + 0x3fcc], xmm0
movss xmm1, dword [rcx + 0x10]
movss xmm2, dword [rcx + 0xc]
mulss xmm1, dword [0x180050bd8]
mulss xmm2, dword [0x180050bd8]
addss xmm1, dword [rcx + 8]
addss xmm2, dword [rcx + 4]
mov dword [rdi + 0x3f90], eax
mov ecx, 2
mov dword [rdi + 0x3fa8], 0x3f000000
movss dword [rdi + 0x3fa4], xmm1
mov dword [rdi + 0x3fac], 0x3f000000
movss dword [rdi + 0x3fa0], xmm2
mov dword [rdi + 0x3f94], 1
movss xmm0, dword [rdi + 0x37e8]
movss xmm1, dword [rdi + 0x37ec]
addss xmm0, xmm0
addss xmm1, xmm1
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
call fcn.18000bbd0
xor edx, edx
lea rcx, str.NavWindowingList
mov r8d, 0xc1347
call fcn.180015140
mov eax, dword [rdi + 0x3e40]
sub eax, 1
movsxd rsi, eax
js 0x18001e56a
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rax, qword [rdi + 0x3e48]
mov rbx, qword [rax + rsi*8]
cmp byte [rbx + 0x97], 0
je 0x18001e55b
cmp rbx, qword [rbx + 0x360]
jne 0x18001e55b
test dword [rbx + 0xc], 0x80000
jne 0x18001e55b
mov r8, qword [rbx]
mov rcx, r8
cmp r8, 0xffffffffffffffff
jae 0x18001e502
nop
movzx edx, byte [rcx]
test dl, dl
je 0x18001e4fd
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x18001e4f4
cmp byte [rax], dl
je 0x18001e4fd
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x18001e4e0
cmp r8, rcx
jne 0x18001e53b
mov eax, dword [rbx + 0xc]
bt eax, 0x1a
jae 0x18001e514
lea r8, str._Popup_
jmp 0x18001e53b
bt eax, 0xa
jae 0x18001e534
lea rdx, str.MainMenuBar
mov rcx, r8
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
lea r8, str._Main_menu_bar_
test eax, eax
je 0x18001e53b
lea r8, str._Untitled_
cmp qword [rdi + 0x4200], rbx
lea r9, [rsp + 0x40]
mov rcx, r8
mov qword [rsp + 0x40], 0
sete dl
call fcn.1800436a0
sub rsi, 1
jns 0x18001e4a0
mov rbx, qword [rsp + 0x48]
call fcn.180017460
mov ecx, 1
call fcn.18000bc60
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18001ea70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001eb17
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001eaca
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180020dc0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18000ba20
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1800a41ed]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001eb1f
mov rcx, rbx
call fcn.18000ba20
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18001f090
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800a4230]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001f0f3
mov qword [rsp], rbx
lea rbx, [0x18004be50]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001f0d3
cmp byte [r8], r9b
jne 0x18001f0d3
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 0x18001f0c0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x18001f127
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18001f12e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x18001f114
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1800462f0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180059040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x18004633f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1800a4390]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18004637d
cmp rsi, r14
jb 0x180046375
cmp rsi, r15
jae 0x180046375
cmp qword [rsi + 8], 0
jne 0x180046547
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180046360
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180046412
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180046409
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180046409
cmp dword [rsp + 0x40], 0x10000
je 0x18004648b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x180046409
sub rbx, rbp
cmp rbx, r14
jae 0x1800463d0
test rsi, rsi
jne 0x1800464f0
cmp rdi, r15
ja 0x18004652f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
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 0x18004652f
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18004652f
cmp dword [rsp + 0x40], 0x10000
je 0x1800464c1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180046442
jmp 0x18004652f
test rbx, rbx
je 0x180046409
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 0x1800464f0
cmp rbx, r14
jae 0x1800463b0
jmp 0x180046412
test rdi, rdi
je 0x18004652f
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 0x1800464f0
cmp rdi, r15
jbe 0x180046420
jmp 0x18004652f
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 0x180046500
mov rax, qword [0x1800a4390]
mov qword [rsi], rax
mov qword [0x1800a4390], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180047f60
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x180046f60
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x180059040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r15d, r15d
mov r14d, edx
mov qword [rcx], r15
mov rbx, rcx
mov qword [rcx + 8], r15
xor edx, edx
mov ecx, 4
mov ebp, r8d
mov edi, r15d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18004711a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1800470a8
mov edi, 1
cmp dword [rsp + 0x20], 0x10
jb 0x180047062
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180047062
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180047062
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180047024
mov rcx, qword [0x1800a4240]
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 0x18004708b
jmp 0x180047055
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180047055
mov rcx, qword [0x1800a4240]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rbx + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x18004708b
mov qword [rbx], rax
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, rsi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180046fd2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1800470a8
mov r8, qword [rbx]
mov edi, r15d
test r8, r8
je 0x1800470a8
mov rcx, qword [0x1800a4240]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x18004711a
cmp qword [rbx], r15
je 0x180047115
mov edi, r15d
cmp dword [rbx + 0xc], r15d
jbe 0x180047115
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, edi
mov ecx, 0x5a
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18004710e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.180046db0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800470d0
mov eax, r15d
jmp 0x18004711f
mov eax, 9
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180047f60
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180047140
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, 0x30
mov rax, qword [0x180059040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1800a4380]
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 0x1800471b3
mov eax, 0xa
jmp 0x180047246
test esi, esi
je 0x1800471d5
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 0x1800471f8
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800471f8
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800471f1
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800471f8
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
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 rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180047f60
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180047270
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x1800a438c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x1800472b7
mov rax, qword [0x1800a4380]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x1800472c4
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x1800472a0
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x1800472b7
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.180046f60
mov edi, eax
test eax, eax
jne 0x1800473af
mov r9d, dword [0x1800a438c]
cmp ebx, r9d
jae 0x18004733c
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x1800a4380]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x180047335
mov edx, esi
mov ecx, ebx
call fcn.180047140
mov edi, eax
test eax, eax
jne 0x18004733c
mov r9d, dword [0x1800a438c]
inc ebx
cmp ebx, r9d
jb 0x180047300
cmp qword [rsp + 0x20], 0
je 0x1800473ad
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180047399
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
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 0x18004738a
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 0x180047360
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800a4240]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x180047790
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 [0x1800a421c], edi
je 0x1800477d8
cmp rbx, 0x20
jae 0x1800477c1
xor ecx, ecx
jmp 0x1800477c3
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800a421c], edi
jne 0x1800477b7
cmp qword [0x1800a4240], rbp
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r15
je 0x180047978
mov ecx, dword [0x1800a438c]
mov ebx, r14d
test ecx, ecx
je 0x180047815
mov rdx, qword [0x1800a4380]
mov rax, rdx
cmp qword [rax], rbp
je 0x18004781f
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180047806
mov ebp, 4
jmp 0x18004797d
cmp ebx, 0xffffffff
je 0x180047815
mov eax, ebx
mov r15d, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x1800478dc
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180046f60
mov ebp, eax
test eax, eax
jne 0x18004797d
xor edx, edx
mov ecx, ebx
call fcn.180047140
mov ebp, eax
cmp qword [rsp + 0x20], r14
je 0x1800478cd
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800478b9
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rsi
mov esi, eax
nop dword [rax + rax]
mov r8d, dword [rdi]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x1800478aa
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 0x180047880
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800a4240]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test ebp, ebp
jne 0x18004797d
mov rdx, qword [0x1800a4380]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.180046570
mov edx, dword [0x1800a438c]
dec edx
cmp r15d, edx
jae 0x18004792c
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x1800a4380]
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 [0x1800a4388]
mov eax, ecx
mov dword [0x1800a438c], edx
shr eax, 1
cmp eax, 0x20
jb 0x18004797d
cmp eax, edx
jb 0x18004797d
mov r8, qword [0x1800a4380]
mov eax, ecx
mov rcx, qword [0x1800a4240]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x18004797d
shr dword [0x1800a4388], 1
mov qword [0x1800a4380], rax
jmp 0x18004797d
mov ebp, 2
xchg dword [0x1800a421c], 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
Function at 0x1800479a0
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 [0x1800a421c], ebp
je 0x1800479f7
cmp rbx, 0x20
jae 0x1800479e0
xor ecx, ecx
jmp 0x1800479e2
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800a421c], ebp
jne 0x1800479d6
cmp qword [0x1800a4240], r15
je 0x180047af3
test rdi, rdi
jne 0x180047a17
mov ecx, esi
call fcn.180047270
mov edi, eax
jmp 0x180047af8
mov ecx, dword [0x1800a438c]
mov ebx, r15d
test ecx, ecx
je 0x180047a3f
mov rdx, qword [0x1800a4380]
mov rax, rdx
nop
cmp rdi, qword [rax]
je 0x180047a49
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180047a30
mov edi, 4
jmp 0x180047af8
cmp ebx, 0xffffffff
je 0x180047a3f
mov eax, ebx
imul rcx, rax, 0x38
movzx eax, byte [rcx + rdx + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x180047aea
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180046f60
mov edi, eax
test eax, eax
jne 0x180047af8
mov edx, esi
mov ecx, ebx
call fcn.180047140
mov edi, eax
cmp qword [rsp + 0x20], r15
je 0x180047af8
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180047ad4
mov rbx, qword [rsp + 0x20]
mov ebp, eax
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 0x180047aca
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 0x180047aa0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800a4240]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180047af8
neg esi
sbb edi, edi
add edi, 6
jmp 0x180047af8
mov edi, 2
xchg dword [0x1800a421c], r15d
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
Function at 0x140005a30
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r8, rcx
movsxd r10, edx
xor eax, eax
mov r9d, edx
mov ecx, 0x40
lea rdi, [rsp]
rep stosb byte [rdi], al
mov rdi, r10
lea rcx, [rsp]
shr rdi, 3
test rdi, rdi
je 0x140005a84
nop dword [rax + rax]
mov rax, qword [r8]
add r8, 8
mov qword [rcx], rax
add rcx, 8
sub rdi, 1
jne 0x140005a70
mov rdx, r10
and edx, 7
je 0x140005aa2
sub rcx, r8
nop
movzx eax, byte [r8]
mov byte [rcx + r8], al
lea r8, [r8 + 1]
sub rdx, 1
jne 0x140005a90
xor r8d, r8d
test r9d, r9d
jle 0x140005ac9
mov edx, r8d
nop dword [rax]
movzx ecx, byte [rsp + rdx]
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x140005ac1
add cl, 0x20
mov byte [rsp + rdx], cl
inc rdx
cmp rdx, r10
jl 0x140005ab0
lea rdx, [rsp]
mov r11d, r9d
mov r10d, 0xb801fcda
cmp r9d, 4
jl 0x140005b17
mov rdi, r9
shr rdi, 2
mov eax, edi
neg eax
lea r9d, [r9 + rax*4]
nop dword [rax + rax]
imul eax, dword [rdx], 0x5bd1e995
add rdx, 4
imul r10d, r10d, 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
xor r10d, ecx
sub rdi, 1
jne 0x140005af0
sub r9d, 1
je 0x140005b3c
sub r9d, 1
je 0x140005b32
cmp r9d, 1
jne 0x140005b42
movzx r8d, byte [rdx + 2]
shl r8d, 0x10
movzx eax, byte [rdx + 1]
shl eax, 8
xor r8d, eax
movzx eax, byte [rdx]
xor r8d, eax
imul ecx, r8d, 0x5bd1e995
imul edi, r11d, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
imul eax, r10d, 0x5bd1e995
xor ecx, eax
mov eax, edi
shr eax, 0x18
xor eax, edi
imul edx, ecx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor edx, eax
mov eax, edx
shr eax, 0xd
xor eax, edx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140023a60
add rsp, 0x50
pop rdi
ret
Function at 0x140022b30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov edx, 0xf
mov r8d, 0xa86f8bb2
mov rbx, rcx
lea r9d, [rdx - 1]
call fcn.1400056f0
xor edx, edx
lea ecx, [rdx + 2]
call rax
mov rdi, rax
test rax, rax
je 0x140022d31
mov dword [rsp + 0x40], 0x238
mov r9d, 0xd
mov r8d, 0x5e57b014
jmp 0x140022cfb
mov byte [rsp + 0x20], 0
mov byte [rsp + 0x21], 0x70
mov byte [rsp + 0x22], 0x1d
mov byte [rsp + 0x23], 0x42
mov byte [rsp + 0x24], 0x1d
mov byte [rsp + 0x25], 0x48
mov byte [rsp + 0x26], 0x1d
mov byte [rsp + 0x27], 0x4b
mov byte [rsp + 0x28], 0x1d
mov byte [rsp + 0x29], 0x29
mov byte [rsp + 0x2a], 0x1d
mov byte [rsp + 0x2b], 7
mov byte [rsp + 0x2c], 0x1d
mov byte [rsp + 0x2d], 0x70
mov byte [rsp + 0x2e], 0x1d
mov byte [rsp + 0x2f], 7
mov byte [rsp + 0x30], 0x1d
mov byte [rsp + 0x31], 0x3a
mov byte [rsp + 0x32], 0x1d
mov byte [rsp + 0x33], 0x70
mov byte [rsp + 0x34], 0x1d
mov byte [rsp + 0x35], 0x42
mov byte [rsp + 0x36], 0x1d
mov byte [rsp + 0x37], 0x70
mov byte [rsp + 0x38], 0x1d
mov byte [rsp + 0x39], 0x1d
mov byte [rsp + 0x3a], 0x1d
movzx eax, byte [rsp + 0x21]
movzx eax, byte [rsp + 0x20]
test al, al
jne 0x140022c95
xor r9d, r9d
nop dword [rax + rax]
movzx ecx, byte [rsp + r9 + 0x21]
mov eax, 0x81020409
sub ecx, 0x1d
imul r8d, ecx, 0x29
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov eax, 0x81020409
add r8d, 0x7f
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov byte [rsp + r9 + 0x21], r8b
inc r9
cmp r9, 0x1a
jb 0x140022c40
mov edx, 0xf
mov r8d, 0xcd7328ca
lea r9d, [rdx + 0x42]
call fcn.1400056f0
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x6c]
call rax
test eax, eax
jne 0x140022cef
lea ecx, [rax + 0x18]
call fcn.140027ed0
xor ecx, ecx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
test rax, rax
je 0x140022d17
mov ecx, dword [rsp + 0x48]
mov dword [rax], ecx
mov rcx, qword [rbx + 8]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
add rax, 8
mov qword [rbx + 8], rax
mov r9d, 0xc
mov r8d, 0xc9a81ce0
mov edx, 0xf
call fcn.1400056f0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call rax
test eax, eax
jne 0x140022ba0
mov r9d, 0x5b
mov r8d, 0xca528872
lea edx, [r9 - 0x4c]
call fcn.1400056f0
mov rcx, rdi
call rax
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140023a60
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400245b8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140024602
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140024602
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140024602
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140024602
cmp dword [rcx + 0x84], 0xe
jbe 0x140024602
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140024604
xor al, al
add rsp, 0x28
ret

Function at 0x14002887c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140028678