joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180039070
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rcx, [0x18023852b]
call fcn.180141ee0
nop
movzx eax, byte [0x18021fc58]
test eax, eax
jne 0x1800390c8
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x18005e340]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov byte [0x18021fc58], 1
mov rax, qword [0x18021fc48]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x3ed8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x18]
mov rcx, qword [rbp + 0x120]
mov qword [rcx], rax
mov rax, qword [rbp + 0x120]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x18003a800
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x18023852b]
call fcn.180141ee0
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x18003a860
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x18023852b]
call fcn.180141ee0
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x18003b360
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x18023852b]
call fcn.180141ee0
nop
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x180151ce0]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x18003b3e0
mov dword [rbp + 0x120], 1
jmp 0x18003b3ea
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x18003b433
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x18003b3ab
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x18003b450
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x18023852b]
call fcn.180141ee0
nop
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x180151ce0]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x18003b596
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x18003b4ea
mov dword [rbp + 0x160], 1
jmp 0x18003b4f4
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x18003b591
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x18003b56b
cmp qword [rbp + 0x198], 2
jb 0x18003b56b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18003b56b
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18003b56b
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x18003b4b5
jmp 0x18003b630
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x18003b630
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x18003b607
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18003b607
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18003b607
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x18003b596
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1801205c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rcx, [0x18023887c]
call fcn.180141ee0
nop
movzx eax, byte [0x180226a6a]
test eax, eax
jne 0x18012061f
mov rax, qword [rbp + 0x1a0]
movsxd rax, dword [rax]
lea rcx, [0x18021dd90]
mov rdx, qword [rbp + 0x1a8]
mov rcx, qword [rcx + rax*8]
call fcn.1800e5c90
movzx eax, al
test eax, eax
je 0x18012061f
mov byte [0x180226a6a], 1
movzx eax, byte [0x180226a6a]
test eax, eax
je 0x1801206d2
mov rdx, qword [rbp + 0x1a8]
lea rcx, str.Tus_Ata
call fcn.1800e5c90
nop
mov dword [rbp + 0x164], 1
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x148]
call fcn.1801189a0
mov rcx, rax
call fcn.18011b3a0
nop
lea rax, [0x18018fa40]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 8]
add rax, 0x298
mov qword [rbp + 0x48], rax
jmp 0x180120697
mov rax, qword [rbp + 0x28]
add rax, 4
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 0x28], rax
je 0x1801206d2
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1801206d0
mov rax, qword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x68]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x180226a6a], 0
jmp 0x18012068b
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x1801208b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x18023887c]
call fcn.180141ee0
nop
movzx eax, byte [0x180226a3f]
test eax, eax
jne 0x18012090f
mov rax, qword [rbp + 0x160]
movsxd rax, dword [rax]
lea rcx, [0x18021dd90]
mov rdx, qword [rbp + 0x168]
mov rcx, qword [rcx + rax*8]
call fcn.1800e5c90
movzx eax, al
test eax, eax
je 0x18012090f
mov byte [0x180226a3f], 1
movzx eax, byte [0x180226a3f]
test eax, eax
je 0x1801209a9
mov rdx, qword [rbp + 0x168]
lea rcx, str.Tus_Ata
call fcn.1800e5c90
movzx eax, al
test eax, eax
je 0x18012093f
mov byte [0x180226a3f], 0
lea rax, [0x18018fa40]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 8]
add rax, 0x298
mov qword [rbp + 0x48], rax
jmp 0x18012096e
mov rax, qword [rbp + 0x28]
add rax, 4
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 0x28], rax
je 0x1801209a9
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1801209a7
mov rax, qword [rbp + 0x160]
mov rcx, qword [rbp + 0x68]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x180226a3f], 0
jmp 0x180120962
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1801216f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rcx, [0x18023887c]
call fcn.180141ee0
nop
movzx eax, byte [0x180226a6b]
test eax, eax
jne 0x18012174f
mov rax, qword [rbp + 0x1a0]
movsxd rax, dword [rax]
lea rcx, [0x18021dd90]
mov rdx, qword [rbp + 0x1a8]
mov rcx, qword [rcx + rax*8]
call fcn.1800e5c90
movzx eax, al
test eax, eax
je 0x18012174f
mov byte [0x180226a6b], 1
movzx eax, byte [0x180226a6b]
test eax, eax
je 0x180121802
mov rdx, qword [rbp + 0x1a8]
lea rcx, str.Tus_Ata
call fcn.1800e5c90
nop
mov dword [rbp + 0x164], 1
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x148]
call fcn.1801189a0
mov rcx, rax
call fcn.18011b3a0
nop
lea rax, [0x18018fa40]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 8]
add rax, 0x298
mov qword [rbp + 0x48], rax
jmp 0x1801217c7
mov rax, qword [rbp + 0x28]
add rax, 4
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 0x28], rax
je 0x180121802
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x180121800
mov rax, qword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x68]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x180226a6b], 0
jmp 0x1801217bb
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x180121cd0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x18023887c]
call fcn.180141ee0
nop
movzx eax, byte [0x180226a6c]
test eax, eax
jne 0x180121d2f
mov rax, qword [rbp + 0x160]
movsxd rax, dword [rax]
lea rcx, [0x18021dd90]
mov rdx, qword [rbp + 0x168]
mov rcx, qword [rcx + rax*8]
call fcn.1800e5c90
movzx eax, al
test eax, eax
je 0x180121d2f
mov byte [0x180226a6c], 1
movzx eax, byte [0x180226a6c]
test eax, eax
je 0x180121dc9
mov rdx, qword [rbp + 0x168]
lea rcx, str.Tus_Ata
call fcn.1800e5c90
movzx eax, al
test eax, eax
je 0x180121d5f
mov byte [0x180226a6c], 0
lea rax, [0x18018fa40]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 8]
add rax, 0x298
mov qword [rbp + 0x48], rax
jmp 0x180121d8e
mov rax, qword [rbp + 0x28]
add rax, 4
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 0x28], rax
je 0x180121dc9
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x180121dc7
mov rax, qword [rbp + 0x160]
mov rcx, qword [rbp + 0x68]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x180226a6c], 0
jmp 0x180121d82
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x180122ee0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rcx, [0x18023887c]
call fcn.180141ee0
nop
movzx eax, byte [0x180226a3c]
test eax, eax
jne 0x180122f3f
mov rax, qword [rbp + 0x1a0]
movsxd rax, dword [rax]
lea rcx, [0x18021dd90]
mov rdx, qword [rbp + 0x1a8]
mov rcx, qword [rcx + rax*8]
call fcn.1800e5c90
movzx eax, al
test eax, eax
je 0x180122f3f
mov byte [0x180226a3c], 1
movzx eax, byte [0x180226a3c]
test eax, eax
je 0x180122ff2
mov rdx, qword [rbp + 0x1a8]
lea rcx, str.Tus_Ata
call fcn.1800e5c90
nop
mov dword [rbp + 0x164], 1
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x148]
call fcn.1801189a0
mov rcx, rax
call fcn.18011b3a0
nop
lea rax, [0x18018fa40]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 8]
add rax, 0x298
mov qword [rbp + 0x48], rax
jmp 0x180122fb7
mov rax, qword [rbp + 0x28]
add rax, 4
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 0x28], rax
je 0x180122ff2
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x180122ff0
mov rax, qword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x68]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x180226a3c], 0
jmp 0x180122fab
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x180123950
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rcx, [0x18023887c]
call fcn.180141ee0
nop
movzx eax, byte [0x180226a3e]
test eax, eax
jne 0x1801239af
mov rax, qword [rbp + 0x1a0]
movsxd rax, dword [rax]
lea rcx, [0x18021dd90]
mov rdx, qword [rbp + 0x1a8]
mov rcx, qword [rcx + rax*8]
call fcn.1800e5c90
movzx eax, al
test eax, eax
je 0x1801239af
mov byte [0x180226a3e], 1
movzx eax, byte [0x180226a3e]
test eax, eax
je 0x180123a62
mov rdx, qword [rbp + 0x1a8]
lea rcx, str.Tus_Ata
call fcn.1800e5c90
nop
mov dword [rbp + 0x164], 1
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x148]
call fcn.1801189a0
mov rcx, rax
call fcn.18011b3a0
nop
lea rax, [0x18018fa40]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 8]
add rax, 0x298
mov qword [rbp + 0x48], rax
jmp 0x180123a27
mov rax, qword [rbp + 0x28]
add rax, 4
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 0x28], rax
je 0x180123a62
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x180123a60
mov rax, qword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x68]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x180226a3e], 0
jmp 0x180123a1b
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x180127380
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x18023887c]
call fcn.180141ee0
nop
movzx eax, byte [0x180226a6d]
test eax, eax
jne 0x1801273df
mov rax, qword [rbp + 0x160]
movsxd rax, dword [rax]
lea rcx, [0x18021dd90]
mov rdx, qword [rbp + 0x168]
mov rcx, qword [rcx + rax*8]
call fcn.1800e5c90
movzx eax, al
test eax, eax
je 0x1801273df
mov byte [0x180226a6d], 1
movzx eax, byte [0x180226a6d]
test eax, eax
je 0x180127479
mov rdx, qword [rbp + 0x168]
lea rcx, str.Tus_Ata
call fcn.1800e5c90
movzx eax, al
test eax, eax
je 0x18012740f
mov byte [0x180226a6d], 0
lea rax, [0x18018fa40]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 8]
add rax, 0x298
mov qword [rbp + 0x48], rax
jmp 0x18012743e
mov rax, qword [rbp + 0x28]
add rax, 4
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 0x28], rax
je 0x180127479
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x180127477
mov rax, qword [rbp + 0x160]
mov rcx, qword [rbp + 0x68]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x180226a6d], 0
jmp 0x180127432
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x180127490
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rcx, [0x18023887c]
call fcn.180141ee0
nop
movzx eax, byte [0x180226a3d]
test eax, eax
jne 0x1801274ef
mov rax, qword [rbp + 0x1a0]
movsxd rax, dword [rax]
lea rcx, [0x18021dd90]
mov rdx, qword [rbp + 0x1a8]
mov rcx, qword [rcx + rax*8]
call fcn.1800e5c90
movzx eax, al
test eax, eax
je 0x1801274ef
mov byte [0x180226a3d], 1
movzx eax, byte [0x180226a3d]
test eax, eax
je 0x1801275a2
mov rdx, qword [rbp + 0x1a8]
lea rcx, str.Tus_Ata
call fcn.1800e5c90
nop
mov dword [rbp + 0x164], 1
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x148]
call fcn.1801189a0
mov rcx, rax
call fcn.18011b3a0
nop
lea rax, [0x18018fa40]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 8]
add rax, 0x298
mov qword [rbp + 0x48], rax
jmp 0x180127567
mov rax, qword [rbp + 0x28]
add rax, 4
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 0x28], rax
je 0x1801275a2
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1801275a0
mov rax, qword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x68]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x180226a3d], 0
jmp 0x18012755b
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x180128460
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rcx, [0x18023887c]
call fcn.180141ee0
nop
movzx eax, byte [0x180226a68]
test eax, eax
jne 0x1801284bf
mov rax, qword [rbp + 0x1a0]
movsxd rax, dword [rax]
lea rcx, [0x18021dd90]
mov rdx, qword [rbp + 0x1a8]
mov rcx, qword [rcx + rax*8]
call fcn.1800e5c90
movzx eax, al
test eax, eax
je 0x1801284bf
mov byte [0x180226a68], 1
movzx eax, byte [0x180226a68]
test eax, eax
je 0x180128572
mov rdx, qword [rbp + 0x1a8]
lea rcx, str.Tus_Ata
call fcn.1800e5c90
nop
mov dword [rbp + 0x164], 1
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x148]
call fcn.1801189a0
mov rcx, rax
call fcn.18011b3a0
nop
lea rax, [0x18018fa40]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 8]
add rax, 0x298
mov qword [rbp + 0x48], rax
jmp 0x180128537
mov rax, qword [rbp + 0x28]
add rax, 4
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 0x28], rax
je 0x180128572
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x180128570
mov rax, qword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x68]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x180226a68], 0
jmp 0x18012852b
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x180128e50
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rcx, [0x18023887c]
call fcn.180141ee0
nop
movzx eax, byte [0x180226a69]
test eax, eax
jne 0x180128eaf
mov rax, qword [rbp + 0x1a0]
movsxd rax, dword [rax]
lea rcx, [0x18021dd90]
mov rdx, qword [rbp + 0x1a8]
mov rcx, qword [rcx + rax*8]
call fcn.1800e5c90
movzx eax, al
test eax, eax
je 0x180128eaf
mov byte [0x180226a69], 1
movzx eax, byte [0x180226a69]
test eax, eax
je 0x180128f62
mov rdx, qword [rbp + 0x1a8]
lea rcx, str.Tus_Ata
call fcn.1800e5c90
nop
mov dword [rbp + 0x164], 1
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x148]
call fcn.1801189a0
mov rcx, rax
call fcn.18011b3a0
nop
lea rax, [0x18018fa40]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 8]
add rax, 0x298
mov qword [rbp + 0x48], rax
jmp 0x180128f27
mov rax, qword [rbp + 0x28]
add rax, 4
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 0x28], rax
je 0x180128f62
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x180128f60
mov rax, qword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x68]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x180226a69], 0
jmp 0x180128f1b
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x180134d80
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x6b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x112
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6d8]
mov rax, qword [0x18021f4c0]
xor rax, rbp
mov qword [rbp + 0x678], rax
lea rcx, [0x180239940]
call fcn.180141ee0
nop
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
mov dword [rbp + 0x424], 0
mov dword [rsp + 0x20], 2
lea r9, [rbp + 0x424]
mov r8d, 0x400
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x6a0]
call sub.KERNEL32.dll_K32EnumProcessModulesEx
nop
mov eax, dword [rbp + 0x424]
xor edx, edx
mov ecx, 8
div rcx
mov dword [0x1802284a0], eax
lea rcx, [rbp - 0x30]
lea rdx, [0x180194a60]
call fcn.180141cb0
mov rcx, qword [rbp + 0x678]
xor rcx, rbp
call fcn.180142130
lea rsp, [rbp + 0x688]
pop rdi
pop rbp
ret
Function at 0x180135090
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x18021f4c0]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x18023993e]
call fcn.180141ee0
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x1801350f7
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1801350fe
mov al, 1
jmp 0x18013526e
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.180010f40
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.180010f40
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.180010f70
movzx eax, al
test eax, eax
je 0x180135161
xor al, al
jmp 0x18013526e
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x1801351d4
cmp dword [rbp + 0x160], 1
je 0x1801351df
cmp dword [rbp + 0x160], 3
je 0x18013525d
jmp 0x18013526c
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x18013522f
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x18013522f
xor al, al
jmp 0x18013526e
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x18013524a
mov dword [rbp + 0x154], 1
jmp 0x180135254
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x18013526e
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x18013526e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x180195400]
call fcn.180141cb0
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.180142130
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret