joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ce69c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400ce6bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400b8034
or eax, 0xffffffff
jmp 0x1400ce6be
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400cf4d8
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400c0d08
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400c0d08
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400cf628
cmp rax, 0xffffffffffffffff
je 0x1400cf628
xor edi, edi
test rbp, rbp
jle 0x1400cf5d3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400c96c8
mov rbx, rax
test rax, rax
jne 0x1400cf560
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400cf5c9
mov edx, 0x8000
mov ecx, r14d
call fcn.1400c4f98
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400c7e0c
cmp eax, 0xffffffff
je 0x1400cf5a9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400cf570
mov edx, r15d
mov ecx, r14d
call fcn.1400c4f98
jmp 0x1400cf5c9
cmp byte [rsi + 0x38], dil
je 0x1400cf5c0
cmp dword [rsi + 0x34], 5
jne 0x1400cf5c0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1400cf5c9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400c9ac0
jmp 0x1400cf63c
jns 0x1400cf63c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400c0d08
cmp rax, 0xffffffffffffffff
jne 0x1400cf5f4
cmp byte [rsi + 0x30], dil
je 0x1400cf63c
mov edi, dword [rsi + 0x2c]
jmp 0x1400cf63c
mov ecx, r14d
call fcn.1400cf3c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400cf63c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1400cf63c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400cf635
mov eax, dword [rsi + 0x2c]
jmp 0x1400cf63a
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400c0d08
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, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400d2774
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400d27a4
xor eax, eax
jmp 0x1400d2867
mov rbp, rbx
cmp word [rax], si
je 0x1400d27c9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400d27b0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400d27ac
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400cece8
movsxd r14, eax
test eax, eax
jne 0x1400d2807
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400d279d
mov rcx, r14
call fcn.1400c9ca0
mov rdi, rax
test rax, rax
jne 0x1400d2820
xor ecx, ecx
call fcn.1400c9ac0
jmp 0x1400d27fc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400cece8
test eax, eax
jne 0x1400d2851
mov rcx, rdi
call fcn.1400c9ac0
jmp 0x1400d285b
xor ecx, ecx
call fcn.1400c9ac0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400d2884
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400d290b
mov rsi, rbx
cmp word [rax], bp
je 0x1400d28ca
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400d28b4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400d28b0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400c9ca0
mov rdi, rax
test rax, rax
je 0x1400d28f8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400da2d0
mov rbp, rdi
xor ecx, ecx
call fcn.1400c9ac0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400d586c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400c90f4
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400d590d
cmp ebx, dword [rsp + 0x30]
je 0x1400d5906
test esi, esi
je 0x1400d5906
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400d58e1
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400d58ee
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400d58cb
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400d58f2
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400d590f
mov eax, 1
jmp 0x1400d590f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400d84c8
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1401137c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400d8512
call fcn.1400b80a0
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.1400b80c0
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.1400b9098
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a6610
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400d851d
lea eax, [rbx + 1]
jmp 0x1400d84ff
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1400d84fd
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400d84ff
Function at 0x1400d871c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400aeb18
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400d87a6
cmp byte [rbp - 0x21], r15b
je 0x1400d87a1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400d87dc
call fcn.1400cc390
test eax, eax
jne 0x1400d87c8
cmp byte [rbp - 0x21], r15b
je 0x1400d87c0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400d87dc
cmp byte [rbp - 0x21], r15b
je 0x1400d87d9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400b9a74
test eax, eax
jne 0x1400d887c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400aeb18
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400d881b
cmp byte [rbp - 0x21], r15b
je 0x1400d8850
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400d8850
call fcn.1400cc390
test eax, eax
jne 0x1400d883c
cmp byte [rbp - 0x21], r15b
je 0x1400d8835
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400d8850
cmp byte [rbp - 0x21], r15b
je 0x1400d884d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400b9a74
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400d887c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400d887f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400d888d
mov rcx, rdi
call fcn.1400c9ac0
cmp byte [rbp + 0x3f], r15b
je 0x1400d889c
mov rcx, qword [rbp + 0x27]
call fcn.1400c9ac0
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400da000
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400da028
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400da028
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400020a8
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x140010240]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdi, rcx
lea rcx, [rsp + 0x24]
call fcn.140002bac
mov rcx, rax
call fcn.140002254
mov r8, rax
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140002a44
mov rcx, rax
call fcn.1400025f4
mov rcx, rax
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.140002650
cmp rbx, 0xffffffffffffffff
jne 0x140002127
xor al, al
jmp 0x140002230
lea rdx, [rbp - 0x24]
lea rcx, [rsp + 0x70]
call fcn.140002674
nop
lea rcx, [rsp + 0x20]
call fcn.140002bd4
mov rcx, rax
call fcn.1400022a0
mov r8, rax
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140002a44
nop
lea r8, [rsp + 0x70]
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140002ad8
nop
lea rcx, [rsp + 0x50]
call fcn.140002650
lea rcx, [rsp + 0x70]
test byte [rbp - 0x50], 0x10
je 0x1400021be
lea rdx, [0x14000d538]
call fcn.140002bf4
test al, al
jne 0x1400021e3
lea rcx, [rsp + 0x28]
call fcn.140002bfc
mov rcx, rax
call fcn.140002254
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140002bf4
test al, al
jne 0x1400021e3
lea rcx, [rbp - 0x70]
call fcn.1400020a8
jmp 0x1400021df
lea rdx, [0x1400109d8]
call fcn.140002c24
test al, al
jne 0x14000221a
lea rdx, [0x1400109f8]
lea rcx, [rsp + 0x70]
call fcn.140002c24
test al, al
jne 0x14000221a
lea rcx, [rbp - 0x70]
call fcn.140002650
nop
lea rcx, [rsp + 0x70]
call fcn.140002650
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140002127
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140002120
lea rcx, [rbp - 0x70]
call fcn.140002650
nop
lea rcx, [rsp + 0x70]
call fcn.140002650
mov al, 1
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14000b3d0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140003700
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140010240]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.140003b4c
lea rcx, [rsp + 0x30]
call fcn.140003c14
nop
lea rdi, [rbx + 8]
lea rcx, [rsp + 0x30]
call fcn.140001658
mov r9, rax
mov qword [rsp + 0x28], rdi
and dword [rsp + 0x20], 0
lea r8, [0x140003c60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140003792
lea rcx, [rsp + 0x30]
call fcn.140003b88
nop
lea rcx, [rsp + 0x30]
call fcn.140003ba4
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000b3d0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
and dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400038d4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140010240]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.140003b4c
lea rcx, [rsp + 0x30]
call fcn.140003e28
nop
lea rdi, [rbx + 8]
lea rcx, [rsp + 0x30]
call fcn.140001658
mov r9, rax
mov qword [rsp + 0x28], rdi
and dword [rsp + 0x20], 0
lea r8, [0x140003e58]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140003966
lea rcx, [rsp + 0x30]
call fcn.140003b54
nop
lea rcx, [rsp + 0x30]
call fcn.140003b70
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000b3d0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
and dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x140005750
Capabilities:
Check for debugger via api

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140010240]
xor rax, rsp
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x20], 0
setne al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14000b3d0
add rsp, 0x38
ret

Function at 0x140005d98
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x1a0
mov rax, qword [0x140010240]
xor rax, rsp
mov qword [rsp + 0x190], rax
xor edx, edx
lea ecx, [rdx + 2]
call fcn.140007cf0
mov rbx, rax
test rax, rax
jne 0x140005de8
lea rcx, [rsp + 0x20]
mov byte [0x1400109a0], 1
call fcn.1400068d8
mov rcx, rax
call fcn.1400022a0
mov rdx, rax
call fcn.140002648
jmp 0x140005dee
cmp rbx, 0xffffffffffffffff
je 0x140005e41
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x130
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140005e41
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x38]
call fcn.140002674
mov rcx, rax
call fcn.140005a2c
test al, al
jne 0x140005e5c
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140005e08
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14000b3d0
add rsp, 0x1a0
pop rbx
ret
lea rcx, [rsp + 0x28]
mov byte [0x1400109a0], 1
call fcn.1400068f8
mov rcx, rax
call fcn.140001830
mov rdx, rax
call fcn.140002648
mov al, 1
jmp 0x140005e43
Function at 0x140009ca0
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 [0x140010b50]
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 0x140009d04
mov eax, 0xa
jmp 0x140009d97
test esi, esi
je 0x140009d26
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 0x140009d49
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x140009d49
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x140009d42
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x140009d49
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 0x140009db0
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 [0x140010240]
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 sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140009eda
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x140009ed1
nop word [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x140009eb4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x140009eb4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x140009eb4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x140009e72
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x140010388]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x140009ed1
jmp 0x140009ea7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x140009ea7
mov rcx, qword [0x140010388]
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 0x140009ed1
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 sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x140009e20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x140009f33
cmp dword [rbx + 0xc], esi
jbe 0x140009f33
nop dword [rax]
nop dword [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 0x140009f2c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.14000a2a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x140009ef0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000b3d0
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 0x14000a450
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x14000a4bf
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x14000a4a8
mov qword [rsp + 0x38], rsi
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x14000a49c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x14000a470
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x140010388]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x413ea0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414019
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.0042e2a0
xorps xmm15, xmm15
mov r14, qword [0x005b8fb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x413f10
mov rbx, qword [rsp + 0x60]
jmp 0x413f20
add rsp, 0x48
pop rbp
ret
sub rax, rbx
add rcx, rbx
mov rbx, rax
nop
test rbx, rbx
jbe 0x413f45
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov rax, rbx
jmp 0x413f55
cmp rbx, 0x1000
jae 0x413f16
nop dword [rax]
jmp 0x413fc9
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
cmp rbx, 0x1000
jae 0x413f62
xor edx, edx
jmp 0x413fc0
mov qword [rsp + 0x30], rbx
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.0042e2a0
xorps xmm15, xmm15
mov r14, qword [0x005b8fb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov edx, eax
mov rax, qword [rsp + 0x38]
nop
test dl, dl
jne 0x413f4b
jmp 0x413f34
call fcn.00459320
xorps xmm15, xmm15
mov r14, qword [0x005b8fb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
cmp eax, 8
jne 0x414000
lea rax, [0x004c71f6]
mov ebx, 0xd
call fcn.00430a60
nop dword [rax]
cmp eax, 0x5af
je 0x413fe8
lea rax, [0x004cb76f]
mov ebx, 0x1f
call fcn.00430a60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00455c40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00413ea0
Function at 0x41c140
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41c35a
push rbp
mov rbp, rsp
sub rsp, 0x30
test rax, 7
jne 0x41c348
mov qword [rsp + 0x40], rax
mov rdx, qword [rdi + 0x50]
test byte [rdx], al
mov r9, r8
shr r9, 3
mov r10, r8
and r10d, 7
nop
mov r11, rcx
mov rcx, r10
mov r12d, 1
shl r12d, cl
lea r10, [rdx + r9]
cmp byte [0x005b8db2], 0
jne 0x41c281
cmp dword [0x005b92d4], 0
nop
jle 0x41c1c9
cmp qword [rdi + 0xa0], r8
ja 0x41c1c9
mov r8, qword [rdi + 0x48]
test byte [r8], al
movzx r8d, byte [r9 + r8]
nop
nop dword [rax + rax]
test r12b, r8b
je 0x41c2f8
movzx edx, byte [r9 + rdx]
test r12b, dl
jne 0x41c27b
nop
lock or byte [r10], r12b
mov rcx, qword [rdi + 0x18]
movabs rdx, 0x800000000000
add rdx, rcx
mov r8, rdx
shr rdx, 0x2a
nop
nop
nop
nop word [rax + rax]
cmp rdx, 0x40
jae 0x41c2eb
lea r9, [0x0058b198]
mov rdx, qword [r9 + rdx*8]
test byte [rdx], al
mov r9, rcx
shr r9, 0x10
and r9d, 0x3f
shr rcx, 0xd
and ecx, 7
mov r10d, 1
shl r10d, cl
shr r8, 0x16
and r8d, 0xfffff
mov rdx, qword [rdx + r8*8]
test byte [rdx], al
movzx r8d, byte [rdx + r9 + 0x11440]
lea rdx, [rdx + r9]
lea rdx, [rdx + 0x11440]
test r10b, r8b
jne 0x41c260
lock or byte [rdx], r10b
movzx edx, byte [rdi + 0x6a]
test dl, 1
je 0x41c2a2
mov rax, qword [rsi + 0x10]
add rax, qword [rdi + 0x70]
mov qword [rsi + 0x10], rax
add rsp, 0x30
pop rbp
ret
add rsp, 0x30
pop rbp
ret
mov qword [rsp + 0x60], rsi
mov rcx, r11
mov rdi, r10
mov esi, r12d
call fcn.00413ac0
test al, al
jne 0x41c2d8
mov rax, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x60]
prefetcht0 byte [rax]
mov rdx, qword [rsi]
test rdx, rdx
je 0x41c2c7
mov rdi, qword [rdx + 0x10]
cmp rdi, 0xfd
je 0x41c2c7
jae 0x41c2de
mov qword [rdx + rdi*8 + 0x18], rax
inc qword [rdx + 0x10]
jmp 0x41c2d2
mov rbx, rax
mov rax, rsi
call fcn.004216e0
add rsp, 0x30
pop rbp
ret
add rsp, 0x30
pop rbp
ret
mov rax, rdi
mov ecx, 0xfd
call fcn.00457ec0
mov rax, rdx
mov ecx, 0x40
call fcn.00457ee0
lea rax, [0x004c65a5]
mov rcx, rbx
mov rdi, r11
mov ebx, 4
call fcn.0041c3c0
lea rax, [0x004c646f]
mov ebx, 3
mov rcx, qword [rsp + 0x40]
mov rdi, 0xffffffffffffffff
call fcn.0041c3c0
mov rdx, qword [r14 + 0x30]
mov byte [rdx + 0xf9], 2
lea rax, [0x004c8400]
mov ebx, 0x13
call fcn.00430a60
lea rax, [0x004cc39a]
mov ebx, 0x23
call fcn.00430a60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call fcn.00455c40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
nop dword [rax + rax]
jmp fcn.0041c140