joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405c40
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x0040e2a0]
xor edx, edx
mov r8, rcx
cmp word [r9], 0x5a4d
je 0x405c60
mov rax, rdx
add rsp, 0x28
ret
mov rcx, r9
call fcn.00405b20
test eax, eax
je 0x405c58
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add rax, r9
movzx edx, word [rax + 0x14]
lea rdx, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x405cbd
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x405cb4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x405c58
add rdx, 0x28
cmp rdx, r9
jne 0x405ca0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret

Function at 0x406da0
Capabilities:
Query environment variable

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12d, 1
sub r8d, 1
mov edi, ecx
mov ecx, 0x66666667
mov eax, r8d
mov rbp, rdx
movsxd rsi, r8d
imul ecx
sar r8d, 0x1f
mov rbx, r9
mov ecx, edx
sar ecx, 2
sub ecx, r8d
je 0x406df5
mov r8d, 0x66666667
nop dword [rax]
mov eax, ecx
sar ecx, 0x1f
add r12d, 1
imul r8d
sar edx, 2
sub edx, ecx
mov ecx, edx
jne 0x406de0
mov edx, dword [rbx + 0x2c]
cmp edx, 0xffffffff
je 0x406e70
mov ecx, dword [rbx + 0xc]
cmp r12d, edx
mov r9, rbx
cmovl r12d, edx
mov r8d, 1
lea edx, [r12 + 2]
mov eax, ecx
sub eax, edx
cmp ecx, edx
mov edx, 0xffffffff
cmovle eax, edx
mov ecx, edi
mov rdx, rbp
mov dword [rbx + 0xc], eax
add r12d, 1
call fcn.00406660
mov ecx, dword [rbx + 8]
mov eax, dword [rbx + 0x2c]
mov rdx, rbx
mov dword [rbx + 0x10], eax
mov eax, ecx
and ecx, 0x20
or eax, 0x1c0
or ecx, 0x45
mov dword [rbx + 8], eax
call fcn.00406210
add dword [rbx + 0xc], r12d
mov rdx, rbx
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.00406ad0
mov eax, dword [0x0040c070]
cmp eax, 0xffffffff
je 0x406e9c
test eax, eax
je 0x406e8c
mov edx, 2
mov dword [rbx + 0x2c], edx
jmp 0x406dfd
call fcn.0040b0e0
test al, 1
mov edx, 3
jne 0x406e7f
jmp 0x406e84
lea rcx, str.PRINTF_EXPONENT_DIGITS
call sub.msvcrt.dll_getenv
test rax, rax
je 0x406ec4
movsx eax, byte [rax]
sub eax, 0x30
cmp eax, 2
setbe al
movzx eax, al
mov dword [0x0040c070], eax
jmp 0x406e7b
xor eax, eax
jmp 0x406eb9
Function at 0x140000614
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140005810]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rdx
mov r14, rcx
mov qword [rbp + 0x17], rcx
mov qword [rbp + 0x27], rdx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x10], 0
mov r13d, 0xf
mov qword [rcx + 0x18], r13
mov byte [rcx], 0
lea rsi, [rcx + 0x20]
movups xmmword [rsi], xmm0
lea r15, [rsi + 0x10]
and qword [r15], 0
mov qword [rsi + 0x18], r13
mov byte [rsi], 0
movdqa xmm0, xmmword [0x140003f10]
movdqa xmmword [rbp - 0x49], xmm0
movdqa xmm1, xmmword [0x140003f20]
movdqa xmmword [rbp - 0x39], xmm1
movdqa xmm0, xmmword [0x140003f30]
movdqa xmmword [rbp - 0x29], xmm0
movdqa xmm1, xmmword [str.wxyz0123456789________.__:_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuv_]
movdqa xmmword [rbp - 0x19], xmm1
movdqa xmm0, xmmword [0x140003f00]
movdqa xmmword [rbp - 9], xmm0
mov dword [rbp + 7], 0x403f3e3d
mov dword [rbp + 0xb], 0x5e5d5c5b
lea edx, [r13 + 0x4f]
mov dword [rbp + 0xf], 0x7c7b605f
mov word [rbp + 0x13], 0x7e7d
cmp qword [rcx + 0x18], rdx
jb 0x140000703
mov rbx, qword [rcx]
mov qword [rcx + 0x10], rdx
mov r8d, edx
lea rdx, [rbp - 0x49]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x5e], 0
jmp 0x14000070c
lea r9, [rbp - 0x49]
call fcn.140002384
cmp rsi, rdi
je 0x140000755
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14000071e
mov r9, qword [rdi]
mov rbx, qword [rdi + 0x10]
cmp rbx, qword [rsi + 0x18]
ja 0x140000749
cmp qword [rsi + 0x18], 0x10
jb 0x140000732
mov rsi, qword [rsi]
mov qword [r15], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x140000755
mov rdx, rbx
mov rcx, rsi
call fcn.140002384
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000078b
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140000786
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400007c2
mov rcx, r8
call fcn.140002a6c
and qword [rdi + 0x10], 0
mov qword [rdi + 0x18], r13
mov byte [rdi], 0
mov rax, r14
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400027c0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400031fc
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x140001000
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
lea r8, str.GlobalSAMPLE_ABOUT_MUTEX
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
test rax, rax
je 0x14000104e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140001045
xor r9d, r9d
lea r8, str.MessageBox
lea rdx, str.This_is_a_messagebox___
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400015e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140001671
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x140001671
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001671
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140001655
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14000164f
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140001657
add rdx, 0x28
jmp 0x140001634
xor edx, edx
test rdx, rdx
jne 0x140001660
xor al, al
jmp 0x140001677
test dword [rdx + 0x24], 0x80000000
je 0x14000166d
xor al, al
jmp 0x140001677
mov al, 1
jmp 0x140001677
xor al, al
jmp 0x140001677
add rsp, 0x18
ret
Function at 0x1400024a4
Capabilities:
Parse pe header

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

