joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015570
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x1401d00b0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx]
lea rax, [rcx + rax - 1]
add rsp, 0x38
ret

Function at 0x140015970
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x38
mov r8d, 0x18
xor edx, edx
mov rcx, qword [0x1401d39b0]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x20], rax
mov r8d, 0x10
xor edx, edx
mov rcx, qword [0x1401d39b0]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x20]
mov qword [rcx], rax
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], 0x10
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x10], 0
mov rdx, qword [rsp + 0x20]
mov ecx, dword [0x1401d00b0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret

Function at 0x1400339d0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1c8
cmp dword [0x1401d3478], 0
jne 0x140033a75
mov rax, qword [sym.imp.msvcrt.dll_malloc]
mov dword [0x1401d3478], 1
mov qword [sub.msvcrt.dll_malloc], rax
mov rax, qword [sym.imp.msvcrt.dll_free]
mov qword [fcn.14000409c], rax
mov rax, qword [sym.imp.msvcrt.dll_realloc]
mov qword [0x1401d00c8], rax
lea rax, case.0x14003c387.0
mov qword [case.0x14003c387.11], rax
mov rax, qword [sym.imp.msvcrt.dll_calloc]
mov qword [case.0x14003c387.1], rax
call fcn.14003d9b0
test eax, eax
je 0x140033aa3
lea rdx, [rsp + 0x20]
mov ecx, 0x202
call qword [sym.imp.WSOCK32.DLL_WSAStartup]
test eax, eax
jne 0x140033aa3
movzx eax, word [rsp + 0x20]
cmp al, 2
jne 0x140033a9d
shr ax, 8
cmp al, 2
jne 0x140033a9d
call fcn.14003e070
test eax, eax
jne 0x140033aa3
mov dword [0x1401d347c], 3
lea rcx, [rsp + 0x1d0]
call fcn.1400357e0
mov rcx, qword [rsp + 0x1d0]
xor edx, edx
test eax, eax
cmovne rcx, rdx
mov rax, rcx
add rsp, 0x1c8
ret
call qword [sym.imp.WSOCK32.DLL_WSACleanup]
xor eax, eax
add rsp, 0x1c8
ret
Function at 0x140033e20
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1c0
mov eax, dword [0x1401d3478]
mov ebx, ecx
mov edx, eax
inc eax
mov dword [0x1401d3478], eax
test edx, edx
jne 0x140033ee7
mov rax, qword [sym.imp.msvcrt.dll_malloc]
mov qword [sub.msvcrt.dll_malloc], rax
mov rax, qword [sym.imp.msvcrt.dll_free]
mov qword [fcn.14000409c], rax
mov rax, qword [sym.imp.msvcrt.dll_realloc]
mov qword [0x1401d00c8], rax
lea rax, case.0x14003c387.0
mov qword [case.0x14003c387.11], rax
mov rax, qword [sym.imp.msvcrt.dll_calloc]
mov qword [case.0x14003c387.1], rax
test cl, 1
je 0x140033e97
call fcn.14003d9b0
test eax, eax
je 0x140033ef8
test bl, 2
je 0x140033eca
lea rdx, [rsp + 0x20]
mov ecx, 0x202
call qword [sym.imp.WSOCK32.DLL_WSAStartup]
test eax, eax
jne 0x140033ef8
movzx eax, word [rsp + 0x20]
cmp al, 2
jne 0x140033ef2
shr ax, 8
cmp al, 2
jne 0x140033ef2
call fcn.14003e070
test eax, eax
jne 0x140033ef8
mov eax, dword [0x1401d34dc]
test bl, 4
mov ecx, 1
cmovne eax, ecx
mov dword [0x1401d347c], ebx
mov dword [0x1401d34dc], eax
xor eax, eax
add rsp, 0x1c0
pop rbx
ret
call qword [sym.imp.WSOCK32.DLL_WSACleanup]
mov eax, 2
add rsp, 0x1c0
pop rbx
ret

Function at 0x140038c50
Capabilities:
Write file on windows

Disassembly:
mov rdx, qword [r8 + 0x10]
mov r9, rcx
or rax, 0xffffffffffffffff
mov qword [r8 + 0x18], rdx
nop
inc rax
cmp byte [rdx + rax], 0
jne 0x140038c60
test rax, rax
je 0x140038c7a
cmp byte [rdx + rax - 1], 0x2e
jne 0x140038c7a
mov byte [rdx + rax - 1], 0
mov rcx, qword [r8 + 0x10]
movzx eax, byte [rcx]
test al, al
je 0x140038ca4
lea rcx, [rcx + 1]
and al, 0x80
jne 0x140038c95
movzx eax, byte [rcx]
test al, al
jne 0x140038c85
ret
lea rdx, str.IDN_support_not_present__cant_parse_Unicode_domains_n
mov rcx, r9
jmp fcn.14003e630
ret
Function at 0x14003ed90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r10, qword [rcx + 0x258]
mov rdi, r9
mov rsi, r8
mov rbx, rcx
test r10, r10
je 0x14003edd3
mov rax, qword [rcx + 0x1a8]
mov qword [rsp + 0x20], rax
call r10
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp edx, 2
ja 0x14003ee18
mov r9, qword [rbx + 0x1a0]
movsxd rax, edx
mov edx, 2
lea rcx, [rax + rax*2]
lea rax, [0x140072fc8]
lea r8d, [rdx - 1]
add rcx, rax
call qword [sym.imp.msvcrt.dll_fwrite]
mov r9, qword [rbx + 0x1a0]
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fwrite]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x140041dd0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x798]
mov rsi, rdx
mov rdi, rcx
test rbx, rbx
je 0x140041e3d
mov rax, qword [rcx + 0x80]
test rax, rax
jne 0x140041e03
cmp qword [rcx + 0x78], rax
je 0x140041e3d
mov qword [rsp + 0x20], rbx
mov byte [rsp + 0x28], 0
test rax, rax
jne 0x140041e16
mov rax, qword [rcx + 0x78]
mov rcx, qword [rax + 0x60]
lea r8, [0x140042d50]
lea rdx, [rsp + 0x20]
call fcn.14004ac50
cmp byte [rsp + 0x28], 0
jne 0x140041e51
mov qword [rdi + 0x798], 0
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
test rsi, rsi
je 0x140041e59
mov qword [rsi], rbx
cmp byte [rbx + 0x1f0], 0
mov rdi, qword [rbx + 0x1a8]
je 0x140041e77
mov rcx, rbx
call fcn.14003d340
test eax, eax
jne 0x140041e93
jmp 0x140041e3d
mov r9d, 2
lea rdx, [rsp + 0x40]
mov rcx, rdi
lea r8d, [r9 - 1]
call qword [sym.imp.WSOCK32.DLL_recv]
test eax, eax
je 0x140041e3d
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rax, rdi
add rsp, 0x30
pop rdi
ret

Function at 0x140042400
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0xd0
mov dword [rax + 0x18], 0x4020
mov dword [rax + 0x10], 0
mov dword [rax + 0x20], 4
mov eax, dword [0x1401d34a0]
mov rbx, rcx
test eax, eax
jne 0x140042495
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x9c
call sub.msvcrt.dll_memset
mov r8b, 3
mov edx, 2
xor ecx, ecx
mov dword [rsp + 0x30], 0x9c
mov dword [rsp + 0x34], 6
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
test eax, eax
je 0x140042489
mov dword [0x1401d34a0], 2
add rsp, 0xd0
pop rbx
ret
mov dword [0x1401d34a0], 1
jmp 0x14004249a
cmp eax, 2
je 0x1400424fb
lea rax, [rsp + 0xf8]
lea r9, [rsp + 0xe8]
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WSOCK32.DLL_getsockopt]
test eax, eax
jne 0x1400424d7
mov eax, dword [rsp + 0xf0]
cmp dword [rsp + 0xe8], eax
jg 0x1400424fb
lea r9, [rsp + 0xf0]
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
mov dword [rsp + 0x20], 4
call qword [sym.imp.WSOCK32.DLL_setsockopt]
add rsp, 0xd0
pop rbx
ret
Function at 0x14005e320
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp dword [0x1401d3530], 0
mov r14, rdx
mov r15, rcx
lea rbx, [0x1401d3540]
jne 0x14005e36d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, rbx
mov dword [0x1401d3568], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x1401d3530], 1
mov ecx, dword [0x1401d3568]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x14005e442
mov rcx, qword [0x1401d2400]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x14005e46d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1401d3538]
test rax, rax
je 0x14005e3bd
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x1401d3538], rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rbp + 0x20]
mov r8, rdi
mov rcx, rax
mov rdx, rbx
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x18]
lea r8, [0x14005e488]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov ecx, dword [0x1401d3568]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x1401d2400]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14005e46d
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140027ddc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
lea r14, [rcx + 0x18]
mov rbx, rcx
mov edx, 1
mov r8, r14
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x140027e30
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
lea r8, [0x1400c3150]
lea edx, [r9 + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
mov rdi, rax
test rax, rax
jne 0x140089c98
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rcx, qword [rbx + 0x10]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140027e30
mov rcx, qword [rbx + 0x10]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x140027e30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140027e30
mov rcx, qword [r14]
xor r9d, r9d
mov r8d, edi
mov r10, qword [rcx]
mov rdx, rax
call qword [r10 + reloc.OLEAUT32.dll_RegisterActiveObject]
mov rcx, qword [r14]
and dword [rsp + 0x30], 0
and dword [rsp + 0x34], 0
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
call qword [rax + SafeArrayCreateEx]
mov byte [rbx + 0x20], 1
jmp 0x140027e30
Function at 0x140059040
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov edx, 1
mov rbx, rcx
lea r8d, [rdx + 7]
cmp dword [rcx + 0x1c], edx
jne 0x140059071
mov edx, dword [rcx + 0x14]
add rdx, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.140028c50
jmp 0x14005907f
mov r9, qword [rcx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.14002cc44
movzx ecx, byte [rsp + 0x34]
movzx eax, byte [rsp + 0x35]
add dword [rbx + 0x14], 8
shl ecx, 8
lea rdx, str.EA06
xor ebx, ebx
or ecx, eax
movzx eax, byte [rsp + 0x36]
mov byte [rsp + 0x34], bl
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x37]
shl ecx, 8
or ecx, eax
mov dword [rdi], ecx
lea rcx, [rsp + 0x30]
call fcn.14002cd20
test eax, eax
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140059178
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
test dword [rcx + 0x484], 0xfffeffff
mov rbx, rcx
jne 0x1400591af
mov r9, qword [rcx + 0x28]
mov rcx, qword [rcx + 0x478]
mov edx, 1
mov r8d, 0x10000
call fcn.14002cc44
and dword [rbx + 0x484], 0
movsxd rdx, dword [rbx + 0x484]
mov rax, qword [rbx + 0x478]
mov al, byte [rdx + rax]
lea ecx, [rdx + 1]
mov dword [rbx + 0x484], ecx
add rsp, 0x20
pop rbx
ret

Function at 0x1400591d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x480]
mov rax, qword [rcx + 0x470]
mov rbx, rcx
mov byte [r8 + rax], dl
mov edx, 1
mov r8d, 0x10000
add dword [rcx + 0x480], edx
cmp dword [rcx + 0x480], r8d
jne 0x14005921c
mov r9, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x470]
call fcn.14002b4a0
and dword [rbx + 0x480], 0
add rsp, 0x20
pop rbx
ret

Function at 0x140059224
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
movsxd rax, dword [rcx + 0x480]
mov rbx, rcx
test eax, eax
je 0x140059257
mov r9, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x470]
mov r8, rax
mov edx, 1
call fcn.14002b4a0
and dword [rbx + 0x480], 0
add rsp, 0x20
pop rbx
ret

Function at 0x140059464
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x100
lea rcx, [rsp + 0x20]
mov ebx, r9d
mov esi, r8d
mov rdi, rdx
call fcn.140059260
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1400592bc
test esi, esi
je 0x1400594af
mov ebx, esi
lea rcx, [rsp + 0x20]
call fcn.14005942c
xor byte [rdi], al
inc rdi
dec rbx
jne 0x14005949b
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x180002b40
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 0x180002b9d
lea rbx, [0x180041a20]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180002b84
cmp r10, 2
jb 0x180002b84
cmp byte [r9], r8b
jne 0x180002b84
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 0x180002b60
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180002bdf
lea rbx, [0x180041a20]
cmp r8b, 0x23
jne 0x180002bc3
cmp byte [r9], r8b
jne 0x180002bc3
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 0x180002bb0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180002d20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180002d3a
mov qword [r8], 0
lea rdx, [0x180041624]
call fcn.180002bf0
mov rbx, rax
test rax, rax
jne 0x180002d5a
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 0x180002e33
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 0x180002e33
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180002e33
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 0x180002e33
cmp rdi, 0xffffffffffffffff
je 0x180002e33
mov rax, qword [0x1800d3480]
test rax, rax
je 0x180002dd0
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 0x180002e33
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 0x180002e20
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800d3480]
test rax, rax
je 0x180002e15
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180002e3c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180002e2e
mov qword [r14], rdi
mov rax, rsi
jmp 0x180002e3e
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 0x1800050d0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd8]
lea r8, [0x180041a20]
movsxd rcx, dword [rcx + 0xd0]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x1800d3480]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x180005165
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.1800174f0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180011310
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800b3040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1800d3480]
mov edi, ecx
cmp byte [rbx + 0x4a15], 0
jne 0x180011371
cmp byte [rbx + 0x4a16], 0
jne 0x180011371
movsx r9d, word [rbx + 0x5b0a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180002ac0
test dil, 1
je 0x180011498
jmp 0x1800113fc
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b0a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1800aa354]
mov edx, 0x10
mulss xmm1, dword [0x1800aa348]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4778], rax
mov dword [rbx + 0x4764], 1
movss dword [rbx + 0x4770], xmm0
movss dword [rbx + 0x4774], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x1800aa2d4]
or dword [rbx + 0x4760], 0x41
movss dword [rbx + 0x47c0], xmm0
call fcn.180002ac0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180011450
lea r11, [0x180041a20]
nop dword [rax]
cmp r9b, 0x23
jne 0x180011433
cmp byte [r8], r9b
jne 0x180011433
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 0x180011420
not ecx
call fcn.18000a5d0
test rax, rax
je 0x180011498
cmp byte [rax + 0x96], 0
je 0x180011498
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b0a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b0a]
call fcn.180002ac0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.18000cde0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18003d350
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180015d90
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 + 0x5bb8], 0
lea rbx, [rcx + 0x5bc0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180015e37
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x180015dea
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.180018150
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180003210
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5bb8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5bc8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1800d3478]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x180015e3f
mov rcx, rbx
call fcn.180003210
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800163b0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800d3480]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180016413
mov qword [rsp], rbx
lea rbx, [0x180041a20]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800163f3
cmp byte [r8], r9b
jne 0x1800163f3
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 0x1800163e0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b68]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180016447
mov r10, qword [r10 + 0x5b70]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18001644e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180016434
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 0x180033dc0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1800b3040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, rdx
test rdx, rdx
je 0x180033e6f
xor edi, edi
xor edx, edx
mov ecx, 2
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180033e6f
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x180033e62
nop word [rax + rax]
mov rdx, rbp
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x180033e50
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jbe 0x180033e50
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180033e30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x180033e71
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18003d350
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180036da0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1800b3040]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov ecx, 2
xor edi, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180036e39
xor edx, edx
mov dword [rsp + 0x20], 0x130
mov r8d, 0x12c
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x180036e30
lea rdx, str.HD_Player.exe
lea rcx, [rsp + 0x4c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x180036e2c
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180036e03
jmp 0x180036e30
mov edi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18003d350
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret