joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400045e0
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rdi, rcx
mov qword [rsp + 0x58], rcx
xor ebp, ebp
mov dword [rsp + 0x60], 0x40
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x140004777
mov r8, qword [rsp + 0x68]
shr r8, 0x14
lea r9, [rsp + 0xca]
movabs r10, 0xcccccccccccccccd
nop dword [rax]
sub r9, 2
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8, rdx
test rdx, rdx
jne 0x140004650
lea r8, [rsp + 0xca]
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.1400051f0
nop
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, rsi
cmp rax, 3
jb 0x1400046e6
lea rax, [rsi + 3]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 7
cmova rbx, qword [rsp + 0x30]
lea rcx, [rbx + rsi*2]
mov r8d, 6
lea rdx, [0x1400076e8]
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rsi*2 + 6], bp
lea rax, [rsp + 0x30]
jmp 0x140004705
mov qword [rsp + 0x20], 3
lea r9, [0x1400076e8]
mov edx, 3
lea rcx, [rsp + 0x30]
call fcn.1400040b0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbp
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], 7
mov word [rax], bp
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140004786
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004770
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004770
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400053ac
jmp 0x140004786
lea rdx, str.Unknown
mov rcx, rdi
call fcn.140004dc0
mov rax, rdi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140005350
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400049a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x860
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x48], 0x800
lea rdx, str.Unknown_Windows_Version
call fcn.140004dc0
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004ab5
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ProductName
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140004aaa
lea rax, [rsp + 0x50]
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140004a60
mov rax, qword [rdi + 0x18]
cmp rdx, rax
ja 0x140004a9d
mov rsi, rdi
cmp rax, 7
jbe 0x140004a7f
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rsi], bp
jmp 0x140004aaa
lea r9, [rsp + 0x50]
mov rcx, rdi
call fcn.140005090
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.140005350
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140005cc8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005d12
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005d12
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005d12
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005d12
cmp dword [rcx + 0x84], 0xe
jbe 0x140005d12
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140005d14
xor al, al
add rsp, 0x28
ret
Function at 0x140004470
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 0x1400044cd
lea rbx, [0x14011fe60]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400044b4
cmp r10, 2
jb 0x1400044b4
cmp byte [r9], r8b
jne 0x1400044b4
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 0x140004490
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000450f
lea rbx, [0x14011fe60]
cmp r8b, 0x23
jne 0x1400044f3
cmp byte [r9], r8b
jne 0x1400044f3
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 0x1400044e0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400046d0
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 0x1400046ee
mov qword [r8], r14
lea rdx, [0x14011f960]
call fcn.140004520
mov rbx, rax
test rax, rax
jne 0x140004713
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 0x14000483f
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 0x14000483f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000483f
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 0x14000483f
cmp rdi, 0xffffffffffffffff
je 0x14000483f
mov rcx, rdi
call fcn.14000b0e0
mov rbp, rax
test rax, rax
je 0x14000483f
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 0x14000482c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140179de8]
test r8, r8
je 0x140004821
movsx rdx, word [r8 + 0x5488]
lea rcx, [r8 + 0x548c]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140004816
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 + 0x5488], cx
movsx rax, cx
lea rcx, [r8 + 0x548c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x5484]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140004848
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14000483a
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14000484a
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
Function at 0x14000e5c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rdi, qword [0x140179de8]
mov ebp, edx
movaps xmmword [rsp + 0x30], xmm6
mov r10, rcx
mov rbx, qword [rdi + 0x40a0]
mov esi, dword [rbx + 0x14]
and esi, 4
or esi, 0x1000103
cmp qword [rbx + 0x1c0], 0
jne 0x14000e611
cmp qword [rdi + 0x4ec0], 0
lea rax, [rbx + 0x268]
je 0x14000e618
lea rax, [rbx + 0x238]
movss xmm2, dword [rax]
lea rcx, [rsp + 0x60]
movss xmm3, dword [rax + 4]
subss xmm3, dword [rbx + 0x11c]
subss xmm2, dword [rbx + 0x118]
mov rdx, qword [r8]
call fcn.1400192b0
mov eax, dword [rdi + 0x4ac0]
test al, 2
je 0x14000e67a
test byte [rdi + 0x4ac8], 1
je 0x14000e67a
movss xmm0, dword [rdi + 0x4ae0]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14000e667
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [rdi + 0x4ae4]
comiss xmm0, xmm1
jbe 0x14000e67a
movss dword [rsp + 0x64], xmm0
movsd xmm0, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
movsd qword [rdi + 0x4ae0], xmm0
or eax, 0x102
mov dword [rdi + 0x4ac8], 1
xor r14d, r14d
xor edx, edx
mov dword [rdi + 0x4ac0], eax
mov dword [rdi + 0x4af8], r14d
mov r9, qword [rbx + 8]
test r10, r10
je 0x14000e6ce
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.1400042d0
jmp 0x14000e6de
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.1400042d0
movss xmm6, dword [rdi + 0x3958]
mov r8d, esi
mov rcx, qword [rsp + 0x60]
xor edx, edx
mov dword [rdi + 0x3958], r14d
call fcn.1400118a0
mov rsi, qword [rdi + 0x40a0]
movzx r14d, al
movss dword [rdi + 0x3958], xmm6
cmp word [rsi + 0xd8], 1
mov dword [rsi + 0x90], ebp
jne 0x14000e72c
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x118], xmm0
mov r9d, ebp
lea rdx, [0x14011e6a1]
not r9d
lea r10, [0x14011fe60]
mov ebx, r9d
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x14000e759
cmp byte [rdx], r8b
jne 0x14000e759
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14000e746
not ebx
cmp dword [rdi + 0x4114], ebx
jne 0x14000e785
call fcn.14000a960
cmp dword [rdi + 0x4bec], ebp
jne 0x14000e7ca
cmp word [rsi + 0x174], 0
jne 0x14000e7a0
cmp byte [rsi + 0x17a], 0
je 0x14000e7ca
xor edx, edx
mov rcx, rsi
call fcn.140014490
xor edx, edx
mov rcx, rsi
call fcn.14001c300
mov rdx, rsi
mov ecx, ebx
call fcn.14000a800
mov eax, dword [rdi + 0x4c20]
mov dword [rdi + 0x4140], eax
mov rbx, qword [rsp + 0x68]
movzx eax, r14b
mov rbp, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140015050
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
lea r11, [0x14011fe60]
mov rax, qword [rcx + 0x110]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
sar eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
sar eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov eax, r10d
xor rdx, rcx
sar eax, 0x18
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x40f8], ebx
jne 0x1400150e8
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140020f60
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14001f7b0
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 + 0x5360], 0
lea rbx, [rcx + 0x5368]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001f857
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001f80a
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.140022360
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004d50
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5360]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5370]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140179de0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001f85f
mov rcx, rbx
call fcn.140004d50
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001fb80
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
mov rbx, qword [0x140179de8]
xor ebp, ebp
cmp byte [rbx + 0x52a8], bpl
jne 0x14001fc5f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001fc58
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.1400046d0
mov rsi, rax
test rax, rax
je 0x14001fc58
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001fbe4
mov rcx, rax
call fcn.14001fdb0
mov r8, qword [0x140179de8]
test r8, r8
je 0x14001fc4f
movsx rdx, word [r8 + 0x5488]
lea rcx, [r8 + 0x548c]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001fc44
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 + 0x5488], cx
movsx rax, cx
lea rcx, [r8 + 0x548c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x5484]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x52a8], 1
movss xmm0, dword [rbx + 0x52ac]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001fcee
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x52ac], xmm0
jb 0x14001fcee
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14001fce1
mov rax, qword [0x140179de8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x52ac], ebp
call fcn.140020000
lea rdx, [0x14011f964]
mov rcx, rdi
mov rsi, rax
call fcn.140004520
mov rdi, rax
test rax, rax
je 0x14001fce8
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001fce8
mov byte [rbx + 0xb4], 1
mov dword [rbx + 0x52ac], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001fd10
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140179de8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001fd73
mov qword [rsp], rbx
lea rbx, [0x14011fe60]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001fd53
cmp byte [r8], r9b
jne 0x14001fd53
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 0x14001fd40
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x52c0]
not eax
mov r8, qword [r10 + 0x52c8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001fd9f
cmp dword [r8 + 8], eax
je 0x14001fda6
add r8, 0x48
cmp r8, rcx
jne 0x14001fd90
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140034d50
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x14016e900]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140179de8]
mov rbp, rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140034f6f
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140034f6f
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 [0x140179de8]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x140034e24
movsx rdx, word [r8 + 0x5488]
lea rax, [r8 + 0x548c]
mov r9d, dword [r8 + 0x3fe8]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140034e19
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 + 0x5488], cx
movsx rax, cx
lea rax, [rax*8 + 0x548c]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x5480]
test rdi, rdi
je 0x140034e41
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 0x140034e44
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x140150f18]
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x98], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x38]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x140034e87
mov rsi, qword [r8 + 0x98]
jmp 0x140034e8a
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 0x140034eb5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140179de8]
mov rcx, qword [rax + 0x4bd0]
mov rax, qword [rdi]
mov rdx, qword [rcx]
mov qword [rdx + 0x30], rax
mov qword [rdx + 0x28], rax
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x50], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x58], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x60], rax
mov byte [rdi + 0x31], 1
mov rcx, qword [rsp + rbx*8 + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140034f2f
inc rbx
cmp rbx, 5
jl 0x140034f11
jmp 0x140034f5b
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 0x140034f71
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400e9c10
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x14003af00
Capabilities:
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
mov rax, qword [0x140179de8]
mov rdx, qword [rax + 0x4ec0]
cmp ecx, 0xffffffff
jne 0x14003af1a
cmp dword [rdx + 0x74], ecx
cmovne ecx, dword [rdx + 0x74]
cmp ecx, dword [rdx + 0x6c]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x14003af99
mov r10d, dword [rdx]
lea r8, [0x140151001]
movzx eax, word [rdx + 0x78]
lea r11, [0x14011fe60]
not r10d
mov word [rdx + 0x224], cx
mov ecx, r10d
mov byte [rdx + 0x23b], 1
mov word [rdx + 0x7a], ax
mov r9b, reloc.WLDAP32.dll_Ordinal_35
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x14003af73
cmp byte [r8], r9b
jne 0x14003af73
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 0x14003af60
not ecx
xor edx, edx
jmp fcn.14001a1c0
ret
Function at 0x14004e790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov r11d, edx
and r11d, 7
je 0x14004e81f
cmp edx, r11d
jge 0x14004e80e
mov r8d, dword [rcx + 0x18]
mov eax, 1
mov ecx, edx
mov r9d, edx
shl eax, cl
cmp r8d, eax
jae 0x14004e804
mov r10, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r10
jb 0x14004e7cf
xor cl, cl
jmp 0x14004e7d8
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
lea edx, [r9 + 8]
mov ecx, r9d
mov dword [rbx + 0x10], edx
shl eax, cl
or r8d, eax
mov dword [rbx + 0x18], r8d
cmp edx, 0x18
jg 0x14004e80e
mov ecx, edx
mov eax, 1
shl eax, cl
mov r9d, edx
cmp r8d, eax
jb 0x14004e7c3
mov rax, qword [rbx + 8]
mov edx, r9d
mov qword [rbx], rax
mov eax, dword [rbx + 0x18]
mov ecx, r11d
shr eax, cl
sub edx, r11d
mov dword [rbx + 0x18], eax
mov dword [rbx + 0x10], edx
xor r8d, r8d
mov r9d, edx
test edx, edx
jle 0x14004e862
mov eax, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
movzx r10d, al
nop word [rax + rax]
shr eax, 8
lea edx, [r9 - 8]
mov byte [rcx], r10b
lea rcx, [rcx + 1]
inc r8d
mov dword [rbx + 0x18], eax
mov r9d, edx
movzx r10d, al
test edx, edx
jg 0x14004e840
mov dword [rbx + 0x10], edx
jns 0x14004e888
mov rax, qword gs:[0x58]
mov edx, Ordinal_41
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x14004e8b7
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x14004e8a1
xor dl, dl
jmp 0x14004e8aa
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x14004e898
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x14004e864
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x14004e921
mov rax, qword gs:[0x58]
mov edx, Ordinal_41
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x20]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x30]
jbe 0x14004e93b
mov rcx, rbx
call fcn.14004dba0
test eax, eax
je 0x14004e914
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x20]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x20], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x14005c750
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x14016e900]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor edx, edx
mov dword [rsp + 0x20], 0x130
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov r15, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14005c964
xor r12d, r12d
xorps xmm0, xmm0
mov qword [rsp + 0x160], r12
movups xmmword [rsp + 0x150], xmm0
mov qword [rsp + 0x168], r12
lea rax, [rsp + 0x4c]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x14005c7e0
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x150]
call fcn.1400606f0
mov rdi, qword [rsp + 0x150]
lea rcx, [rsp + 0x150]
mov rbp, qword [rsp + 0x168]
lea rsi, [rsp + 0x150]
mov r14, qword [rsp + 0x160]
lea rbx, [rsp + 0x150]
cmp rbp, 0xf
cmova rcx, rdi
cmova rsi, rdi
add r14, rcx
cmp rbp, 0xf
cmova rbx, rdi
cmp rbx, r14
je 0x14005c874
sub rsi, rbx
nop word [rax + rax]
movzx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rbx], al
inc rbx
cmp rbx, r14
jne 0x14005c850
mov rbp, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x150]
cmp rbp, 0xf
lea rcx, [rsp + 0x150]
lea rdx, [0x140151cf8]
cmova rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14005c91b
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14005c8f7
mov rdx, qword [rsp + 0x168]
cmp rdx, 0xf
jbe 0x14005c94e
mov rcx, qword [rsp + 0x150]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c949
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c949
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x150]
cmp rbp, 0xf
jbe 0x14005c94e
lea rdx, [rbp + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005c946
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c8f0
mov rcx, rdi
call fcn.1400e9ed0
lea rdx, [rsp + 0x20]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14005c7b4
cmp r15, 0xffffffffffffffff
je 0x14005c973
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400e9c10
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret