joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007bf40
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x4b0
mov rax, qword [0x14010a0c0]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
xor ebp, ebp
mov ebx, ebp
lea ecx, [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
mov dword [rsp + 0x60], 0x438
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x14007c0a1
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rbp
mov r8d, 0xa
lea rdx, [0x1400e6d90]
lea rcx, [rsp + 0x20]
call fcn.14000b440
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call fcn.14007bd30
cmp qword [rax + 0x18], 7
jbe 0x14007bfe3
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.14009c5fc
mov edi, eax
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14007c037
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007c032
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007c0cd
call fcn.14008913c
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], bp
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14007c083
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007c07e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007c0d3
call fcn.14008913c
test edi, edi
cmove rbx, qword [rsp + 0x78]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x14007bfa0
mov rax, rbx
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140088dd0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14008fdd8
nop
call fcn.14008fdd8
int3

Function at 0x140087450
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14008748a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14008748f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400874d8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400beeb0]
cmp byte [rcx + rax], 0
je 0x1400874d8
dec r8
sub rdx, 1
jne 0x1400874be
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140089b20
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140089b6a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140089b6a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140089b6a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140089b6a
cmp dword [rcx + 0x84], 0xe
jbe 0x140089b6a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140089b6c
xor al, al
add rsp, 0x28
ret

Function at 0x140090228
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140090093
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140090093
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140090093
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140090093
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140090093
cmp dword [rcx + 0x84], 0xe
jbe 0x140090093
cmp dword [rcx + 0xf8], 0
je 0x140090093
mov ecx, ebx
call fcn.140090144
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14008ff20
nop
cmp dword [rbp + 0x20], 0
je 0x1400900e1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400900ec
int3
xor r8d, r8d
xor edx, edx
jmp 0x140090024
Function at 0x140093434
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140089930
sub rsp, rax
mov rax, qword [0x14010a0c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400a2ee8
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140093483
mov rax, rbp
jmp 0x14009358b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x10d780]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400a32e4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x10d780]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140093587
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140093587
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400a32e4
test rax, rax
js 0x140093587
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140093587
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140093579
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140093579
cmp byte [rcx], 0xd
jne 0x14009355f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14009356e
cmp byte [rcx + 1], 0xa
jne 0x14009356e
inc rcx
jmp 0x14009356e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x10a4e0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140093541
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14009358b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140088dd0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a3390
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14010d780]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400a33e7
cmp word [rdx], r13w
jne 0x1400a33e7
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400a33ec
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400a3511
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400a3532
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400a3425
mov rdx, r9
mov word [rbx], cx
jmp 0x1400a344c
cmp r9, r8
jae 0x1400a345c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400a3406
jmp 0x1400a3511
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400a3506
cmp dword [rsp + 0x80], esi
je 0x1400a3506
lea r8, [0x14010d780]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400a34de
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400a34ae
mov word [rbx], r13w
jmp 0x1400a350e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400a34bb
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400a350e
cmp word [rsp + 0x70], r13w
jne 0x1400a34eb
cmp rbx, r14
je 0x1400a34a8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400a32ec
cmp word [rsp + 0x70], r13w
je 0x1400a3511
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14010d780]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400a350b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400a3511
Function at 0x1400a506c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400a5082
mov al, 1
jmp 0x1400a50e2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400a5093
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400a50e0
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400a971c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400a50e0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400a50e0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400a50e0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400a50e2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400a8e50
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400a8e80
xor eax, eax
jmp 0x1400a8f43
mov rbp, rbx
cmp word [rax], si
je 0x1400a8ea5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400a8e8c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400a8e88
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400a7758
movsxd r14, eax
test eax, eax
jne 0x1400a8ee3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400a8e79
mov rcx, r14
call fcn.1400a1cc0
mov rdi, rax
test rax, rax
jne 0x1400a8efc
xor ecx, ecx
call fcn.1400a0f54
jmp 0x1400a8ed8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400a7758
test eax, eax
jne 0x1400a8f2d
mov rcx, rdi
call fcn.1400a0f54
jmp 0x1400a8f37
xor ecx, ecx
call fcn.1400a0f54
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400abc70
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400a09ec
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400abd11
cmp ebx, dword [rsp + 0x30]
je 0x1400abd0a
test esi, esi
je 0x1400abd0a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400abce5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400abcf2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400abccf
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400abcf6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400abd13
mov eax, 1
jmp 0x1400abd13
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b014c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400a32ec
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400a32ec
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400b029c
cmp rax, 0xffffffffffffffff
je 0x1400b029c
xor edi, edi
test rbp, rbp
jle 0x1400b0247
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400a0d4c
mov rbx, rax
test rax, rax
jne 0x1400b01d4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400b023d
mov edx, 0x8000
mov ecx, r14d
call fcn.14009eb2c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400a4868
cmp eax, 0xffffffff
je 0x1400b021d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400b01e4
mov edx, r15d
mov ecx, r14d
call fcn.14009eb2c
jmp 0x1400b023d
cmp byte [rsi + 0x38], dil
je 0x1400b0234
cmp dword [rsi + 0x34], 5
jne 0x1400b0234
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400b023d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400a0f54
jmp 0x1400b02b0
jns 0x1400b02b0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400a32ec
cmp rax, 0xffffffffffffffff
jne 0x1400b0268
cmp byte [rsi + 0x30], dil
je 0x1400b02b0
mov edi, dword [rsi + 0x2c]
jmp 0x1400b02b0
mov ecx, r14d
call fcn.1400a971c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400b02b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400b02b0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400b02a9
mov eax, dword [rsi + 0x2c]
jmp 0x1400b02ae
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400a32ec
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1400b0cf0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400b0d18
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400b0d18
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000c020
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14000c02d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14000c03d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14000c025
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14000c055
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14000c042
sub eax, 3
jb 0x14000c06f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14000c0a6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14000c096
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14000c094
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14000c083
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14000bfe2
jmp 0x14000c02d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x9000]
mov eax, dword [rdi]
or eax, eax
je 0x14000c102
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xcd44]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14000c0b2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14000c0fc
mov qword [rbx], rax
add rbx, 8
jmp 0x14000c0d2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14000c15a
sub rsp, 0xffffffffffffff80
jmp 0x140001182
Function at 0x1800010c0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1800ad010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1800b6930]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800012de
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1800012de
mov rdx, qword [0x1800b6920]
mov ecx, 0x50
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, qword [0x1800b6930]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x18000119a
movsx rdx, word [r8 + 0x60e0]
lea rax, [r8 + 0x60e4]
mov r9d, dword [r8 + 0x3f68]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x18000118f
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 + 0x60e0], cx
movsx rax, cx
lea rax, [rax*8 + 0x60e4]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60d8]
test rdi, rdi
je 0x1800011b7
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 0x1800011ba
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
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 0x1800011fd
mov rsi, qword [r8 + 0x90]
jmp 0x180001200
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 0x18000122b
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1800b6930]
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
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x18000129e
inc rbx
cmp rbx, 5
jl 0x180001280
jmp 0x1800012ca
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 0x1800012e0
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180046230
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x180001470
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1800b6930]
mov edx, 0x210
call fcn.180012290
cmp byte [rax], 0
je 0x1800014e6
xor edx, edx
mov ecx, 0x210
call fcn.180014a50
test al, al
je 0x1800014e6
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1800014e6
mov rbx, qword [0x1800b6930]
cmp byte [rbx + 0x2b89], 0
je 0x1800014d2
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.180004770
mov dword [rbx + 0x2e20], 0x210
mov dword [rbx + 0x33e0], 0xa0
mov rcx, qword [0x1800b6930]
mov edx, 0x214
call fcn.180012290
cmp byte [rax], 0
je 0x180001556
xor edx, edx
mov ecx, 0x214
call fcn.180014a50
test al, al
je 0x180001556
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180001556
mov rbx, qword [0x1800b6930]
cmp byte [rbx + 0x2b89], 0
je 0x180001542
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.180004770
mov dword [rbx + 0x2e24], 0x214
mov dword [rbx + 0x33f0], 0xa1
mov rcx, qword [0x1800b6930]
mov edx, 0x212
call fcn.180012290
cmp byte [rax], 0
je 0x1800015c4
xor edx, edx
mov ecx, 0x212
call fcn.180014a50
test al, al
je 0x1800015c4
lea ecx, [rdx + 0x5b]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1800015c4
mov rbx, qword [0x1800b6930]
cmp byte [rbx + 0x2b89], 0
je 0x1800015b0
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.180004770
mov dword [rbx + 0x2d0c], 0x212
mov dword [rbx + 0x33e8], 0x5b
mov rcx, qword [0x1800b6930]
mov edx, 0x216
call fcn.180012290
cmp byte [rax], 0
je 0x180001632
xor edx, edx
mov ecx, 0x216
call fcn.180014a50
test al, al
je 0x180001632
lea ecx, [rdx + 0x5c]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180001632
mov rbx, qword [0x1800b6930]
cmp byte [rbx + 0x2b89], 0
je 0x18000161e
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.180004770
mov dword [rbx + 0x2d10], 0x216
mov dword [rbx + 0x33f8], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x1800054b0
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 0x18000550d
lea rbx, [0x18007b090]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800054f4
cmp r10, 2
jb 0x1800054f4
cmp byte [r9], r8b
jne 0x1800054f4
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 0x1800054d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000554f
lea rbx, [0x18007b090]
cmp r8b, 0x23
jne 0x180005533
cmp byte [r9], r8b
jne 0x180005533
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 0x180005520
mov rbx, qword [rsp + 8]
not eax
ret