joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800807f8
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x180080842
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x18020b928]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
jmp 0x18008087b
cmp rbx, r14
jb 0x180080878
cmp rbx, r12
jae 0x180080878
cmp qword [rbx + 8], rsi
jne 0x1800809dd
mov rbx, qword [rbx]
test rbx, rbx
jne 0x180080864
mov r15, rdi
cmp rdi, r14
jb 0x180080997
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
jmp 0x1800808c7
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180080901
cmp dword [rbp - 0x10], 0x10000
je 0x1800808d1
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x180080901
sub r15, r13
cmp r15, r14
jae 0x18008089d
jmp 0x180080901
test r15, r15
je 0x180080901
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800809a2
cmp r15, r14
jae 0x18008088c
test rbx, rbx
jmp 0x180080995
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x1800809dd
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800809dd
cmp dword [rbp - 0x10], 0x10000
je 0x180080970
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jbe 0x18008092d
jmp 0x1800809dd
test rdi, rdi
je 0x1800809dd
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800809a2
cmp rdi, r12
jbe 0x180080909
jmp 0x1800809dd
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x1800809ae
mov rax, qword [0x18020b928]
mov qword [rbx], rax
mov qword [0x18020b928], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x180088ab0
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.180082070
sub rsp, rax
mov rax, qword [0x1800d1040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180096b58
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180088aff
mov rax, rbp
jmp 0x180088c07
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, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x10a4c0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180096de8
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x10a4c0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180088c03
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 0x180088c03
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180096de8
test rax, rax
js 0x180088c03
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180088c03
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180088bf5
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180088bf5
cmp byte [rcx], 0xd
jne 0x180088bdb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180088bea
cmp byte [rcx + 1], 0xa
jne 0x180088bea
inc rcx
jmp 0x180088bea
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xd1400]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180088bbd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180088c07
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180081e90
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 0x140001458
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x178
mov rax, qword [0x140021008]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp qword [rsp + 0x190], 0
je 0x140001493
mov eax, dword [rsp + 0x198]
test rax, rax
jne 0x14000149a
xor eax, eax
jmp 0x1400015f5
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400014c7
xor eax, eax
jmp 0x1400015f5
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4550
je 0x1400014f4
xor eax, eax
jmp 0x1400015f5
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0xe0]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0
jmp 0x140001588
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jae 0x1400015f3
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x60]
call fcn.140001764
cmp dword [rsp + 0x198], eax
jne 0x1400015f1
mov rax, qword [rsp + 0x68]
jmp 0x1400015f5
jmp 0x14000157e
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400020d0
add rsp, 0x178
pop rdi
pop rsi
ret
Function at 0x140001610
Capabilities:
Access peb ldr_data

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x178
mov rax, qword [0x140021008]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov eax, dword [rsp + 0x180]
test rax, rax
jne 0x140001640
xor eax, eax
jmp 0x14000174a
mov rax, qword gs:[0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140001748
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x48]
test rax, rax
je 0x140001734
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x48]
cmp eax, 0x104
jge 0x140001734
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x1400016e5
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
movzx eax, word [rcx + rax*2]
mov ecx, eax
call fcn.140006300
mov ecx, dword [rsp + 0x20]
mov byte [rsp + rcx + 0x50], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x1400016a4
mov eax, dword [rsp + 0x20]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0x104
jae 0x1400016fb
jmp 0x140001700
call fcn.1400021f8
mov rax, qword [rsp + 0x30]
mov byte [rsp + rax + 0x50], 0
lea rcx, [rsp + 0x50]
call fcn.140001764
cmp eax, dword [rsp + 0x180]
jne 0x140001732
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx + rax + 0x20]
jmp 0x14000174a
jmp 0x140001736
jmp 0x140001748
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
jmp 0x14000166a
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400020d0
add rsp, 0x178
ret
Function at 0x140002af0
Capabilities:
Parse pe header

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

Function at 0x14000c5b8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000c3a8
Function at 0x140010688
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 0x1400106b8
xor eax, eax
jmp 0x14001077b
mov rbp, rbx
cmp word [rax], si
je 0x1400106dd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400106c4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400106c0
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.1400105d8
movsxd r14, eax
test eax, eax
jne 0x14001071b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400106b1
mov rcx, r14
call fcn.14000e1f4
mov rdi, rax
test rax, rax
jne 0x140010734
xor ecx, ecx
call fcn.14000e1b8
jmp 0x140010710
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.1400105d8
test eax, eax
jne 0x140010765
mov rcx, rdi
call fcn.14000e1b8
jmp 0x14001076f
xor ecx, ecx
call fcn.14000e1b8
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 0x140015520
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140012dd0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011271
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014120
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014140
xor al, al
jmp 0x1400141c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014153
xor al, al
jmp 0x1400141c1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001417d
xor al, al
jmp 0x1400141c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014191
xor al, al
jmp 0x1400141c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400141a3
xor al, al
jmp 0x1400141c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400141bf
xor al, al
jmp 0x1400141c1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012000
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011393
movzx eax, al
test eax, eax
jne 0x140012020
mov ecx, 7
call fcn.140011311
nop
mov byte [rsp + 0x20], 0
call fcn.140011325
mov byte [rsp + 0x21], al
cmp dword [0x14001d868], 1
jne 0x140012044
mov ecx, 7
call fcn.140011311
nop
jmp 0x14001209c
cmp dword [0x14001d868], 0
jne 0x140012097
mov dword [0x14001d868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.14001119a
test eax, eax
je 0x140012078
mov eax, 0xff
jmp 0x1400121a1
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001131b
mov dword [0x14001d868], 2
jmp 0x14001209c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400112fd
call fcn.140011294
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400120f9
mov rcx, qword [rsp + 0x30]
call fcn.140011159
movzx eax, al
test eax, eax
je 0x1400120f9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140023020]
nop
call fcn.1400112c6
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001212d
mov rcx, qword [rsp + 0x38]
call fcn.140011159
movzx eax, al
test eax, eax
je 0x14001212d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011352
nop
call fcn.140012250
mov dword [rsp + 0x28], eax
call fcn.140011271
movzx eax, al
test eax, eax
jne 0x14001214c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001215b
call fcn.14001135c
nop
xor edx, edx
mov cl, 1
call fcn.14001114a
mov eax, dword [rsp + 0x28]
jmp 0x1400121a1
add rsp, 0x68
ret
Function at 0x140018380
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1400b1080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call fcn.140082030
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400184f6
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rax, [rsp + 0x4c]
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1400183f0
cmp qword [rbx + 0x18], 7
mov r9, rbx
mov r10, qword [rbx + 0x10]
jbe 0x14001840b
mov r9, qword [rbx]
cmp rcx, r10
lea rdx, [rsp + 0x4c]
mov r8, r10
cmovb r8, rcx
test r8, r8
je 0x140018444
lea rax, [rsp + 0x4c]
sub r9, rax
nop word [rax + rax]
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x14001844f
add rdx, 2
sub r8, 1
jne 0x140018430
cmp r10, rcx
jb 0x14001844f
jbe 0x140018519
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400184ed
nop word [rax + rax]
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140018480
cmp qword [rbx + 0x18], 7
mov r9, rbx
mov r10, qword [rbx + 0x10]
jbe 0x14001849b
mov r9, qword [rbx]
cmp rax, r10
lea rdx, [rsp + 0x4c]
mov r8, r10
cmovb r8, rax
test r8, r8
je 0x1400184d4
lea rcx, [rsp + 0x4c]
sub r9, rcx
nop word [rax + rax]
movzx ecx, word [r9 + rdx]
cmp cx, word [rdx]
jne 0x1400184db
add rdx, 2
sub r8, 1
jne 0x1400184c0
cmp r10, rax
jb 0x1400184db
jbe 0x140018519
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140018470
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140054f90
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x1400184f8
Function at 0x140018b80
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400b1080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r14, r9
mov rbx, r8
mov r15, rdx
mov qword [rsp + 0x20], r9
xor r12d, r12d
movzx ebp, byte [rsp + 0xa0]
nop word [rax + rax]
mov eax, dword [0x1400b4c6c]
cmp eax, 1
jne 0x140018bdf
mov dword [0x1400b4c6c], 2
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140018bc0
cmp eax, 2
jne 0x140018d0a
mov edi, r12d
mov rsi, r12
mov rdx, qword [rbx]
mov rax, qword [rbx + 8]
sub rax, rdx
sar rax, 2
test rax, rax
je 0x140018cca
nop word [rax + rax]
mov r8d, dword [rdx + rsi*4]
mov rdx, qword [r14 + 8]
mov rcx, qword [r14]
call fcn.140053ad0
cmp rax, qword [r14 + 8]
jne 0x140018c37
mov rcx, qword [rbx]
mov ecx, dword [rcx + rsi*4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140018c54
inc edi
inc rsi
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, rdx
sar rcx, 2
movsxd rax, edi
cmp rax, rcx
jb 0x140018c10
jmp 0x140018cca
test bpl, bpl
jne 0x140018cba
mov eax, dword [r15]
mov dword [rsp + 0x28], eax
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140018c73
mov dword [rdx], eax
add qword [rbx + 8], 4
jmp 0x140018c80
lea r8, [rsp + 0x28]
mov rcx, rbx
call fcn.14001ce50
mov rax, qword [rbx]
mov r8d, dword [rax + rsi*4]
mov rcx, r15
mov eax, r8d
mov dword [rcx], eax
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
call fcn.140053ad0
mov r8, qword [rbx + 8]
cmp rax, r8
je 0x140018cc3
lea rdx, [rax + 4]
sub r8, rdx
mov rcx, rax
call fcn.140081990
add qword [rbx + 8], 0xfffffffffffffffc
jmp 0x140018cc3
mov rax, qword [rbx]
mov ecx, dword [rax + rsi*4]
mov dword [r15], ecx
mov dword [0x1400b4c6c], r12d
mov esi, r12d
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
sar rax, 2
test rax, rax
je 0x140018d0a
mov rdi, r12
mov rax, qword [rbx]
mov ecx, dword [rdi + rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140018ce0
inc esi
add rdi, 4
mov rcx, qword [rbx + 8]
sub rcx, qword [rbx]
sar rcx, 2
movsxd rax, esi
cmp rax, rcx
jb 0x140018ce0
cmp dword [0x1400b4c6c], r12d
je 0x140018d23
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140018bc0
mov rcx, qword [r14]
test rcx, rcx
je 0x140018d67
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x140018d57
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140018d83
mov rcx, r8
call fcn.140054fec
mov qword [r14], r12
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140054f90
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14005bdf8
int3
Function at 0x14001e520
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 0x14001e57d
lea rbx, [0x14009b670]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14001e564
cmp r10, 2
jb 0x14001e564
cmp byte [r9], r8b
jne 0x14001e564
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 0x14001e540
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001e5bf
lea rbx, [0x14009b670]
cmp r8b, 0x23
jne 0x14001e5a3
cmp byte [r9], r8b
jne 0x14001e5a3
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 0x14001e590
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14001e700
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14001e71a
mov qword [r8], 0
lea rdx, [0x14009fcf4]
call fcn.14001e5d0
mov rbx, rax
test rax, rax
jne 0x14001e73a
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 fcn.14005f608
mov esi, eax
cmp eax, 0xffffffff
je 0x14001e80a
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.14005fd98
test eax, eax
jne 0x14001e80a
mov rcx, rbx
call fcn.14005f608
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001e80a
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.14005fd98
test eax, eax
jne 0x14001e80a
cmp rdi, 0xffffffffffffffff
je 0x14001e80a
mov rax, qword [0x1400b48b0]
test rax, rax
je 0x14001e7ac
inc dword [rax + 0x3b0]
mov rcx, rdi
call fcn.140066170
mov rsi, rax
test rax, rax
je 0x14001e80a
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.140060b10
mov rcx, rbx
cmp rax, rdi
je 0x14001e7f8
call fcn.14005b1ac
mov rax, qword [0x1400b48b0]
test rax, rax
je 0x14001e7ee
dec dword [rax + 0x3b0]
mov rcx, rsi
call fcn.14005ba40
jmp 0x14001e812
call fcn.14005b1ac
test r14, r14
je 0x14001e805
mov qword [r14], rdi
mov rax, rsi
jmp 0x14001e814
mov rcx, rbx
call fcn.14005b1ac
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140020790
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd0]
lea r8, [0x14009b670]
movsxd rcx, dword [rcx + 0xc8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov rax, qword [0x1400b48b0]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
shr ebx, 8
xor rcx, r11
xor ebx, dword [r8 + rcx*4]
not ebx
cmp dword [rax + 0x1c6c], ebx
jne 0x14002081c
mov dword [rax + 0x1c70], ebx
cmp dword [rax + 0x1ca8], ebx
jne 0x14002082b
mov byte [rax + 0x1cac], 1
cmp dword [rax + 0x1c54], ebx
jne 0x140020842
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140031870
mov eax, ebx
add rsp, 0x20
pop rbx
ret