joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003ea80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x1003ea9b
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x1003eab7
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x1003eaa6
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
mov eax, dword [ecx + esi]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x1003eaf0
cmp eax, edi
jne 0x1003eae8
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x1003eaf8
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1003eaf8
cmp eax, edi
jne 0x1003eafb
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
lea ecx, [edx + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ecx + 4]
call fcn.1003e510
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1003eb30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 8], ecx
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
mov dword [ebp - 4], ebx
jb 0x1003eb4f
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x1003eb71
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1003eb60
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebp - 0xc], eax
cmp edx, ebx
jne 0x1003eb9b
mov eax, ebx
jmp 0x1003eb9f
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x1003ec0a
cmp dword [edi + 0x14], 0x10
lea eax, [esi + 8]
mov ecx, edi
jb 0x1003ebb0
mov ecx, dword [edi]
mov edi, dword [eax + 0x14]
cmp edi, 0x10
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
jb 0x1003ebc6
mov eax, dword [eax]
push dword [ebp - 4]
push ecx
push edx
push eax
call fcn.1003df70
add esp, 0x10
test al, al
jne 0x1003ebe2
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x1003eb93
cmp dword [ebp - 0x10], 0x10
lea eax, [esi + 8]
jb 0x1003ebed
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
jb 0x1003ebf5
mov edi, dword [edi]
push dword [ebp - 0x14]
push eax
push dword [ebp - 4]
push edi
call fcn.1003df70
add esp, 0x10
test al, al
cmovne ebx, esi
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100401f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101038d0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10143118]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 4], 0
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 4]
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
shl ecx, 3
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + ecx]
cmp eax, edx
jne 0x10040278
mov esi, edx
jmp 0x10040280
mov esi, dword [esi + ecx + 4]
mov esi, dword [esi]
nop
cmp esi, eax
je 0x100402ab
mov esi, dword [esi + 4]
mov ecx, dword [edi]
cmp ecx, dword [esi + 8]
jne 0x10040280
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edx]
push edi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], eax
mov ecx, dword [eax + 4]
push ecx
mov dword [ebp - 0x18], ecx
lea ecx, [ebx + 4]
push eax
call fcn.100401d0
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x100403ac
inc eax
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
mov dword [eax], edx
mov ecx, dword [ebx + 4]
mov edi, dword [ecx]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x1004031e
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 4]
mov edx, dword [ebp + 0xc]
add edx, dword [ebx + 0xc]
mov eax, dword [edx]
cmp eax, ecx
jne 0x10040338
mov ecx, dword [ebp + 0xc]
mov dword [edx], edi
mov eax, dword [ebx + 0xc]
mov dword [ecx + eax + 4], edi
jmp 0x1004035b
cmp eax, esi
jne 0x10040340
mov dword [edx], edi
jmp 0x1004035b
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov dword [edx + 4], eax
cmp eax, edi
je 0x1004035b
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.10040aa0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.list_T__too_long
call fcn.100aca27
int3
Function at 0x100403c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101038f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10143118]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx + 4]
mov dword [ebp - 4], 0
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x1004049b
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
nop
cmp esi, eax
je 0x1004049b
mov esi, dword [esi + 4]
mov ecx, dword [edi]
cmp ecx, dword [esi + 8]
jne 0x10040450
mov edx, dword [ebp + 0x10]
push 0xc
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.100d92cf
mov eax, dword [ebp + 8]
add esp, 8
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x100404cb
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x100404e2
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x10040504
cmp eax, esi
jne 0x100404ea
mov dword [ecx], edi
jmp 0x10040504
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x10040504
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.10040aa0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10040b40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10103930
mov eax, dword fs:[0]
push eax
sub esp, 0xa08
push ebx
push esi
push edi
mov eax, dword [0x10143118]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10cc27e8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10cbbf14]
cmp eax, dword [ecx + 4]
jg 0x10040ca1
mov ebx, dword [ebp + 8]
movzx eax, bl
xor eax, 0x811c9dc5
mov edx, dword [0x10cbbef8]
imul ecx, eax, 0x1000193
movzx eax, bh
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul esi, ecx, 0x1000193
mov ecx, dword [0x10cbbf00]
and esi, dword [0x10cbbf0c]
mov edi, dword [ecx + esi*8]
mov eax, edi
cmp edi, edx
jne 0x10040bde
mov ecx, edx
jmp 0x10040be4
mov ecx, dword [ecx + esi*8 + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10040c0f
cmp dword [eax + 8], ebx
je 0x10040bf7
mov eax, dword [eax]
mov ecx, dword [0x10cbbf00]
jmp 0x10040bd6
cmp eax, edx
je 0x10040c0f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x10]
lea eax, [ebp + 8]
mov ecx, 0x10cbbef4
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100401f0
push 0x198
lea eax, [ebp - 0xa0c]
push 0
push eax
call fcn.100dbff0
push 0x85c
lea eax, [ebp - 0x870]
push 0
push eax
call fcn.100dbff0
mov eax, dword [ebp + 8]
lea esi, [ebp - 0xa14]
add esp, 0x18
mov dword [ebp - 0xa14], eax
mov ecx, 0x280
mov dword [ebp - 0xa10], 0
mov dword [ebp - 0x874], 0x10040fa0
push str.attachCaller
sub esp, 0xa00
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10007ff0
add esp, 0xa04
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10cbbf14
call fcn.100d94cd
add esp, 4
cmp dword [0x10cbbf14], 0xffffffff
jne 0x10040b8b
push 0
push 0
mov ecx, 0x10cbbef8
mov dword [ebp - 4], 0
call fcn.10040a70
mov dword [0x10cbbef8], eax
mov dword [0x10cbbf00], 0
mov dword [0x10cbbf04], 0
mov dword [0x10cbbf08], 0
push 8
mov ecx, 0x10cbbef4
mov byte [ebp - 4], 2
mov dword [0x10cbbef4], 0x3f800000
call fcn.10009f30
push 0x1010b770
call fcn.100d9140
push 0x10cbbf14
mov dword [ebp - 4], 0xffffffff
call fcn.100d9483
add esp, 8
jmp 0x10040b8b
Function at 0x10040d40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x10040db3
cmp eax, edi
jne 0x10040dab
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x10040dbb
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10040dbb
cmp eax, edi
jne 0x10040dbe
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push 0xc
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.100d92cf
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10055cb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 4], esi
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov ebx, dword [edx + ecx*8]
mov eax, ebx
lea edx, [edx + ecx*8]
cmp ebx, esi
jne 0x10055d0e
mov ecx, esi
jmp 0x10055d13
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10055d26
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x10055d22
mov eax, dword [eax]
jmp 0x10055d06
cmp eax, esi
jne 0x10055d7a
mov esi, dword [esi]
lea eax, [ebp + 0xb]
mov ebx, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
mov edi, dword [esi + 4]
push eax
push 0x1010fbb0
push edi
push esi
lea ecx, [ebx + 4]
call fcn.1001f1d0
mov edx, eax
mov ecx, 0xffffffe
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x10055d86
inc eax
mov ecx, ebx
mov dword [ebx + 8], eax
mov dword [esi + 4], edx
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1000b690
mov eax, dword [ebp - 0xc]
pop edi
pop esi
add eax, 0xc
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.list_T__too_long
call fcn.100aca27
int3
Function at 0x10062f80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x10143118]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x80
push 3
push 0
push 1
push 1
push str.RIO.INI
mov dword [ebp - 0x250], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1006303b
mov ecx, dword [0x10cc12e8]
mov edx, ecx
lea esi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10062fd0
sub edx, esi
sar edx, 1
cmp edx, 3
jbe 0x10063099
lea esi, [ebp - 0x24c]
sub esi, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x10062ff0
push 0
push 0x80
push 3
push 0
push 1
push 1
lea eax, [ebp - 0x24c]
mov dword [ebp + edx*2 - 0x250], 0x69006e
mov ecx, 0x69
push eax
mov word [ebp + edx*2 - 0x252], cx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10063099
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.100dbff0
add esp, 0xc
lea eax, [ebp - 0x254]
push 0
push eax
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x44]
mov byte [ebp - 5], 0
push 0x10114e30
push eax
call fcn.100dcaf0
add esp, 8
test eax, eax
je 0x10063099
lea ecx, [ebp - 0x250]
add eax, 3
push ecx
push 0x10114e34
push eax
call fcn.10063c10
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x250]
xor ecx, ebp
pop esi
call fcn.100d92f9
mov esp, ebp
pop ebp
ret

Function at 0x100666f0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x1505
push ebx
push esi
xor esi, esi
mov bl, byte [eax]
push edi
lea edi, [eax + 1]
test bl, bl
je 0x10066731
nop dword [eax]
mov eax, ecx
lea edi, [edi + 1]
mov edx, esi
shld esi, ecx, 5
shl ecx, 5
add ecx, eax
movzx eax, bl
mov bl, byte [edi - 1]
adc esi, edx
cdq
add ecx, eax
adc esi, edx
test bl, bl
jne 0x10066710
pop edi
mov edx, esi
mov eax, ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x10079640
Capabilities:
Link many functions at runtime
Write clipboard data

Disassembly:
jmp fcn.1009d110
mov ecx, dword [ecx + 4]
jmp 0x10028c70
Function at 0x1007ee00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10143118]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1014a13d], 0
push esi
je 0x1007ee86
mov eax, dword [0x10149fc8]
xor edx, edx
mov esi, dword [ebp + 8]
add eax, 0x8d0
nop dword [eax]
cmp byte [eax - 0x18], 0
je 0x1007ee7d
movups xmm1, xmmword [esi]
movups xmm0, xmmword [esi + 0x10]
movd ecx, xmm1
movups xmmword [ebp - 0x24], xmm1
movups xmmword [ebp - 0x14], xmm0
cmp dword [eax - 0x10], ecx
jne 0x1007ee7d
mov ecx, dword [eax - 8]
cmp ecx, dword [ebp - 0x1c]
jne 0x1007ee7d
mov ecx, dword [eax - 4]
cmp ecx, dword [ebp - 0x18]
jne 0x1007ee7d
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x14]
jne 0x1007ee7d
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x10]
jne 0x1007ee7d
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0xc]
jne 0x1007ee7d
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp - 8]
je 0x1007ee97
inc edx
add eax, 0x28
cmp edx, 0x20
jb 0x1007ee30
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d92f9
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test al, 0xf0
jne 0x1007eeb5
push 0x10
call esi
test al, 0xf0
je 0x1007eec3
push 0xd
call esi
test al, 0xf0
jne 0x1007eec3
mov eax, dword [0x10149fc8]
cmp byte [eax + 0x8b0], 0
jne 0x1007ee86
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100d92f9
mov esp, ebp
pop ebp
ret
Function at 0x1007f480
Capabilities:
Hash data using djb2
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x10143118]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x10]
add eax, eax
cmp dword [edi + 0x14], 8
jb 0x1007f4a6
mov edi, dword [edi]
xor ebx, ebx
mov esi, 0x1505
test eax, eax
je 0x1007f4dd
dec eax
lea edi, [edi + 1]
mov dword [ebp - 0x410], eax
mov ecx, ebx
mov eax, esi
shld ebx, esi, 5
shl esi, 5
add esi, eax
movzx eax, byte [edi - 1]
cdq
adc ebx, ecx
add esi, eax
mov eax, dword [ebp - 0x410]
adc ebx, edx
test eax, eax
jne 0x1007f4b1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push esi
push eax
lea eax, [ebp - 0x3ec]
push str.LUNA_NOTIFY._d._llu
push eax
call fcn.100291a0
add esp, 0x14
lea eax, [ebp - 0x3ec]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x410], eax
test ebx, ebx
je 0x1007f5ae
mov edi, dword [ebp + 0xc]
cmp byte [0x1014a13d], 0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
je 0x1007f5ae
mov eax, dword [0x10149fc8]
xor edx, edx
add eax, 0x8d0
nop dword [eax]
cmp byte [eax - 0x18], 0
je 0x1007f5a5
movups xmm1, xmmword [edi]
movups xmm0, xmmword [edi + 0x10]
movd ecx, xmm1
movups xmmword [ebp - 0x40c], xmm1
movups xmmword [ebp - 0x3fc], xmm0
cmp dword [eax - 0x10], ecx
jne 0x1007f5a5
mov ecx, dword [eax - 8]
cmp ecx, dword [ebp - 0x404]
jne 0x1007f5a5
mov ecx, dword [eax - 4]
cmp ecx, dword [ebp - 0x400]
jne 0x1007f5a5
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x3fc]
jne 0x1007f5a5
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x3f8]
jne 0x1007f5a5
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x3f4]
jne 0x1007f5a5
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp - 0x3f0]
je 0x1007f5cf
inc edx
add eax, 0x28
cmp edx, 0x20
jb 0x1007f540
xor bl, bl
push dword [ebp - 0x410]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d92f9
mov esp, ebp
pop ebp
ret
push 0x11
call esi
test al, 0xf0
jne 0x1007f5e7
push 0x10
call esi
test al, 0xf0
je 0x1007f5f5
push 0xd
call esi
test al, 0xf0
jne 0x1007f5f5
mov eax, dword [0x10149fc8]
cmp byte [eax + 0x8b0], 0
jne 0x1007f5ae
cmp ebx, 0x64
mov eax, 0x64
mov esi, ebx
cmova esi, eax
push esi
push dword [ebp - 0x410]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1007f61c
sub ebx, esi
je 0x1007f5ae
jmp 0x1007f521
mov bl, 1
jmp 0x1007f5b0
Function at 0x10082830
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10106858
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10143118]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10cc17c4
mov dword [ebp - 0x18], 0x10cc17c4
call fcn.100acea0
add esp, 4
test eax, eax
je 0x10082879
push eax
call fcn.100ad0c0
add esp, 4
mov eax, dword [0x10cc17f4]
xor edi, edi
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [eax + 4]
nop dword [eax]
mov esi, eax
mov dword [ebp - 0x14], edi
mov eax, ecx
mov bl, byte [eax + 0xd]
mov byte [ebp - 0xd], bl
test bl, bl
mov ebx, dword [ebp + 8]
jne 0x100828da
cmp dword [eax + 0x10], edx
jae 0x100828ae
mov eax, dword [eax + 8]
jmp 0x100828b2
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x100828a4
mov eax, dword [0x10cc17f4]
cmp esi, eax
je 0x100828df
cmp edx, dword [esi + 0x10]
jb 0x100828df
cmp byte [ebp - 0xd], 0
jne 0x10082a04
cmp dword [ecx + 0x10], edx
jae 0x1008291e
mov ecx, dword [ecx + 8]
jmp 0x10082922
mov eax, dword [0x10cc17f4]
inc edi
dec edx
cmp dword [ebp - 0x14], 0
jl 0x10082890
xor bl, bl
push 0x10cc17c4
mov dword [ebp - 4], 1
call fcn.100acec5
add esp, 4
test eax, eax
je 0x1008290a
push eax
call fcn.100ad0c0
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x100828d0
cmp eax, dword [0x10cc17f4]
je 0x10082a04
cmp edx, dword [eax + 0x10]
jb 0x10082a04
lea esi, [eax + 0x18]
test esi, esi
je 0x100828e7
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 0x40
push 4
push dword [esi]
call edi
test eax, eax
je 0x1008296e
mov ecx, dword [esi]
mov al, byte [esi + 0x3c]
mov byte [ecx], al
lea eax, [ebp + 8]
push eax
push dword [esi + 0x40]
push 4
push dword [esi]
call edi
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov edi, dword [0x10cc17f4]
mov esi, edi
mov eax, dword [edi + 4]
lea edx, [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x100829b1
nop dword [eax + eax]
mov ecx, dword [eax + 0x10]
cmp ecx, ebx
jae 0x1008299c
mov eax, dword [eax + 8]
jmp 0x100829ab
cmp byte [esi + 0xd], 0
je 0x100829a7
cmp ebx, ecx
cmovb esi, eax
mov edi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x10082990
cmp byte [esi + 0xd], 0
cmove edx, esi
mov eax, dword [edx]
cmp byte [eax + 0xd], 0
jne 0x100829d4
cmp ebx, dword [eax + 0x10]
jae 0x100829cb
mov esi, eax
mov eax, dword [eax]
jmp 0x100829ce
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
je 0x100829c0
mov dword [ebp + 8], edi
cmp edi, esi
je 0x100829ed
nop dword [eax + eax]
lea ecx, [ebp + 8]
call fcn.10007b40
cmp dword [ebp + 8], esi
jne 0x100829e0
push esi
push edi
lea eax, [ebp + 8]
mov ecx, 0x10cc17f4
push eax
call fcn.10082690
mov bl, 1
jmp 0x100828e9
push str.invalid_map_K__T__key
call fcn.100aca47
int3