Function at 0x140008910
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000870c
Function at 0x14000dc58
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 0x14000dc88
xor eax, eax
jmp 0x14000dd4b
mov rbp, rbx
cmp word [rax], si
je 0x14000dcad
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000dc94
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000dc90
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.14000db78
movsxd r14, eax
test eax, eax
jne 0x14000dceb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000dc81
mov rcx, r14
call fcn.14000a40c
mov rdi, rax
test rax, rax
jne 0x14000dd04
xor ecx, ecx
call fcn.140009794
jmp 0x14000dce0
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.14000db78
test eax, eax
jne 0x14000dd35
mov rcx, rdi
call fcn.140009794
jmp 0x14000dd3f
xor ecx, ecx
call fcn.140009794
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 0x14001206c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140012082
mov al, 1
jmp 0x1400120e2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140012093
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400120e0
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000e578
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400120e0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400120e0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400120e0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400120e2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140013120
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.14000cc48
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400131aa
cmp byte [rbp - 0x21], r15b
je 0x1400131a5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400131e0
call fcn.1400099e4
test eax, eax
jne 0x1400131cc
cmp byte [rbp - 0x21], r15b
je 0x1400131c4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400131e0
cmp byte [rbp - 0x21], r15b
je 0x1400131dd
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.14000c228
test eax, eax
jne 0x140013280
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000cc48
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001321f
cmp byte [rbp - 0x21], r15b
je 0x140013254
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140013254
call fcn.1400099e4
test eax, eax
jne 0x140013240
cmp byte [rbp - 0x21], r15b
je 0x140013239
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140013254
cmp byte [rbp - 0x21], r15b
je 0x140013251
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.14000c228
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140013280
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140013283
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140013291
mov rcx, rdi
call fcn.140009794
cmp byte [rbp + 0x3f], r15b
je 0x1400132a0
mov rcx, qword [rbp + 0x27]
call fcn.140009794
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 0x140001f40
Capabilities:
Parse pe header

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

Function at 0x14000835c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140008158
Function at 0x14000d000
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14000d087
mov rsi, rbx
cmp word [rax], bp
je 0x14000d046
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14000d030
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14000d02c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140009dc0
mov rdi, rax
test rax, rax
je 0x14000d074
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400034f0
mov rbp, rdi
xor ecx, ecx
call fcn.14000918c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400113ec
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140011402
mov al, 1
jmp 0x140011462
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140011413
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140011460
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000d8c0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140011460
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140011460
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140011460
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140011462
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140008ba4
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x1e8]
mov r10, r8
movsxd r9, dword [rcx + 0x1e0]
mov r11, rdx
mov rcx, r11
mov r8d, dword [rax + r9*4 - 4]
mov eax, r10d
sub eax, edx
neg r10
sbb edx, edx
and edx, eax
jmp fcn.1400095c0

Function at 0x140009250
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r15, r9d
mov rsi, r8
test r8, r8
je 0x140009277
and qword [r8], 0
call fcn.14000938c
mov rbx, rax
test rax, rax
je 0x140009370
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009367
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140009367
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009367
mov rax, qword [0x14004ae20]
mov rbp, rdi
test rax, rax
je 0x1400092df
inc dword [rax + 0x3c8]
mov rdx, qword [0x14004ae30]
lea rcx, [r15 + rdi]
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x140009367
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbp
je 0x14000933e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14004ae20]
test rax, rax
je 0x14000932c
dec dword [rax + 0x3c8]
mov rdx, qword [0x14004ae30]
mov rcx, rdi
call qword [0x140049008]
jmp 0x140009370
test r15d, r15d
jle 0x140009351
lea rcx, [rdi + rbp]
mov r8, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140009362
mov qword [rsi], rbp
mov rax, rdi
jmp 0x140009372
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400095c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x14004ae54], 0
lea rsi, [0x14004ae50]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x140009627
xor r9d, r9d
mov r11, rsi
mov r8d, r9d
mov edx, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub rdx, 1
jne 0x1400095f5
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x1400095ed
not ebx
mov edx, ebx
test edi, edi
jle 0x140009649
movzx eax, byte [r10]
inc r10
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
sub edi, 1
jne 0x14000962f
jmp 0x140009683
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x140009683
mov r9b, 0x23
cmp r8b, r9b
jne 0x140009668
cmp byte [r10], r9b
jne 0x140009668
cmp byte [r10 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r8b
mov r8b, byte [r10]
xor rcx, rax
shr edx, 8
inc r10
xor edx, dword [rsi + rcx*4]
test r8b, r8b
jne 0x140009657
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret
Function at 0x14000e858
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x14004ae20]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x14000e8c1
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14000e8cc
lea rdx, [0x14003db34]
mov rcx, rbx
mov rdi, rax
call fcn.14000938c
mov rbx, rax
test rax, rax
je 0x14000e8c1
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001d02c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor r14d, r14d
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rsi, rdx
movsxd rdi, r9d
mov rbp, rcx
test r9d, r9d
jle 0x14001d21d
lea rbx, [r8 + 0x20]
xor r13d, r13d
lea r8d, [r14 + 1]
mov r11d, pe_nt_image_headers64
xorps xmm7, xmm7
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001d0ce
movsxd r10, dword [rsi + 0x24]
mov r9, qword [rsi + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
mov r8d, 1
movd xmm0, eax
jmp 0x14001d0f0
movsxd rdx, dword [rsi + 0x1c]
mov rax, qword [rsi + 8]
xorps xmm6, xmmword [0x14003dcb0]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
mov al, byte [rbp + 0x20]
xor r15d, r15d
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
mov al, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], r15d
jle 0x14001d210
mov rcx, qword [rsp + 0xe0]
mov rax, r13
shl rax, 4
add rcx, 6
xor r12d, r12d
add rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001d13e
mov edx, dword [rbx - 0x1c]
add edx, r15d
jmp 0x14001d142
mov edx, dword [rax + r12]
mov rcx, rsi
call fcn.14001c790
mov edx, eax
xorps xmm3, xmm3
mov eax, dword [rbp + 0x24]
xorps xmm2, xmm2
mov rcx, rsi
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.14001cbc8
mov rcx, qword [rsp + 0x60]
mov r8d, 1
movzx eax, word [rbp + 0x20]
add r14d, r8d
sub ax, word [rsp + 0xd8]
add r13, r8
add ax, word [rbp + 0x1c]
add r15d, r8d
add ax, word [rsp + 0x50]
add r12, 4
sub ax, r8w
mov word [rcx - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x54]
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x58]
sub ax, r8w
mov word [rcx], ax
add rcx, 0x10
mov qword [rsp + 0x60], rcx
cmp r15d, dword [rbx - 0x10]
jl 0x14001d12d
mov r11d, pe_nt_image_headers64
add rbx, 0x28
sub rdi, r8
jne 0x14001d07c
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov eax, r14d
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14001e384
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14004aaa8]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.140008bd4
mov rcx, qword [0x14004b2a8]
lea rdx, [rbp - 0x18]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rbp - 0x10]
sub ecx, dword [rbp - 0x18]
movd xmm1, ecx
mov ecx, dword [rbp - 0xc]
sub ecx, dword [rbp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x20]
xorps xmm1, xmm1
sub rax, qword [0x14004b2b0]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x14004b2b8]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x20]
mov qword [0x14004b2b0], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x128], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x129], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x12b], 0
mov byte [rdi + 0x12a], al
call fcn.140008bd4
cmp byte [rax + 0x3a7], 0
lea rbx, [rax + 0x110]
je 0x14001e4ad
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x30]
cvttss2si eax, dword [rax + 0x114]
mov dword [rbp - 0x30], ecx
mov rcx, qword [0x14004b2a8]
mov dword [rbp - 0x2c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx], eax
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x14004b2a8]
jne 0x14001e502
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14001e502
mov rcx, qword [0x14004b2a8]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14001e502
movd xmm0, dword [rbp - 0x28]
movd xmm1, dword [rbp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x14001e510
or eax, 0xffffffff
jmp 0x14001e515
call fcn.140008c10
cmp dword [0x140049138], eax
je 0x14001e528
mov dword [0x140049138], eax
call fcn.14001e550
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14003a280
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret