joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140033b7c
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.14001b0fc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140033c06
cmp byte [rbp - 0x21], r15b
je 0x140033c01
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140033c3c
call fcn.14001a828
test eax, eax
jne 0x140033c28
cmp byte [rbp - 0x21], r15b
je 0x140033c20
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140033c3c
cmp byte [rbp - 0x21], r15b
je 0x140033c39
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.1400247bc
test eax, eax
jne 0x140033cdc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001b0fc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140033c7b
cmp byte [rbp - 0x21], r15b
je 0x140033cb0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140033cb0
call fcn.14001a828
test eax, eax
jne 0x140033c9c
cmp byte [rbp - 0x21], r15b
je 0x140033c95
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140033cb0
cmp byte [rbp - 0x21], r15b
je 0x140033cad
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.1400247bc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140033cdc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140033cdf
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140033ced
mov rcx, rdi
call fcn.140018204
cmp byte [rbp + 0x3f], r15b
je 0x140033cfc
mov rcx, qword [rbp + 0x27]
call fcn.140018204
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 0x140034270
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140034298
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140034298
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x100060d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
sub rsp, 0x48
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov qword [rax - 0x18], r14
mov r13, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rdx], r14d
xor eax, eax
mov r8, 0xffffffffffffffff
mov rcx, r8
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
movsxd rsi, ecx
lea eax, [rcx + rcx*4]
add eax, eax
movsxd rcx, eax
shr rcx, 1
mov eax, 2
mul rcx
mov rdi, rax
cmovo rdi, r8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], 2
mov rdx, rdi
xor ecx, ecx
call qword [0x10014218]
mov r12, rax
test ebp, ebp
jne 0x10008560
test r12, r12
je 0x1000857c
lea r8, [r12 + rsi*8]
mov eax, dword [r13]
mov qword [r12 + rax*8], r8
lea r11d, [rax + 1]
mov dword [r13], r11d
mov ecx, r14d
nop
nop
nop
movzx eax, word [rbx]
cmp ax, 0x22
je 0x10008583
mov word [r8], ax
add r8, 2
movzx eax, word [rbx]
add rbx, 2
test ax, ax
je 0x1000859a
test ecx, ecx
jne 0x10006190
cmp ax, 0x20
je 0x100061c5
cmp ax, 9
jne 0x10006190
mov word [r8 - 2], 0
mov r10d, r14d
nop
cmp word [rbx], 0
je 0x100062bd
movzx eax, word [rbx]
cmp ax, 0x20
je 0x10006255
cmp ax, 9
je 0x10006255
test ax, ax
je 0x100062bd
mov eax, r11d
mov qword [r12 + r11*8], r8
add r11d, 1
mov dword [r13], r11d
mov r9d, 1
mov ecx, r14d
cmp word [rbx], 0x5c
je 0x10006260
cmp word [rbx], 0x22
je 0x10006282
test ecx, ecx
jne 0x1000626f
movzx eax, word [rbx]
test ax, ax
je 0x10006246
test r10d, r10d
jne 0x10006233
cmp ax, 0x20
je 0x10006246
cmp ax, 9
je 0x10006246
test r9d, r9d
je 0x10006240
mov word [r8], ax
add r8, 2
add rbx, 2
jmp 0x10006201
mov word [r8], 0
add r8, 2
jmp 0x100061d0
add rbx, 2
jmp 0x100061da
add rbx, 2
add ecx, r9d
cmp word [rbx], 0x5c
jne 0x10006210
jmp 0x10006260
mov edx, ecx
mov rdi, r8
mov eax, 0x5c
rep stosw word [rdi], ax
lea r8, [r8 + rdx*2]
jmp 0x1000621a
mov eax, ecx
cdq
and eax, r9d
xor eax, edx
cmp eax, edx
jne 0x100062a4
test r10d, r10d
je 0x100062b2
cmp word [rbx + 2], 0x22
je 0x100085a3
mov r9d, r14d
mov r10d, r14d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
jmp 0x10006216
mov r9d, r14d
mov r10d, 1
jmp 0x100062a4
mov qword [r12 + r11*8], r14
mov rax, r12
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x40]
mov r13, qword [rsp + 0x38]
mov r14, qword [rsp + 0x30]
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10006164
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
jmp 0x10006164
xor eax, eax
jmp 0x100062c4
mov eax, r14d
test ecx, ecx
sete al
mov ecx, eax
mov ax, 0x22
add rbx, 2
jmp 0x100061b5
sub rbx, 2
jmp 0x100061cc
add rbx, 2
jmp 0x100062a1
Function at 0x10007510
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x10015150], rbx
je 0x10007566
cmp rax, rbx
jne 0x10007559
mov edi, 1
jmp 0x10007566
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10007540
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x1000757b
lea ecx, [rax + 0x1e]
call sub.MSVCR80.dll__amsg_exit
jmp 0x100075ba
mov eax, dword [0x10015148]
test eax, eax
jne 0x100075b0
mov dword [0x10015148], 1
lea rdx, [0x100014d0]
lea rcx, [0x100014b8]
call sub.MSVCR80.dll__initterm_e
test eax, eax
je 0x100075ba
mov eax, 0xff
jmp 0x10007714
mov dword [0x10014314], 1
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x100075e2
lea rdx, [0x100014b0]
lea rcx, [0x10001470]
call sub.MSVCR80.dll__initterm
mov dword [0x10015148], 2
test edi, edi
jne 0x100075ef
xor eax, eax
xchg qword [0x10015150], rax
cmp qword [0x10015168], 0
je 0x10007618
lea rcx, [0x10015168]
call fcn.10007b90
test eax, eax
je 0x10007618
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x10015168]
mov rax, qword [sym.imp.MSVCR80.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
nop
nop
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x100076aa
test cl, cl
je 0x10007640
test edi, edi
jne 0x100076aa
movzx eax, byte [rbx]
test al, al
je 0x10007656
cmp al, 0x20
ja 0x10007656
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007640
test byte [rsp + 0x6c], 1
je 0x10007665
movzx r9d, word [rsp + 0x70]
jmp 0x1000766b
mov r9d, 0xa
mov r8, rbx
xor edx, edx
lea rcx, [0x10000000]
call fcn.10005300
mov dword [0x10014310], eax
cmp dword [0x100142f4], 0
jne 0x10007693
mov ecx, eax
call qword [sym.imp.MSVCR80.dll_exit]
cmp dword [0x10014314], 0
jne 0x100076a8
call qword [sym.imp.MSVCR80.dll__cexit]
mov eax, dword [0x10014310]
jmp 0x1000770d
cmp cl, 0x22
jne 0x100076bc
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, cl
call qword [sym.imp.MSVCR80.dll__ismbblead]
test eax, eax
je 0x100076d2
add rbx, 1
mov qword [rsp + 0x28], rbx
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007630
jmp 0x10007714
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.100a5000
add rsp, 0x28
jmp 0x10007510
Function at 0x10007d77
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x10014030]
jne 0x1000788a
rol rcx, 0x10
test cx, 0xffff
jne 0x10007886
repz ret
ror rcx, 0x10
jmp 0x10007cd0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100143d0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x100144c8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10007d55
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x100143d0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x10007d77
mov rax, qword [rsp + 0x88]
mov qword [0x100144c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x10014468], rax
mov rax, qword [0x100144c8]
mov qword [0x10014340], rax
mov rax, qword [rsp + 0x90]
mov qword [0x10014450], rax
mov dword [0x10014330], 0xc0000409
mov dword [0x10014334], 1
mov rax, qword [0x10014030]
mov qword [rsp + 0x68], rax
mov rax, qword [0x10014038]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x100143c8], eax
mov ecx, 1
call sub.MSVCR80.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x10001510]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x100143c8], 0
jne 0x10007dfe
mov ecx, 1
call sub.MSVCR80.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x100091e0
Capabilities:
Set registry value

Disassembly:
push rbx
push rdi
mov r11, rsp
sub rsp, 0x58
xor ebx, ebx
lea rax, [r11 + 0x30]
mov rdx, rcx
mov qword [r11 - 0x18], rbx
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], rbx
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
je 0x10009226
xor eax, eax
jmp 0x10009279
lea rdi, [0x10001610]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x88]
lea rdx, [0x10003e98]
lea eax, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov edi, 1
mov r9d, edi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
jne 0x10009269
mov ebx, edi
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x58
pop rdi
pop rbx
ret

Function at 0x10009280
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
push rdi
sub rsp, 0x28
lea rdi, [0x10001858]
mov ebx, 0x1505
mov ax, 0x4e
movzx ecx, ax
call qword [sym.imp.MSVCR80.dll_towupper]
add rdi, 2
movzx r11d, ax
movzx eax, word [rdi]
imul ebx, ebx, 0x21
xor ebx, r11d
test ax, ax
jne 0x10009297
mov eax, ebx
add rsp, 0x28
pop rdi
pop rbx
ret
Function at 0x1000ab30
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
cmp dword [0x1001404c], 0xffffffff
mov esi, edx
mov edi, ecx
jne 0x1000ab62
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, eax
mov eax, 0xffffffff
lock cmpxchg dword [0x1001404c], ecx
je 0x1000ab62
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov ecx, dword [0x1001404c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x1000abd4
test esi, esi
je 0x1000abd4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, 0x90
xor edx, edx
mov rcx, rax
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbx, rax
jne 0x1000abb8
cmp edi, 9
je 0x1000abdf
cmp edi, 6
je 0x1000abdf
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xc0000017
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov r8, rsi
xor edx, edx
mov rcx, rbx
call sub.MSVCR80.dll_memset
mov ecx, dword [0x1001404c]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rax, rbx
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
xor eax, eax
jmp 0x1000abd7

Function at 0x1000cef0
Capabilities:
Delete registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rsi, rdx
mov rbp, rcx
xor eax, eax
lea r8, [rax - 1]
mov rcx, r8
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r12d, [rax + 1]
sub rcx, r12
lea rbx, [r12 + rcx]
test rdx, rdx
je 0x1000cf40
mov rcx, r8
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r12
lea rbx, [rbx + rcx + 1]
mov eax, 2
mul rbx
cmovo rax, r8
lea rdx, [0x10001838]
mov rcx, rax
call fcn.1000c6f0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0
xor edx, edx
mov rcx, rax
call fcn.100091d0
xor ecx, ecx
test eax, eax
cmove ecx, r12d
mov dword [rsp + 0x30], ecx
mov rcx, qword [rsp + 0x28]
test rcx, rcx
jne 0x1000cf8d
lea edi, [rcx + 8]
jmp 0x1000cfd8
mov r8, rbp
mov rdx, rbx
call qword [sym.imp.MSVCR80.dll_wcscpy_s]
test rsi, rsi
je 0x1000cfc4
lea r8, [0x10003e44]
mov rdx, rbx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCR80.dll_wcscat_s]
mov r8, rsi
mov rdx, rbx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCR80.dll_wcscat_s]
mov rdx, qword [rsp + 0x28]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
lea rcx, [rsp + 0x28]
call fcn.1000c9b0
mov eax, edi
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1000d580
Capabilities:
Delete registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0xc8
mov rax, qword [0x10014030]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movdqu xmm0, xmmword [rcx]
mov rbp, rdx
mov rsi, r8
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
mov r8d, 0x40
movdqu xmmword [rsp + 0x20], xmm0
mov rbx, r9
call fcn.1000abf0
xor eax, eax
lea rcx, [rax - 1]
lea rdi, [rsp + 0x30]
repne scasw ax, word [rdi]
not rcx
add rcx, 6
cmp rcx, 0x40
jbe 0x1000d5eb
mov eax, 0x80070057
jmp 0x1000d69a
lea r8, [0x10003ed8]
mov edx, 0x40
mov rcx, rbx
call qword [sym.imp.MSVCR80.dll_wcscpy_s]
lea r8, [rsp + 0x30]
mov edx, 0x40
mov rcx, rbx
call qword [sym.imp.MSVCR80.dll_wcscat_s]
lea rdx, [0x10003ef8]
mov rcx, rsi
call fcn.1000cef0
lea rdx, [0x10003ee8]
mov rcx, rsi
call fcn.1000cef0
mov rdi, 0xffffffff80000000
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rdx, [0x10003ee8]
mov rcx, rbp
call fcn.1000cef0
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rdx, [0x10003f08]
mov rcx, rbx
call fcn.1000cef0
lea rdx, [0x10003f18]
mov rcx, rbx
call fcn.1000cef0
lea rdx, [0x10003f50]
mov rcx, rbx
call fcn.1000cef0
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.10007870
add rsp, 0xc8
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140133263
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rbp - 0xc], 0x7d73602a
mov dword [rbp - 0x5c], 0xf6f6f6f6
mov dword [rbp - 8], 0x2a766b7f
jmp 0x1401332d9
mov dword [rbp - 0x18], 0x2a6f756b
mov dword [rbp - 0x68], 0xf6f6f6f6
mov dword [rbp - 0x14], 0x6f7c7f7d
mov dword [rbp - 0x64], 0xf6f6f6f6
mov dword [rbp - 0x10], 0x6f727e2a
mov dword [rbp - 0x60], 0xf6f6f6f6
je 0x1401331ec
jne 0x1401331ec
jne 0x140133f0a
jmp rcx
jmp 0x1401330cf
div dh
jne 0x140133288
je 0x140133288
call rcx
rcr ecx, 0x3c
int3
jmp 0x1401331aa
mov dword [rbp - 0x58], 0xf6f6f6f6
mov dword [rbp - 4], 0x2a35354d
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
popfq
imul ebp, dword [rsi], 0xffffffce
push rdx
or ch, byte [rsi]
ror byte [rax], 0xe6
int1
movabs eax, dword [0x79747a24adc07525]
mov al, 0xef
or dword [rdx - 0x69389673], 0xffffffa8
xchg ebx, eax
xlatb
cwde
invalid
Function at 0x140004fd0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x14005c7e8]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400051ee
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400051ee
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x14005c7e8]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x1400050a4
movsx rdx, word [r8 + 0x60f0]
lea rax, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140005099
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rax, [rax*8 + 0x60f4]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60e8]
test rdi, rdi
je 0x1400050c1
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x1400050c4
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x14003cce0]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x140005107
mov rsi, qword [r8 + 0x90]
jmp 0x14000510a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140005135
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x14005c7e8]
mov rcx, qword [rax + 0x4b10]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x1400051ae
inc rbx
cmp rbx, 5
jl 0x140005190
jmp 0x1400051da
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x1400051f0
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003a890
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140009290
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 0x1400092ed
lea rbx, [0x14003e190]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400092d4
cmp r10, 2
jb 0x1400092d4
cmp byte [r9], r8b
jne 0x1400092d4
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 0x1400092b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000932f
lea rbx, [0x14003e190]
cmp r8b, 0x23
jne 0x140009313
cmp byte [r9], r8b
jne 0x140009313
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 0x140009300
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400094f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x14000950e
mov qword [r8], r14
lea rdx, [0x14003dca0]
call fcn.140009340
mov rbx, rax
test rax, rax
jne 0x140009533
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14000965f
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 0x14000965f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000965f
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000965f
cmp rdi, 0xffffffffffffffff
je 0x14000965f
mov rcx, rdi
call fcn.14000d160
mov rbp, rax
test rax, rax
je 0x14000965f
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 0x14000964c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x14005c7e8]
test r8, r8
je 0x140009641
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140009636
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140009668
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14000965a
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14000966a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret