joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001e5b0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x4b8
mov qword [rsp + 0x4a0], 0xfffffffffffffffe
mov rax, qword [0x1400311e8]
xor rax, rsp
mov qword [rsp + 0x4a8], rax
lea rcx, [rsp + 0x468]
call fcn.140004760
nop
mov r8d, 0x400
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14000a120
cmp qword [rsp + 0x4e0], 0
jne 0x14001e63a
mov dword [rsp + 0x490], 0
lea rcx, [rsp + 0x468]
call fcn.140004860
mov eax, dword [rsp + 0x490]
jmp 0x14001e7a8
mov rdx, qword [rsp + 0x4e0]
lea rcx, [rsp + 0x468]
call fcn.1400048b0
cmp qword [rsp + 0x4c8], 0
je 0x14001e66e
lea rcx, [rsp + 0x468]
call fcn.140008910
movzx eax, al
test eax, eax
je 0x14001e69e
lea rcx, str.Err:_The_cfg_buffer_is_null
call fcn.14001a560
mov dword [rsp + 0x494], 0
lea rcx, [rsp + 0x468]
call fcn.140004860
mov eax, dword [rsp + 0x494]
jmp 0x14001e7a8
lea rcx, [rsp + 0x468]
call fcn.140004a40
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, qword [rsp + 0x4d0]
mov rcx, qword [rsp + 0x4c8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x440]
call fcn.1400047b0
nop
lea rcx, [rsp + 0x440]
call fcn.140008910
movzx eax, al
test eax, eax
je 0x14001e766
lea rcx, [rsp + 0x468]
call fcn.140004a40
mov r8, rax
mov rdx, qword [rsp + 0x4d0]
lea rcx, str.Err:_Read_parameter__s__from__s_Failed
call fcn.14001a560
lea rdx, [0x140027fd0]
mov rcx, qword [rsp + 0x4d8]
call fcn.1400048b0
mov dword [rsp + 0x498], 0
lea rcx, [rsp + 0x440]
call fcn.140004860
nop
lea rcx, [rsp + 0x468]
call fcn.140004860
mov eax, dword [rsp + 0x498]
jmp 0x14001e7a8
lea rdx, [rsp + 0x440]
mov rcx, qword [rsp + 0x4d8]
call fcn.140004880
mov dword [rsp + 0x49c], 1
lea rcx, [rsp + 0x440]
call fcn.140004860
nop
lea rcx, [rsp + 0x468]
call fcn.140004860
mov eax, dword [rsp + 0x49c]
mov rcx, qword [rsp + 0x4a8]
xor rcx, rsp
call fcn.140009950
add rsp, 0x4b8
ret
Function at 0x14001eb20
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4b0
mov qword [rsp + 0x488], 0xfffffffffffffffe
mov rax, qword [0x1400311e8]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov rax, qword [rsp + 0x4c8]
mov qword [rsp + 0x190], rax
mov rcx, qword [rsp + 0x190]
call fcn.14000bc38
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x160]
call fcn.1400047b0
nop
lea rcx, [rsp + 0x1a8]
call fcn.140004760
nop
xor r8d, r8d
lea rdx, [0x140027504]
lea rcx, [rsp + 0x160]
call fcn.1400082d0
mov dword [rsp + 0x188], eax
mov eax, dword [rsp + 0x188]
add eax, 1
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x450]
lea rcx, [rsp + 0x160]
call fcn.140004a60
mov qword [rsp + 0x490], rax
mov rax, qword [rsp + 0x490]
mov qword [rsp + 0x498], rax
mov rdx, qword [rsp + 0x498]
lea rcx, [rsp + 0x1a8]
call fcn.140004880
nop
lea rcx, [rsp + 0x450]
call fcn.140004860
mov qword [rsp + 0x198], 0
mov dword [rsp + 0x1a0], 0
mov dword [rsp + 0x30], 0
lea rdi, [rsp + 0x34]
xor eax, eax
mov ecx, 0x12c
rep stosb byte [rdi], al
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x198], rax
cmp qword [rsp + 0x198], 0xffffffffffffffff
jne 0x14001ec8d
mov dword [rsp + 0x478], 0
lea rcx, [rsp + 0x1a8]
call fcn.140004860
nop
lea rcx, [rsp + 0x160]
call fcn.140004860
mov eax, dword [rsp + 0x478]
jmp 0x14001ee28
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x198]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14001eddf
mov dword [rsp + 0x1d0], 0
mov dword [rsp + 0x1e0], 0
lea rdi, [rsp + 0x1e4]
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
lea rcx, [rsp + 0x5c]
call fcn.14000bc38
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x428]
call fcn.1400047b0
nop
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x5c]
call fcn.14000a120
xor r8d, r8d
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x428]
call fcn.140008b90
mov qword [rsp + 0x420], rax
mov rax, qword [0x14002b5b8]
cmp qword [rsp + 0x420], rax
je 0x14001edab
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x160]
call fcn.140004a40
mov rdx, rax
lea rcx, str._s_is_running
call fcn.14001a560
mov dword [rsp + 0x1a0], 1
mov eax, dword [rsp + 0x1a0]
mov dword [rsp + 0x47c], eax
lea rcx, [rsp + 0x428]
call fcn.140004860
nop
lea rcx, [rsp + 0x1a8]
call fcn.140004860
nop
lea rcx, [rsp + 0x160]
call fcn.140004860
mov eax, dword [rsp + 0x47c]
jmp 0x14001ee28
lea rcx, [rsp + 0x428]
call fcn.140004860
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x198]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14001ecd6
mov dword [rsp + 0x1a0], 0
jmp 0x14001edea
mov dword [rsp + 0x1a0], 0
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x1a0]
mov dword [rsp + 0x480], eax
lea rcx, [rsp + 0x1a8]
call fcn.140004860
nop
lea rcx, [rsp + 0x160]
call fcn.140004860
mov eax, dword [rsp + 0x480]
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140009950
add rsp, 0x4b0
pop rdi
ret
Function at 0x140020e10
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov rax, qword [0x1400311e8]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov dword [rsp + 0x170], 1
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14000a120
lea rdx, str.SYSTEMCurrentControlSetServiceshwdatacard
lea rcx, [rsp + 0x60]
call fcn.14000a6f0
lea rax, [rsp + 0x174]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x178]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140020ebe
lea rcx, [0x1400277e0]
call fcn.140021d50
xor eax, eax
jmp 0x140021039
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x170]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.QCDriverPowerManagementEnabled
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140020f06
lea rdx, [rsp + 0x60]
lea rcx, str.Could_not_set_Power_Management_key_for__s.
call fcn.140021d50
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x170]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x140027858]
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140020f4e
lea rdx, [rsp + 0x60]
lea rcx, [0x140027870]
call fcn.140021d50
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14000a120
lea rdx, str.SYSTEMCurrentControlSetServiceshwusbfake
lea rcx, [rsp + 0x60]
call fcn.14000a6f0
lea rax, [rsp + 0x174]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x178]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140020fde
lea rcx, str.Could_not_create_the_registry_key.
call fcn.140021d50
xor eax, eax
jmp 0x140021039
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x170]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.QCDriverResident
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140021026
lea rdx, [rsp + 0x60]
lea rcx, str.Could_not_set_Resident_key_for__s.
call fcn.140021d50
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140009950
add rsp, 0x198
ret
Function at 0x140021a20
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x30], 1
lea rdx, [0x140027547]
mov rcx, qword [rsp + 0x78]
call fcn.1400048b0
mov dword [rsp + 0x20], 0x104
mov ecx, dword [rsp + 0x20]
call fcn.14000981c
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x140021abb
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140009f40
mov ecx, dword [rsp + 0x20]
call fcn.14000981c
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [rsp + 0x30], eax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
call fcn.1400048b0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140009f40
mov eax, dword [rsp + 0x30]
add rsp, 0x68
ret

Function at 0x140021e70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x1400311e8]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8023
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x140021f38
lea rdx, [0x140028830]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rcx, [rsp + 0x40]
call fcn.14001c810
movzx eax, al
test eax, eax
jne 0x140021eda
xor al, al
jmp 0x140021f46
lea rdx, [0x1400279cc]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rcx, [rsp + 0x40]
call fcn.14001c810
movzx eax, al
test eax, eax
jne 0x140021f01
xor al, al
jmp 0x140021f46
mov rcx, qword [rsp + 0x170]
add rcx, 0x50
call fcn.140008910
mov rcx, qword [rsp + 0x170]
add rcx, 0x50
lea rdx, [rsp + 0x40]
call fcn.140004f90
lea rcx, str.GetPCFolderPath_successfully.
call fcn.140021de0
mov al, 1
jmp 0x140021f46
lea rcx, str.GetPCFolderPath_failed.
call fcn.140021d50
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140009950
add rsp, 0x168
ret
Function at 0x140021f70
Capabilities:
Get common file path
Get file size

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1f8
mov qword [rsp + 0x1c0], 0xfffffffffffffffe
mov rax, qword [0x1400311e8]
xor rax, rsp
mov qword [rsp + 0x1e8], rax
mov dword [rsp + 0x54], 0
cmp qword [rsp + 0x208], 0
jne 0x140022107
mov rcx, qword [rsp + 0x200]
call fcn.140021e70
movzx eax, al
test eax, eax
jne 0x14002202e
mov rcx, qword [rsp + 0x200]
add rcx, 0x50
call fcn.140004a40
mov rcx, qword [rsp + 0x200]
add rcx, 0x50
mov rdx, rax
call fcn.1400050f0
mov rcx, qword [rsp + 0x200]
add rcx, 0x50
xor edx, edx
call fcn.140008a80
mov rcx, rax
call fcn.14001c810
movzx eax, al
test eax, eax
jne 0x14002202e
mov rcx, qword [rsp + 0x200]
add rcx, 0x50
lea rdx, [0x140027546]
call fcn.1400048b0
jmp 0x140022235
mov rdx, qword [rsp + 0x200]
add rdx, 0x50
lea r8, [0x1400278c4]
lea rcx, [rsp + 0x170]
call fcn.140008880
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x1d0], rax
mov rcx, qword [rsp + 0x200]
add rcx, 0x28
mov rdx, qword [rsp + 0x1d0]
call fcn.140004880
nop
lea rcx, [rsp + 0x170]
call fcn.140004860
mov rdx, qword [rsp + 0x200]
add rdx, 0x28
mov r8, qword [rsp + 0x200]
lea rcx, [rsp + 0x198]
call fcn.140008ac0
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x200]
add rcx, 0x28
mov rdx, qword [rsp + 0x1e0]
call fcn.140004880
nop
lea rcx, [rsp + 0x198]
call fcn.140004860
mov rcx, qword [rsp + 0x200]
add rcx, 0x28
lea rdx, str..log
call fcn.140004f90
jmp 0x140022170
lea rdx, [0x14002880c]
mov rcx, qword [rsp + 0x208]
call fcn.140017c24
test eax, eax
jne 0x140022170
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14000a120
lea rdx, [rsp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov rcx, qword [rsp + 0x200]
add rcx, 0x28
lea rdx, [rsp + 0x60]
call fcn.1400048b0
mov rcx, qword [rsp + 0x200]
add rcx, 0x28
mov rdx, qword [rsp + 0x200]
call fcn.1400048e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x200]
add rcx, 0x28
call fcn.140004a40
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000001
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400221d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x54], eax
lea rcx, str.Could_not_open_file.
call fcn.140021d50
mov dword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x50], 0
jne 0x140022209
jmp 0x140022235
cmp dword [rsp + 0x40], 0
jne 0x14002221c
cmp dword [rsp + 0x50], 0x19000
jae 0x14002221c
jmp 0x140022235
mov rcx, qword [rsp + 0x200]
add rcx, 0x28
call fcn.140004a40
mov rcx, rax
call fcn.14001c870
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.140009950
add rsp, 0x1f8
ret
Function at 0x180016760
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 0x1800167bd
lea rbx, [0x1802462b0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800167a4
cmp r10, 2
jb 0x1800167a4
cmp byte [r9], r8b
jne 0x1800167a4
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 0x180016780
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800167ff
lea rbx, [0x1802462b0]
cmp r8b, 0x23
jne 0x1800167e3
cmp byte [r9], r8b
jne 0x1800167e3
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 0x1800167d0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1800169c0
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 0x1800169de
mov qword [r8], r14
lea rdx, [0x180245db4]
call fcn.180016810
mov rbx, rax
test rax, rax
jne 0x180016a03
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 fcn.1801e4b50
mov ebp, eax
cmp eax, 0xffffffff
je 0x180016b27
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.1801e568c
test eax, eax
jne 0x180016b27
mov rcx, rbx
call fcn.1801e4b50
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180016b27
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.1801e568c
test eax, eax
jne 0x180016b27
cmp rdi, 0xffffffffffffffff
je 0x180016b27
mov rcx, rdi
call fcn.180019ff0
mov rbp, rax
test rax, rax
je 0x180016b27
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1801e6530
mov rcx, rbx
cmp rax, rdi
je 0x180016b15
call fcn.1801e52ec
mov r8, qword [0x1802f9ec0]
test r8, r8
je 0x180016b0b
movsx rdx, word [r8 + 0x60e8]
lea rcx, [r8 + 0x60ec]
mov r9d, dword [r8 + 0x3f68]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x180016b00
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 + 0x60e8], cx
movsx rax, cx
lea rcx, [r8 + 0x60ec]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60e4]
mov rcx, rbp
call fcn.1801dda58
jmp 0x180016b2f
call fcn.1801e52ec
test rsi, rsi
je 0x180016b22
mov qword [rsi], rdi
mov rax, rbp
jmp 0x180016b31
mov rcx, rbx
call fcn.1801e52ec
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
Function at 0x180022e90
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x1802462b0]
movsxd rcx, dword [rcx + 0x108]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0x110]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
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 + 0x405c], ebx
jne 0x180022f24
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.18002cd80
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180022f40
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x128]
lea r10, [0x1802462b0]
mov rax, qword [rcx + 0x110]
movss xmm1, dword [rcx + 0x12c]
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 + 0x108]
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 0x180026960
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1802edb40]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1802f9ec0]
mov edi, ecx
cmp byte [rbx + 0x4d3d], 0
jne 0x1800269c1
cmp byte [rbx + 0x4d3e], 0
jne 0x1800269c1
movsx r9d, word [rbx + 0x5eb0]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.180016570
test dil, 2
je 0x180026aef
jmp 0x180026a4c
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5eb0]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1802ba5f8]
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1802ba5ec]
addss xmm0, dword [rbx + 0xf8]
addss xmm1, dword [rbx + 0xfc]
mov qword [rbx + 0x4a30], rax
mov dword [rbx + 0x4a1c], 1
movss dword [rbx + 0x4a28], xmm0
movss dword [rbx + 0x4a2c], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x1802ba4e8]
or dword [rbx + 0x4a18], 0x41
movss dword [rbx + 0x4a78], xmm0
call fcn.180016570
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180026aa0
lea r11, [0x1802462b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180026a83
cmp byte [r8], r9b
jne 0x180026a83
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 0x180026a70
not ecx
call fcn.18001d070
test rax, rax
je 0x180026aef
cmp byte [rax + 0xca], 0
je 0x180026aef
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5eb0]
movsx r9d, word [rbx + 0x5eb0]
call fcn.180016570
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.18001fca0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1801cf080
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18002bc50
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1802f9ec0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18002bcb3
mov qword [rsp], rbx
lea rbx, [0x1802462b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18002bc93
cmp byte [r8], r9b
jne 0x18002bc93
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 0x18002bc80
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f78]
not eax
mov r8, qword [r10 + 0x5f80]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18002bcdf
cmp dword [r8 + 8], eax
je 0x18002bce6
add r8, 0x48
cmp r8, rcx
jne 0x18002bcd0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x18003f220
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1802edb40]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1802f9ec0]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x18003f3de
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x18003f3de
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call fcn.180019ff0
xor ebx, ebx
mov qword [rsp + 0x28], rax
mov rdi, rax
test rax, rax
je 0x18003f2aa
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
jmp 0x18003f2ad
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x1802ae0a8]
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 rax, qword [0x1802f9ec0]
mov dword [rdi + 0x28], 9
test rax, rax
je 0x18003f2f7
mov rsi, qword [rax + 0x90]
jmp 0x18003f2fa
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 0x18003f325
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1802f9ec0]
mov rcx, qword [rax + 0x4b28]
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 0x18003f39e
inc rbx
cmp rbx, 5
jl 0x18003f380
jmp 0x18003f3ca
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 0x18003f3e0
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1801cf080
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret