joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011160
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400a8fc0]
lea r11, [0x140048d80]
mov r8d, ecx
mov r10, qword [rax + 0x1d18]
movsxd rdx, dword [r10 + 0x108]
mov rax, qword [r10 + 0x110]
mov r9d, dword [rax + rdx*4 - 4]
not r9d
movzx eax, cl
movzx edx, r9b
xor rdx, rax
shr r9d, 8
mov eax, ecx
shr eax, 8
xor r9d, dword [r11 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
mov eax, r8d
xor rdx, rcx
shr eax, 0x10
xor r9d, dword [r11 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
mov eax, r8d
xor rdx, rcx
shr rax, 0x18
lea rcx, [r10 + 0x108]
xor r9d, dword [r11 + rdx*4]
movzx edx, r9b
xor rdx, rax
shr r9d, 8
xor r9d, dword [r11 + rdx*4]
lea rdx, [rsp + 0x30]
not r9d
mov dword [rsp + 0x30], r9d
call fcn.1400233e0
add rsp, 0x28
ret

Function at 0x140012000
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140098040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400a8fc0]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x140012060
cmp byte [rbx + 0x20d6], 0
jne 0x140012060
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002760
test dil, 1
je 0x140012187
jmp 0x1400120f1
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3178]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400905e4]
mov edx, 0x10
mulss xmm1, dword [0x1400905d4]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1ddc], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd4], xmm0
mov byte [rbx + 0x1dfc], 1
movss dword [rbx + 0x1dd8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x140090534]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
call fcn.140002760
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140012141
lea r11, [0x140048d80]
cmp r9b, 0x23
jne 0x140012124
cmp byte [r8], r9b
jne 0x140012124
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140012111
not ecx
call fcn.14000ab70
test rax, rax
je 0x140012187
cmp byte [rax + 0xcf], 0
je 0x140012187
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, 0x10
mov r9d, dword [rbx + 0x3178]
call fcn.140002760
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000d5f0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140045fa0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001a8e0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001ab1e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140098040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x140048d80]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14001aae6
mov rcx, rbp
call fcn.140019f20
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14001a9b1
movsxd rdx, dword [rbp + 0x31c0]
mov r8, qword [rbp + 0x31c8]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14001a9a1
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14001a999
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14001a99c
mov rdx, rcx
test rdx, rdx
jne 0x14001a970
cmp r8, r10
je 0x14001a9b1
cmp dword [r8], r9d
jne 0x14001a9b1
mov rcx, qword [r8 + 8]
jmp 0x14001a9b3
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x14001aa47
cmp qword [rcx + 0x18], 0
jne 0x14001aa3c
mov qword [rcx + 0x18], rbx
jmp 0x14001aa47
cmp qword [rcx + 0x20], 0
jne 0x14001aa47
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14001aa7c
nop
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001aa70
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.140002760
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14001aad8
cmp r9b, 0x23
jne 0x14001aabb
cmp byte [r8], r9b
jne 0x14001aabb
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x14001aaa8
not ecx
call fcn.14000ab70
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001a930
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140045fa0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140046d30
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1400140d0
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]
add rsp, 0x28
ret

Function at 0x140011316
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015460
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015480
xor al, al
jmp 0x140015501
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015493
xor al, al
jmp 0x140015501
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 0x1400154bd
xor al, al
jmp 0x140015501
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400154d1
xor al, al
jmp 0x140015501
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400154e3
xor al, al
jmp 0x140015501
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400154ff
xor al, al
jmp 0x140015501
mov al, 1
add rsp, 0x38
ret
Function at 0x140a5fbee
Capabilities:
Encode data using xor

Disassembly:
call fcn.140acc7ab
add byte [rax], al
add byte [rbp + 0x61], ch
insb byte [rdi], dx
insb byte [rdi], dx
outsd dx, dword [rsi]
invalid

Function at 0x140c10263
Capabilities:
Encode data using base64

Disassembly:
push 0x3d1166a4
neg qword [rsp]
js 0x140c3bc93
lea rsp, [rsp + 0x10]
jne 0x140c0dc3c
mov ecx, 0xf9b81d04
lea rcx, [rcx + rcx*4 - 0x3475c76f]
not cl
mov rcx, rax
push 0xffffffff92301316
jmp 0x140c431c2
lea rsp, [rsp + 8]
jmp 0x140c26bbd
Function at 0x140c29d40
Capabilities:
Encode data using xor

Disassembly:
lea rsp, [rsp + 0x10]
add rsp, rcx
push 0x6215750c
push 0x11a08f1d
test ebx, ebx
push 0x118efeac
jmp 0x140c042af

Function at 0x140c2cbaf
Capabilities:
Encode data using base64

Disassembly:
mov cl, byte [r9 + rdi - 0x2073]
not edi
mov qword [rsp + rbp - 0x4610fd0f], 0x4507b590
lea r9, [rbp + r9 - 0x4610fd05]
sub dword [rsp + rbp - 0x4610fd0f], edi
mov r10d, 0x99ae523f
shld rax, rdx, cl
mov qword [rbp + r9 - 0x4610fd0f], rax
lea r8, [r8 + rbp - 0x4610fd13]
xchg dword [rsp + rbp - 0x4610fd0d], ebp
mov ecx, dword [r8 + rbp*2 - 0x8a0e]
xor qword [rsp + rbp - 0x4507], 0x5faa5caf
pop rbp
xor ecx, esi
btc rdi, 0x33
neg bp
dec ecx
movsx eax, dil
mov edx, edi
call fcn.140c1c190

Function at 0x140c2cde7
Capabilities:
Encode data using base64

Disassembly:
lea ebx, [rbx + rcx*2 + 0xf356a39]
ror ebx, 1
sar qword [rsp + rcx - 0x4873], 0x9c
sar word [rsp + rcx - 0x4870], 0xb
shr word [rsp + rcx*2 - 0x90e2], 0xb
mov qword [rsp + rcx - 0x4873], rsi
xor dword [rsp + rcx - 0x4873], ebx
cqo
or r10b, al
call fcn.140c27f79
movsxd rdx, edx
not eax
or r10b, cl
adc r11, rdx
cqo
add bx, ax
jl 0x140c3f907
mov qword [rdi + r9], rcx
pop rax
pop rdx
ja fcn.140c1e553
mov r10d, 0xf7394832
movzx ecx, r10w
sar r10d, cl
mov rdi, r9
mov qword [r9 + rcx*8 - 0x24198], rdi
lea rbx, [rcx + rcx*4 + 0x6896d2b8]
mov ebx, dword [r8 + rcx - 0x4836]
mov edx, 0x2e8d739b
mov eax, edx
dec r10
xor ebx, esi
not r10w
push rax
neg ebx
xadd byte [rsp + rcx - 0x4831], cl
shl eax, 0xba
inc ebx
not byte [rsp + rcx*4 - 0x121c8]
ror ebx, 2
mov ebp, 0x7193e290
cdq
jmp 0x140c0dc63
pop r11
mov r10d, 0x60946fbb
movabs rcx, 0
mov edi, r10d
sub rsi, rcx
mov r10d, 0xde8a59ac
lea r11, [0x140c2cdff]
mov ecx, 0x2b37b286
lea r8, [r8 + rcx - 0x2b37b28a]
mov edx, dword [r8 + rcx*2 - 0x566f650c]
mov edi, r10d
mov eax, edi
movzx ebx, dil
xor edx, esi
push rax
sar dword [rsp + rcx*2 - 0x566f650a], 0xd5
not edx
add qword [rsp + rbx - 0xac], r10
bswap edx
not edx
lea edx, [rdx + r10 - 0x2cbed0a]
cdqe
mov qword [rsp + rcx - 0x2b37b286], rsi
xor dword [rsp + rax*2 + 0x42eb4ca8], edx
lea rbp, [rdi + rbx*8 - 0x7dcaca71]
pop rsi
bt rbp, r10
jae 0x140c20013
mov eax, 0x8fba8aad
bts eax, eax
sbb r8, 4
movzx ebx, ax
mov ebp, dword [r8 + rbx - 0xaaad]
xor ebp, esi
lea r10, [rbx + rbx*4 + 0x933f02d]
rol ebp, 1
movzx ecx, r10b
lea rdi, [rbx*8 - 0x5d5334ea]
not ebp
xor ebp, 0xfd8a3323
lea ebp, [rbp + rax - 0x1efb881d]
and rax, rcx
dec bx
ror ebp, 2
or r10b, dil
Function at 0x140c3f060
Capabilities:
Authenticate hmac

