joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001d00
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x58
mov rax, qword [0x180057040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r13d, r13d
mov r12d, edx
mov qword [rcx], r13
mov rbx, rcx
mov qword [rcx + 8], r13
xor edx, edx
mov ecx, 4
mov r15d, r8d
mov edi, r13d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180001ef7
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180001e46
mov edi, 1
cmp dword [rsp + 0x20], 0x10
jb 0x180001e00
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180001e00
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180001e00
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180001dc2
mov rcx, qword [0x180cc1520]
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 0x180001e29
jmp 0x180001df3
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180001df3
mov rcx, qword [0x180cc1520]
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 0x180001e29
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 0x180001d70
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x180001e46
mov r8, qword [rbx]
mov edi, r13d
test r8, r8
je 0x180001e46
mov rcx, qword [0x180cc1520]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x180001ef7
cmp qword [rbx], r13
je 0x180001ef2
mov edi, r13d
cmp dword [rbx + 0xc], r13d
jbe 0x180001ef2
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0x50], r14
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, edi
mov ecx, 0x5a
lea r14, [rax*4]
mov r8d, dword [r8 + r14]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
mov ebp, r13d
test rax, rax
je 0x180001ed7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x180001eca
mov r8d, r15d
mov edx, r12d
mov rcx, rsi
mov ebp, 1
call fcn.180001b50
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
jne 0x180001ede
mov rcx, qword [rbx]
mov dword [r14 + rcx], r13d
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x180001e80
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0xa0]
mov eax, r13d
jmp 0x180001efc
mov eax, 9
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18002d080
add rsp, 0x58
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x180001f20
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180057040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov r8d, 0x40
add rbx, qword [0x180cc1b70]
mov rdx, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [rdx - 5]
cmove rdi, rdx
lea rsi, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180001f89
mov eax, 0xa
jmp 0x180001fd6
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 0x180001fa5
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rbx + 0x20], 6
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18002d080
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180002000
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
mov edx, dword [0x180cc1b7c]
xor ebx, ebx
test edx, edx
je 0x18000202f
mov rcx, qword [0x180cc1b70]
add rcx, 0x20
nop dword [rax]
test byte [rcx], 2
je 0x180002037
inc ebx
add rcx, 0x38
cmp ebx, edx
jb 0x180002020
xor eax, eax
add rsp, 0x30
pop rbx
ret
cmp ebx, 0xffffffff
je 0x18000202f
mov edx, 0xffffffff
mov qword [rsp + 0x50], rdi
mov r8d, 1
lea rcx, [rsp + 0x20]
call fcn.180001d00
mov edi, eax
test eax, eax
jne 0x180002119
mov eax, dword [0x180cc1b7c]
cmp ebx, eax
jae 0x18000209d
nop word [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x180cc1b70]
test byte [rdx + rcx + 0x20], 2
jne 0x180002097
mov ecx, ebx
call fcn.180001f20
mov edi, eax
test eax, eax
jne 0x18000209d
mov eax, dword [0x180cc1b7c]
inc ebx
cmp ebx, eax
jb 0x180002070
cmp qword [rsp + 0x20], 0
je 0x180002117
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180002103
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
mov qword [rsp + 0x48], rsi
nop
mov r8d, dword [rbx]
test r8d, r8d
je 0x1800020ef
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800020ef
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 0x1800020c0
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180cc1520]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret
Function at 0x18002cb90
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x18002cbc5
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18002c750
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18002cd34
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18002ccac
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18002cd23
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x18002cce9
mov r10, qword [rdx]
cmp r10, rax
je 0x18002cce3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x18002cd23
cmp r9, rdx
je 0x18002ccff
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x18002cd45
cmp r9, rdx
jne 0x18002ccf0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x18002cc30
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18002cd23

Function at 0x18002cd80
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18002cda8
xor eax, eax
lea r8, [0x18002cd70]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x18002e020
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18002e05a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18002e05f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18002e0a8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180030510]
cmp byte [rcx + rax], 0
je 0x18002e0a8
dec r8
sub rdx, 1
jne 0x18002e08e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400042e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000433d
lea rbx, [0x140161eb0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140004324
cmp r10, 2
jb 0x140004324
cmp byte [r9], r8b
jne 0x140004324
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140004300
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000437f
lea rbx, [0x140161eb0]
cmp r8b, 0x23
jne 0x140004363
cmp byte [r9], r8b
jne 0x140004363
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140004350
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400044c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400044da
mov qword [r8], 0
lea rdx, [0x140161a18]
call fcn.140004390
mov rbx, rax
test rax, rax
jne 0x1400044fa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400045d3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400045d3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400045d3
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400045d3
cmp rdi, 0xffffffffffffffff
je 0x1400045d3
mov rax, qword [0x1402557b0]
test rax, rax
je 0x140004570
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400045d3
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x1400045c0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1402557b0]
test rax, rax
je 0x1400045b5
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400045dc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400045ce
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400045de
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140007670
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x140161eb0]
movsxd rcx, dword [rcx + 0xf0]
mov eax, edx
shr eax, 0x10
mov r10d, edx
movzx r9d, al
mov eax, edx
shr eax, 8
movzx r8d, al
mov rax, qword [r11 + 0xf8]
shr r10d, 0x18
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r8
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r9
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x3f38], ebx
jne 0x140007700
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001a290
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140007710
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x110]
lea r10, [0x140161eb0]
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 0x140013f30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401831c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1402557b0]
mov edi, ecx
cmp byte [rbx + 0x4a7d], 0
jne 0x140013f91
cmp byte [rbx + 0x4a7e], 0
jne 0x140013f91
movsx r9d, word [rbx + 0x5b8a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140004140
test dil, 1
je 0x1400140bf
jmp 0x14001401c
movss xmm1, dword [rbx + 0x38bc]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b8a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140168364]
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x140168350]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47e0], rax
mov dword [rbx + 0x47cc], 1
movss dword [rbx + 0x47d8], xmm0
movss dword [rbx + 0x47dc], xmm1
movss xmm0, dword [rbx + 0x3924]
mulss xmm0, dword [0x1401682c4]
or dword [rbx + 0x47c8], 0x41
movss dword [rbx + 0x4828], xmm0
call fcn.140004140
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140014070
lea r11, [0x140161eb0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140014053
cmp byte [r8], r9b
jne 0x140014053
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 0x140014040
not ecx
call fcn.14000b670
test rax, rax
je 0x1400140bf
cmp byte [rax + 0xb6], 0
je 0x1400140bf
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, reloc.WS2_32.dll_recv
inc word [rbx + 0x5b8a]
movsx r9d, word [rbx + 0x5b8a]
call fcn.140004140
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000dd60
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14012cb00
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140018bb0
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 + 0x5c70], 0
lea rbx, [rcx + 0x5c78]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140018c57
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140018c0a
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.14001af00
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400049e0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c70]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c80]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1402557a8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140018c5f
mov rcx, rbx
call fcn.1400049e0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140018ff0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1402557b0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140019053
mov qword [rsp], rbx
lea rbx, [0x140161eb0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140019033
cmp byte [r8], r9b
jne 0x140019033
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 0x140019020
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5be8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140019087
mov r10, qword [r10 + 0x5bf0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001908e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140019074
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 0x140036d20
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x60
mov qword [rsp + 0x30], rdx
mov rbx, rcx
mov rdx, qword [0x1402557b0]
mov rax, qword [rdx + 0x3ef0]
mov byte [rax + 0xb8], 1
mov rax, qword [rdx + 0x3ef0]
cmp byte [rax + 0xbb], 0
je 0x140036d5b
xor al, al
add rsp, 0x60
pop rbx
ret
mov byte [rax + 0xb8], 1
lea rcx, str.discord
mov rax, qword [rdx + 0x3ef0]
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x80], 0x41f00000
mov dword [rsp + 0x84], 0x41f00000
movss xmm1, dword [rax + 0x20]
movss xmm0, dword [rax + 0x24]
subss xmm1, dword [rax + 0x84]
subss xmm0, dword [rax + 0x88]
mov byte [rax + 0x141], 1
addss xmm1, dword [rsp + 0x30]
addss xmm0, dword [rsp + 0x34]
movss dword [rax + 0x100], xmm1
movss dword [rax + 0x104], xmm0
call fcn.14002dcb0
mov rdx, qword [0x1402557b0]
lea r9, [rsp + 0x88]
movzx edi, al
mov dword [rsp + 0x88], 0x3f800000
lea rax, [rsp + 0x40]
mov dword [rsp + 0x8c], 0x3f800000
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x38]
mov rcx, qword [rdx + 0x3ef0]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x20], rax
mov byte [rcx + 0xb8], 1
mov rcx, qword [rdx + 0x3ef0]
lea rdx, [rsp + 0x80]
movss xmm1, dword [rcx + 0x20]
movss xmm0, dword [rcx + 0x24]
subss xmm1, dword [rcx + 0x84]
subss xmm0, dword [rcx + 0x88]
mov byte [rcx + 0x141], 1
addss xmm1, dword [rsp + 0x30]
addss xmm0, dword [rsp + 0x34]
movss dword [rcx + 0x100], xmm1
movdqa xmm1, xmmword [0x1401688f0]
movss dword [rcx + 0x104], xmm0
xorps xmm0, xmm0
mov rcx, qword [0x140256200]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm1
call fcn.14002e8c0
test dil, dil
je 0x140036ec5
mov dword [rsp + 0x28], 1
lea rdx, str.open
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
movzx eax, dil
mov rdi, qword [rsp + 0x70]
add rsp, 0x60
pop rbx
ret
Function at 0x140044420
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x13f0
call fcn.14012d5d0
sub rsp, rax
mov rax, qword [0x1401831c0]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
movsxd rbx, edx
mov r15, rcx
mov qword [rsp + 0x28], rcx
xor r12d, r12d
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov r8d, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
mov ecx, 1
nop word [rax + rax]
mov eax, r8d
shr eax, 0x1e
xor eax, r8d
imul r8d, eax, 0x6c078965
add r8d, ecx
mov dword [rsp + rcx*4 + 0x54], r8d
inc rcx
cmp rcx, 0x270
jb 0x140044480
mov dword [rsp + 0x50], 0x270
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.0123456789ABCDE
lea rcx, [rsp + 0x30]
call fcn.140037f90
nop
mov ebp, dword [rsp + 0x40]
dec ebp
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15], r12
mov qword [r15 + 8], r12
mov qword [r15 + 0x10], r12
test rbx, rbx
je 0x140044563
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x14004466d
cmp rbx, 0x1000
jb 0x14004453b
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140044667
call fcn.14012cee0
test rax, rax
je 0x140044534
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x140044546
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14012cee0
mov rcx, rax
mov qword [r15], rcx
lea rax, [rcx + rbx]
mov qword [r15 + 0x10], rax
lea r12, [rcx + rbx]
mov r8, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [r15 + 8], r12
mov rsi, qword [r15]
mov r13, qword [rsp + 0x48]
mov r14, qword [rsp + 0x30]
cmp rsi, r12
je 0x1400445ff
mov eax, 0x80000000
xor ebp, eax
lea rcx, [rsp + 0x50]
cmp ebp, 0x7fffffff
jne 0x140044596
call fcn.14004bd40
mov ecx, eax
jmp 0x1400445d8
lea ebx, [rbp - 0x7fffffff]
call fcn.14004bd40
mov edi, ebx
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jae 0x1400445d4
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x1400445d4
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.14004bd40
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x1400445c0
shr rcx, 0x20
mov edx, 0x80000000
lea eax, [rcx + rdx]
xor eax, edx
lea rcx, [rsp + 0x30]
cmp r13, 0xf
cmova rcx, r14
cdqe
movzx ecx, byte [rax + rcx]
mov byte [rsi], cl
inc rsi
cmp rsi, r12
jne 0x140044580
cmp r13, 0xf
jbe 0x140044639
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140044631
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044631
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14012d234
mov rax, r15
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.14012cb00
mov rbx, qword [rsp + 0x1440]
add rsp, 0x13f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140003700
nop
call fcn.140034730
int3