Disassembly:
mov esi, eax
xor dword [rsp + rcx*2 - 0x18864], ebp
or cl, sil
movsx edi, r10w
mov rsi, qword [rsp + rcx - 0xc436]
movsxd rbp, ebp
mov qword [rsp + rcx*4 - 0x310f8], rdx
adc r11, rbp
sub dword [rsp + rcx - 0xc43e], eax
pop rbp
rol r10d, cl
mov rcx, qword [r9 + rcx*4 - 0x310f8]
mov qword [rsp + r10*4 - 0x3850d348], r10
mov rdx, qword gs:[rcx + r10 - 0xe1434d2]
and bx, bx
jnp 0x140c2d3ba
mov qword [r9 + r10*2 - 0x1c2869a4], rdx
xor ebx, ebx
mov qword [rsp + r10*8 - 0x70a1a690], r11
ret

Function at 0x140c3f9d0
Capabilities:
Encrypt data using chaskey

Disassembly:
mov di, word [r9 + rdi*2 - 0x3d194b0c]
mov qword [rsp + r10*2 - 0x10e], r10
movzx edx, r10b
btc r10w, dx
not ax
push r10
adc dl, r10b
mov ecx, 0xc61082ae
not di
movsx ebp, cx
and ax, di
mov word [r10 + r9 - 5], ax
movzx ebx, byte [r8 + r10*2 - 0xf]
xor bl, sil
rol bl, 1
neg dword [rsp + r10 - 1]
lea rax, [rdx + 0x6cbca323]
cwd
add bl, dl
xadd eax, r10d
inc byte [rsp + r10 - 0x6cbca3b2]
neg bl
push rax
xor bl, dl
shl cl, 0xa3
xor sil, bl
mov word [rsp + r10 - 0x6cbca3ad], 0x1f19
lea rbx, [rsp + rbx + 0x18]
mov rbp, qword [r10 + rbx - 0x6cbca3b2]
mov qword [r9 + r10 - 0x6cbca3b8], rbp
dec dword [rsp + rdx*4 - 0x3ffee]
imul dword [rsp + r10 - 0x6cbca3a1]
sar ax, 0x2a
lea r9, [r10 + r9 - 0x6cbca3b8]
btc dx, 0x19
sal dword [rsp + rdx*2 - 0x4c9], 0x27
mov edi, dword [r8 + r10 - 0x6cbca3b7]
inc byte [rsp + rdx*2 - 0x4c3]
xadd r10, rcx
bt dx, ax
lea r8, [r8 + rdx*4 - 0x9b5]
shr byte [rsp + rdx - 0x25e], 0xc6
div dword [rsp + rdx - 0x260]
xor edi, esi
neg edi
lea edi, [rdi + rdx + 0x69329f05]
lea rbx, [rcx + rdx*2 - 0x117b94cd]
shr qword [rsp + rcx - 0x6cbca3ab], cl
pop rdx
bswap edi
sal dword [rsp + rax*8 - 0x26bc], 0xd5
lea rbp, [r10 + rdx*8 + 0x6e1d8d39]
neg edi
mov qword [rsp + rax - 0x4d0], rsi
xor dword [rsp + rax*2 - 0x9a8], edi
mov rsi, qword [rsp + rax - 0x4d0]
call fcn.140c36560
Function at 0x1400159f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x10040
call fcn.140031e20
sub rsp, rax
mov rbx, rcx
xor edx, edx
lea rcx, [0x140000000]
nop
movzx eax, byte [rdx + rcx + 0xaf300]
inc rdx
cmp rdx, 8
mov byte [rsp + rdx + 0x1f], al
movzx eax, byte [rdx + rcx + 0xaf087]
mov byte [rsp + rdx + 0x27], al
jl 0x140015a10
lea rdx, str.AU3_
lea rcx, [rsp + 0x10058]
call fcn.14001a380
lea rdx, [rsp + 0x10058]
lea rcx, [rsp + 0x30]
mov r8d, 4
call fcn.140019640
xor edi, edi
nop
mov r9, qword [rbx]
lea rcx, [rsp + 0x40]
mov edx, 1
mov r8d, 0x10000
call fcn.14001b5b8
cmp eax, 0x18
jl 0x140015adc
lea r10d, [rax - 0x14]
xor ecx, ecx
mov r11, rax
test r10d, r10d
jle 0x140015ab6
lea rdx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
movzx eax, byte [rdx + r8]
cmp byte [rsp + r8 + 0x20], al
je 0x140015ace
cmp r9d, 0x14
je 0x1400325e0
inc ecx
inc rdx
cmp ecx, r10d
jl 0x140015a90
mov rcx, qword [rbx]
mov edx, 0xffffffec
lea edi, [rdi + r11 - 0x14]
lea r8d, [rdx + 0x15]
call fcn.14001ae4c
jmp 0x140015a60
inc r8
inc r9d
cmp r8, 0x14
jl 0x140015a96
jmp 0x140015aa2
mov eax, 3
mov rbx, qword [rsp + 0x10050]
add rsp, 0x10040
pop rdi
ret
lea edx, [rdi + rcx + 0x14]
mov rcx, qword [rbx]
xor r8d, r8d
call fcn.14001ae4c
mov r9, qword [rbx]
mov edx, 1
lea r8d, [rdx + 3]
lea rcx, [rsp + 0x10058]
call fcn.14001b5b8
lea rdx, str.EA06
lea rcx, [rsp + 0x10058]
mov byte [rsp + 0x1005c], 0
call fcn.14001aa30
neg eax
sbb eax, eax
and eax, 4
jmp 0x140015ae1

Function at 0x140015bc0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x1d0
mov rdi, rcx
mov rsi, rdx
lea rcx, [0x14009a680]
or edx, 0xffffffff
call fcn.140015b00
lea rcx, [rsp + 0xc0]
mov rdx, rax
mov rbx, rax
call fcn.14001a380
mov rcx, rbx
call fcn.140018ec8
lea rcx, [rsp + 0x30]
call fcn.140015cb0
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x30]
call fcn.140015d40
xor ebp, ebp
mov dword [rdi + 0xc], ebp
mov rdx, rbp
mov ecx, ebp
movzx eax, byte [rsp + rdx + 0x30]
add rdx, 4
add ecx, eax
movzx eax, byte [rsp + rdx + 0x2d]
add ecx, eax
movzx eax, byte [rsp + rdx + 0x2e]
add ecx, eax
movzx eax, byte [rsp + rdx + 0x2f]
add ecx, eax
cmp rdx, 0x10
jl 0x140015c2d
mov dword [rdi + 0xc], ecx
lea rdx, [0x14009ce64]
mov rcx, rsi
call fcn.14001ad8c
mov qword [rdi], rax
test rax, rax
je 0x140035350
mov rcx, rdi
call fcn.1400159f0
test eax, eax
je 0x14003535a
mov rcx, qword [rdi]
mov ebx, eax
call fcn.14001b224
mov eax, ebx
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov eax, 1
jmp 0x140015c8d
mov r9, qword [rdi]
mov edx, 1
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0xf]
call fcn.14001b5b8
lea rdx, [rsp + 0x20]
mov r9d, 0x99f2
mov r8d, reloc.WSOCK32.dll_recv
mov rcx, rdi
call fcn.14005b0e0
mov dword [rdi + 0xc], ebp
mov ecx, ebp
movzx eax, byte [rsp + rbp + 0x20]
inc rbp
imul ecx, eax
cmp rbp, 0x10
jl 0x14003538e
mov dword [rdi + 0xc], ecx
mov rcx, qword [rdi]
call fcn.14001ca64
mov dword [rdi + 8], eax
xor eax, eax
jmp 0x140015c8d
Function at 0x140015cb0
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
add rcx, 0x44
lea r8d, [rdx + 8]
call fcn.140019a70
mov dword [rbx + 0x34], 0x67452301
mov dword [rbx + 0x38], 0xefcdab89
mov dword [rbx + 0x3c], 0x98badcfe
mov dword [rbx + 0x40], 0x10325476
add rsp, 0x20
pop rbx
ret

Function at 0x140016910
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, dword [rcx + 0x60]
mov rdi, rcx
cmp dword [rcx + 0x64], esi
je 0x14001693e
movsxd rcx, dword [rdi + 0x64]
movzx eax, byte [rcx + rdi + 0x1c]
inc ecx
mov dword [rdi + 0x64], ecx
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, 4
mov qword [rsp + 0x30], rbx
cmp esi, eax
cmovg esi, eax
sub eax, esi
movsxd rbx, esi
lea rdx, [rbx + rcx + 0x18]
movsxd r8, eax
add rcx, 0x18
call fcn.140019640
movsxd r11, dword [rdi + 0x60]
mov rcx, rdi
sub r11, rbx
sub rcx, rbx
mov r8, rbx
lea rdx, [r11 + rdi + 0x1c]
add rcx, 0x1c
call fcn.140019640
mov r9, qword [rdi + 8]
mov edx, 1
lea r8d, [rdx + 0x3f]
lea rcx, [rdi + 0x1c]
mov dword [rdi + 0x5c], esi
call fcn.14001b5b8
mov rbx, qword [rsp + 0x30]
mov dword [rdi + 0x64], 0
mov dword [rdi + 0x60], eax
test eax, eax
jne 0x140016925
mov rcx, qword [rdi + 8]
call fcn.14001b5d8
test eax, eax
je 0x140032880
or eax, 0xffffffff
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rdi + 8]
call fcn.14001b610
test eax, eax
jne 0x1400169c2
jmp 0x140016933
Function at 0x1400169d0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
push r13
sub rsp, 0x20
mov ebx, r8d
mov r13, rdx
mov rdi, rcx
call fcn.140016910
cmp eax, 0xffffffff
je 0x140016b04
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r12
xor r12d, r12d
lea edx, [r12 + 1]
mov rcx, rdi
mov qword [rsp + 0x58], r14
call fcn.140016840
lea r11d, [rbx - 1]
xor esi, esi
movsxd r14, r11d
test r11d, r11d
jle 0x140016a6f
mov qword [rsp + 0x40], rbp
mov ebp, dword [rdi + 0x60]
cmp dword [rdi + 0x64], ebp
je 0x140016a91
movsxd rcx, dword [rdi + 0x64]
movzx edx, byte [rcx + rdi + 0x1c]
lea eax, [rcx + 1]
mov dword [rdi + 0x64], eax
cmp edx, 0xd
je 0x140016a59
cmp edx, 0xffffffff
je 0x140016a6a
cmp edx, 0xa
je 0x140016a6a
mov byte [rsi + r13], dl
inc rsi
inc r12d
cmp rsi, r14
jl 0x140016a22
jmp 0x140016a6a
mov rcx, rdi
call fcn.140016910
cmp eax, 0xa
jne 0x1400328c9
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
movsxd rax, r12d
mov r12, qword [rsp + 0x50]
mov byte [rax + r13], 0
mov al, 1
add rsp, 0x20
pop r13
pop rdi
pop rbx
ret
cmp ebp, 4
jle 0x140016a9b
mov ebp, 4
mov eax, 4
movsxd rbx, ebp
lea rcx, [rdi + 0x18]
sub eax, ebp
lea rdx, [rbx + rdi + 0x18]
movsxd r8, eax
call fcn.140019640
movsxd r11, dword [rdi + 0x60]
mov rcx, rdi
sub r11, rbx
sub rcx, rbx
mov r8, rbx
lea rdx, [r11 + rdi + 0x1c]
add rcx, 0x1c
call fcn.140019640
mov r9, qword [rdi + 8]
mov edx, 1
lea r8d, [rdx + 0x3f]
lea rcx, [rdi + 0x1c]
mov dword [rdi + 0x5c], ebp
call fcn.14001b5b8
mov dword [rdi + 0x64], 0
mov dword [rdi + 0x60], eax
test eax, eax
jne 0x140016a2a
jmp 0x1400328a0
xor al, al
add rsp, 0x20
pop r13
pop rdi
pop rbx
ret
mov rcx, qword [rdi + 8]
call fcn.14001b5d8
test eax, eax
jne 0x140016a6a
mov rcx, qword [rdi + 8]
call fcn.14001b610
test eax, eax
jne 0x140016a6a
xor edx, edx
jmp 0x140016a48
cmp eax, 0xffffffff
je 0x140016a6a
mov edx, 1
mov rcx, rdi
call fcn.140016840
nop
jmp 0x140016a6a
Function at 0x140017620
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx]
mov rbx, rcx
test al, 2
jne 0x140032990
test al, 1
jne 0x140032990
add rsp, 0x20
pop rbx
ret
test al, 1
je 0x1400329ae
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x30]
call fcn.14001aefc
cmp qword [rsp + 0x30], 0
jne 0x14001763b
mov eax, dword [rbx]
test al, 0x20
je 0x1400329d9
mov r9, qword [rbx + 8]
mov edx, 1
lea rcx, [0x14009c354]
lea r8d, [rdx + 1]
call fcn.14001b0f4
mov dword [rbx + 0x14], 1
jmp 0x14001763b
test al, 0x40
je 0x140032a02
mov r9, qword [rbx + 8]
mov edx, 1
lea rcx, [0x14009c418]
lea r8d, [rdx + 1]
call fcn.14001b0f4
mov dword [rbx + 0x14], 2
jmp 0x14001763b
test al, al
jns 0x14001763b
mov r9, qword [rbx + 8]
mov edx, 1
lea rcx, [0x14009ce60]
lea r8d, [rdx + 2]
call fcn.14001b0f4
mov dword [rbx + 0x14], 4
jmp 0x14001763b

Function at 0x140017690
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [rcx]
mov dword [rcx + 0x14], 0
mov byte [rcx + 0x10], 0
test al, 4
jne 0x14001774b
test al, 0x10
jne 0x14001774b
mov qword [rsp + 0x38], rbx
mov r8, rdx
mov rbx, rcx
test al, al
js 0x1400328f0
test al, 0x20
jne 0x1400328fc
test al, 0x40
jne 0x140032908
lea rdx, [0x14009ce64]
mov rcx, r8
call fcn.14001ad8c
test rax, rax
je 0x140017746
mov edx, 1
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x40], rsi
lea r8d, [rdx + 2]
mov r9, rax
mov qword [rsp + 0x20], rdi
mov rdi, rax
call fcn.14001b5b8
mov rcx, rdi
mov rsi, rax
call fcn.14001b224
movzx ecx, byte [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
cmp rsi, 2
jb 0x140017738
cmp cl, 0xff
je 0x140032914
cmp cl, 0xfe
je 0x14003292f
cmp cl, 0xef
je 0x14003294a
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
add rsp, 0x28
ret
mov dword [rcx + 0x14], 4
jmp 0x1400176d4
mov dword [rcx + 0x14], 1
jmp 0x1400176d4
mov dword [rcx + 0x14], 2
jmp 0x1400176d4
cmp byte [rsp + 0x31], 0xfe
jne 0x140017738
mov dword [rbx + 0x14], 1
mov byte [rbx + 0x10], 1
jmp 0x140017741
cmp byte [rsp + 0x31], 0xff
jne 0x140017738
mov dword [rbx + 0x14], 2
mov byte [rbx + 0x10], 1
jmp 0x140017741
cmp rsi, 3
jb 0x140017741
cmp byte [rsp + 0x31], 0xbb
jne 0x140017741
cmp byte [rsp + 0x32], 0xbf
jne 0x140017741
mov dword [rbx + 0x14], 4
mov byte [rbx + 0x10], 1
jmp 0x140017741
Function at 0x140017c70
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor eax, eax
mov rbx, rcx
mov dword [rcx], 5
mov dword [rcx + 4], 5
mov byte [rcx + 8], 1
mov dword [rcx + 0x30], RegisterTypeLib
mov dword [rcx + 0x18], eax
mov byte [rcx + 9], al
mov qword [rcx + 0x10], rax
lea ecx, [rax + 0x5b]
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
lea ecx, [rdx + 0x10]
mov byte [rbx + 0x2d], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ecx, dword [rbx + 0x30]
xor edx, edx
mov byte [rbx + 0x2a], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
mov ecx, RegisterTypeLib
mov byte [rbx + 0x2b], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
lea ecx, [rdx + 0x11]
mov byte [rbx + 0x2c], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
lea ecx, [rdx + 0x12]
mov byte [rbx + 0x28], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
lea rcx, [rsp + 0x20]
mov byte [rbx + 0x29], al
call qword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
mov ebx, 1
lea rdi, [0x1400afa18]
nop
movzx ecx, byte [rbx + rdi]
call qword [sym.imp.USER32.dll_VkKeyScanA]
cmp ax, 0xffff
je 0x140017d89
inc rbx
cmp rbx, 7
jle 0x140017d10
lea rdx, str.0409
lea rcx, [rsp + 0x24]
call fcn.14001aa30
test eax, eax
je 0x140032b50
lea rdx, str.0809
lea rcx, [rsp + 0x24]
call fcn.14001aa30
test eax, eax
jne 0x140032b82
mov byte [0x1400afa1a], 0x20
mov byte [0x1400afa1d], 0x20
mov byte [0x1400afa1e], 0x20
mov byte [0x1400afa1b], 0x20
mov byte [0x1400afa1c], 0x20
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov byte [rbx + rdi], SafeArrayAllocDescriptor
jmp 0x140017d20
lea rdx, str.0002
lea rcx, [rsp + 0x20]
mov r8d, 4
call fcn.14001aaf0
mov byte [0x1400afa1a], 0x20
mov byte [0x1400afa1d], 0x20
test eax, eax
je 0x140017d7e
jmp 0x140017d69
lea rdx, [0x14009b5b0]
lea rcx, [rsp + 0x26]
call fcn.14001aa30
test eax, eax
jne 0x140032ba3
mov byte [0x1400afa1d], 0x20
jmp 0x140017d77
lea rdx, [0x14009b5b4]
lea rcx, [rsp + 0x26]
call fcn.14001aa30
test eax, eax
je 0x140017d5b
lea rdx, [0x14009b5b8]
lea rcx, [rsp + 0x26]
call fcn.14001aa30
test eax, eax
je 0x140017d77
lea rdx, [0x14009b5bc]
lea rcx, [rsp + 0x26]
call fcn.14001aa30
test eax, eax
jne 0x140017d7e
jmp 0x140017d62

Function at 0x1400183e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [rsp + 0x60]
lea eax, [r9 + r9]
mov rdi, r8
mov dword [rsp + 0x58], eax
xor eax, eax
mov r9d, 1
mov word [rbx], ax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001844a
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret