joyce8/EMBER2024-capa huggingface dataset:
Function at 0x660815fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
cmp ebx, esi
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
je 0x6608163a
and byte [ebx], 0
cmp dword [ebp + 0x14], esi
jne 0x6608164a
lea eax, [ebp + 0x14]
push eax
push esi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, esi
je 0x66081643
cmp eax, esi
mov dword [ebp + 0x14], esi
je 0x66081643
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
mov dword [ebp - 0xc], 1
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.660868ae
push dword [ebp - 4]
lea eax, [ebp - 0x90]
push 0x6604ff44
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push eax
lea eax, [ebp - 0x90]
push ebx
push eax
push dword [ebp + 0x14]
mov dword [ebp + 0xc], edi
call esi
test eax, eax
mov dword [ebp + 0x10], eax
je 0x660816a8
push edi
push ebx
push 0x7ea1
push dword [0x6610e6c8]
call dword [sym.imp.USER32.dll_LoadStringA]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x660816e6
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CoIsOle1Class]
test eax, eax
je 0x660816e6
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.6608692b
lea eax, [ebp + 0xc]
mov dword [ebp - 8], 1
push eax
push ebx
push dword [ebp - 0x10]
mov dword [ebp + 0xc], edi
push dword [ebp + 0x14]
call esi
test eax, eax
je 0x660816e6
and dword [ebp + 0xc], 0
cmp dword [ebp - 8], 0
je 0x660816fa
mov eax, dword [0x6610e6c4]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [0x6610e6c4]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
cmp dword [ebp - 0xc], 0
je 0x66081717
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
jmp 0x6608163c

Function at 0x66082232
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
push edi
mov eax, 0x66057fd0
push 0x66057fc0
push eax
mov dword [ebp - 4], 0x14
push dword [ebp + 8]
mov edi, 0xff
push eax
push 0x6601baf8
lea eax, [ebp - 0x118]
push 0x6604ff70
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
lea eax, [ebp + 8]
xor esi, esi
push eax
push 0x20019
lea eax, [ebp - 0x118]
push esi
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x660822f4
lea eax, [ebp - 4]
xor edi, edi
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push 0x66058060
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x660822eb
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0x18]
push 0x66058040
push eax
call esi
test eax, eax
jne 0x660822ca
push 1
pop edi
lea eax, [ebp - 0x18]
push 0x66058050
push eax
call esi
test eax, eax
je 0x660822e8
lea eax, [ebp - 0x18]
push 0x66058058
push eax
call esi
test eax, eax
jne 0x660822eb
push 1
pop edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x660844a8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
xor esi, esi
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov dword [ebp - 4], esi
push dword [ebp + 8]
mov dword [ebp - 0x58], 0x44
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, esi
jne 0x660844f7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp ebx, 0xffffffff
je 0x66084502
imul ebx, ebx, 0x3e8
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, esi
jne 0x6608452d
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x66084526
cmp dword [ebp + 0x10], esi
jne 0x6608452d
mov dword [ebp - 4], 1
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x14]
call edi
mov eax, dword [ebp - 4]
jmp 0x660844f0

Function at 0x66086e06
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
lea eax, [edi + edi*2]
shl eax, 2
push eax
push 0
push dword [0x6610e6c0]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 0x14]
test eax, eax
mov dword [ecx], eax
jne 0x66086e35
mov eax, 0x8007000e
pop edi
pop ebp
ret 0x10
push esi
mov esi, eax
mov eax, dword [ebp + 8]
push ebx
add edi, eax
mov ebx, eax
cmp eax, edi
jae 0x66086e90
mov al, byte [ebx]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov cl, al
and ecx, 0xff
cmp cx, 0x41
jb 0x66086e76
cmp cx, 0x5a
ja 0x66086e76
mov byte [esi], 0x11
mov word [esi + 2], cx
mov word [esi + 4], 1
add esi, 6
mov byte [esi], 0x15
jmp 0x66086e7e
test ah, 1
mov byte [esi], 0x11
jne 0x66086e71
mov word [esi + 2], cx
mov word [esi + 4], 1
add esi, 6
inc ebx
cmp ebx, edi
jb 0x66086e44
mov ecx, dword [ebp + 0x14]
mov eax, esi
push 6
sub eax, dword [ecx]
pop ecx
pop ebx
pop esi
cdq
idiv ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
jmp 0x66086e30
Function at 0x6608777d
Capabilities:
Get thread local storage value
Resume thread
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [0x6610e6c0]
and dword [eax], 0
push 0x100
push 8
mov esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x660877c8
mov dword [eax], edi
add eax, 4
test eax, eax
je 0x660877c8
push 1
mov ecx, eax
call fcn.6600df4a
mov edi, eax
test edi, edi
jne 0x660877cc
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
leave
ret 4
xor edi, edi
jmp 0x660877b8
push esi
mov ecx, edi
call fcn.6608723f
mov ebx, eax
test ebx, ebx
jge 0x660877ea
push 0
push 1
push edi
mov ecx, esi
call fcn.66019502
mov eax, ebx
jmp 0x660877c1
lea eax, [esi + 0x68]
lea ecx, [ebp - 4]
push eax
call fcn.6600354f
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
mov ecx, esi
mov ebx, eax
call fcn.6600e064
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [ebp - 4]
call fcn.66003582
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0
mov ecx, edi
call fcn.66087382
mov ebx, eax
test ebx, ebx
jge 0x66087837
push 1
jmp 0x660877dc
mov eax, dword [ebp + 8]
mov dword [eax], edi
jmp 0x660877e6
Function at 0x6608a125
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
push ebx
and dword [ebp - 8], 0
push esi
push edi
lea eax, [ebp - 0x40]
push 0x27
push eax
mov dword [ebp - 4], 0x104
push dword [ebp + 8]
call fcn.6601b97f
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x7c]
push 0x6605035c
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push eax
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x7c]
push eax
push SysReAllocStringLen
call ebx
test eax, eax
jne 0x6608a265
lea eax, [ebp - 0x180]
shr eax, 0x10
test ax, ax
je 0x6608a25a
lea edi, [ebp - 0x180]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
add eax, 3
and al, 0xfc
call fcn.660300e8
lea ecx, [ebp - 0x180]
mov eax, esp
push ecx
push eax
call fcn.660035d5
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jl 0x6608a265
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x7c]
push 0x66050348
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x7c]
push eax
push SysReAllocStringLen
call ebx
test eax, eax
jne 0x6608a265
lea eax, [ebp + 8]
push 0x10
push eax
lea eax, [ebp - 0x180]
push eax
call fcn.6600e728
mov esi, eax
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 0x2e
jne 0x6608a236
lea ecx, [ebp + 8]
push 0x10
inc eax
push ecx
push eax
call fcn.6600e728
add esp, 0xc
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push dword [0x6610e9e4]
push dword [ebp - 8]
push esi
push eax
call dword [sym.imp.OLEAUT32.dll_RegisterTypeLib]
lea esp, [ebp - 0x18c]
pop edi
pop esi
pop ebx
leave
ret 8
lea eax, [ebp - 0x180]
jmp 0x6608a1c5
lea eax, [ebp - 4]
push 1
push eax
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], 0x104
call fcn.6608a3bc
test eax, eax
jne 0x6608a28d
mov eax, 0x80004005
jmp 0x6608a24d
lea eax, [ebp - 0x180]
shr eax, 0x10
test ax, ax
je 0x6608a2d7
lea edi, [ebp - 0x180]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
add eax, 3
and al, 0xfc
call fcn.660300e8
lea ecx, [ebp - 0x180]
mov eax, esp
push ecx
push eax
call fcn.660035d5
push dword [ebp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_LoadRegTypeLib]
jmp 0x6608a24d
lea eax, [ebp - 0x180]
jmp 0x6608a2c8
Function at 0x6608a3bc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi]
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x48]
push 0x660503a0
push eax
call edi
add esp, 0xc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x48]
push esi
push dword [ebp + 0xc]
push eax
push SysReAllocStringLen
call ebx
test eax, eax
je 0x6608a435
cmp dword [ebp + 0x14], 0
je 0x6608a40c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
push dword [ebp + 8]
lea eax, [ebp - 0x48]
push 0x66050388
push eax
call edi
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi], eax
lea eax, [ebp - 0x48]
push esi
push dword [ebp + 0xc]
push eax
push SysReAllocStringLen
call ebx
test eax, eax
jne 0x6608a43a
push 1
pop eax
jmp 0x6608a405
push dword [ebp + 8]
lea eax, [ebp - 0x48]
push 0x66050370
push eax
call edi
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi], eax
lea eax, [ebp - 0x48]
push esi
push dword [ebp + 0xc]
push eax
push SysReAllocStringLen
call ebx
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
jmp 0x6608a405

Function at 0x6608a746
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0x104
push eax
lea eax, [esi + 0x18]
push eax
call fcn.6601b97f
movzx eax, word [esi + 0x2e]
push dword [esi + 0x28]
push eax
movzx eax, word [esi + 0x2c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x208]
push 0x660503e4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x208]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x6608a7bd
test eax, eax
mov dword [ebp + 8], esi
je 0x6608a7bd
push 1
pop eax
pop esi
leave
ret 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x108]
push eax
push 0x6608a740
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x6608a7f6
cmp dword [ebp - 4], eax
sete al
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x6608a7b8
push 1
pop esi
jmp 0x6608a7e9
Function at 0x6608a7fb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x220]
push dword [esi + 8]
push dword [esi + 4]
push 0x6601bb40
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
add esp, 0x10
mov edi, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x220]
push eax
push SysReAllocStringLen
call ebx
test eax, eax
je 0x6608a84f
test eax, eax
mov dword [ebp - 4], edi
jne 0x6608a9b4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
lea eax, [ebp - 0x120]
push eax
push 0x6601baf8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x6608a9ab
lea eax, [ebp - 0x120]
shr eax, 0x10
test ax, ax
je 0x6608a8fc
lea edi, [ebp - 0x120]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
add eax, 3
and al, 0xfc
call fcn.660300e8
lea ecx, [ebp - 0x120]
mov eax, esp
push ecx
push eax
call fcn.660035d5
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jl 0x6608a9ab
push 0x10
lea edi, [esi + 0x10]
pop ecx
lea esi, [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0xc], edi
repe cmpsb byte [esi], byte es:[edi]
jne 0x6608a9ab
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
jne 0x6608a904
xor eax, eax
lea esp, [ebp - 0x22c]
pop edi
pop esi
pop ebx
leave
ret 4
lea eax, [ebp - 0x120]
jmp 0x6608a8b2
mov esi, 0x66057fe0
lea eax, [ebp - 0x220]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call edi
mov ecx, 0x100
sub ecx, eax
push ecx
push esi
call edi
lea eax, [ebp + eax - 0x220]
push eax
push dword [ebp - 0xc]
call fcn.6601b97f
mov esi, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x220]
push eax
push SysReAllocStringLen
call ebx
test eax, eax
je 0x6608a95b
test eax, eax
mov dword [ebp - 4], esi
jne 0x6608a9b4
mov ecx, dword [ebp + 8]
mov eax, 0x6601bb20
cmp dword [ecx + 0x48], 0
je 0x6608a96e
mov eax, 0x66057fc0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0x104
push ecx
lea ecx, [ebp - 0x120]
push ecx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x6608a9a6
cmp dword [ebp - 8], eax
sete al
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x6608a8ef
push 1
pop esi
jmp 0x6608a996
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
jmp 0x6608a8ef
Function at 0x6608b338
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
or dword [ebp - 4], 0xffffffff
or dword [ebp - 8], 0xffffffff
push ebx
push esi
push edi
lea eax, [ebp - 0x30]
push 0x27
push eax
push 0x6604f5e0
call fcn.6601b97f
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x130]
push 0x6604ff44
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov esi, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x130]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x6608b395
mov dword [ebp - 4], esi
test eax, eax
mov edi, eax
jne 0x6608b418
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, 0x660504d4
push edi
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push eax
push edi
push 1
push 0
push dword [ebp - 4]
call ebx
mov edi, eax
test edi, edi
jne 0x6608b418
mov edi, dword [ebp - 8]
lea eax, [ebp - 8]
push eax
push 0x660504c4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x6608b3dc
mov dword [ebp - 8], edi
test eax, eax
mov edi, eax
jne 0x6608b418
push dword [ebp + 8]
call esi
push eax
push dword [ebp + 8]
push 1
push edi
push dword [ebp - 8]
call ebx
mov edi, eax
test edi, edi
jne 0x6608b418
mov edi, 0x66058040
push edi
call esi
inc eax
push eax
push edi
push 1
push 0
push 0x66058060
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
call esi
push edi
call fcn.6607204f
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x6608bb61
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push esi
lea eax, [ebp - 4]
push edi
mov edi, dword [ebp - 4]
push eax
push 0x6608bb58
push SysReAllocStringLen
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x6608bb98
test eax, eax
mov dword [ebp - 4], edi
je 0x6608bb98
xor eax, eax
pop edi
pop esi
leave
ret 4
push dword [ebp + 8]
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.6608bc05
lea eax, [ebp - 8]
mov dword [ebp - 8], 0xc8
push eax
lea eax, [ebp - 0x150]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x6608bbf8
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x6608bb92
Function at 0x6608bc05
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [ebp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.660edcf6
cmp byte [ebx], 0
pop ecx
mov edx, ebx
je 0x6608bc47
inc edx
cmp byte [edx], 0
jne 0x6608bc41
mov ecx, dword [ebp + 8]
dec edx
mov dword [ebp + 0xc], edx
mov edi, ecx
cmp byte [ecx], 0
je 0x6608bc5b
inc edi
cmp byte [edi], 0
jne 0x6608bc55
dec edi
mov eax, ecx
cmp ecx, edi
jae 0x6608bc7d
mov esi, ebx
sub esi, ecx
mov cl, byte [eax]
xor byte [eax + esi], cl
movsx ecx, byte [eax + esi]
add dword [ebp - 4], ecx
inc eax
cmp eax, edi
jb 0x6608bc66
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp ebx, edx
mov eax, ebx
jae 0x6608bc89
inc eax
dec edx
cmp eax, edx
jb 0x6608bc83
push 0xa
lea edi, [eax - 1]
mov eax, dword [ebp - 4]
xor edx, edx
pop esi
div esi
mov eax, ecx
mov esi, ebx
add dl, 0x61
cmp ebx, edi
ja 0x6608bcba
mov cl, byte [esi]
and cl, 0xf
add cl, dl
mov byte [eax], cl
mov cl, byte [esi]
sar cl, 4
inc eax
add cl, dl
mov byte [eax], cl
inc eax
inc esi
cmp esi, edi
jbe 0x6608bca1
and byte [eax], 0
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x6608ed84
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
xor eax, eax
mov edx, ecx
dec ecx
test edx, edx
je 0x6608eda7
lea edx, [ecx + 1]
mov ecx, dword [esp + 4]
push esi
movzx esi, word [ecx]
rol eax, 0xd
xor eax, esi
inc ecx
inc ecx
dec edx
jne 0x6608ed99
pop esi
ret 8

Function at 0x66094790
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6610e9e4]
and dword [ebp - 4], 0
and ax, 0x3ff
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SetKeyboardState]
cmp ax, 0x11
push edi
jne 0x66094849
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov bl, byte [ebp - 0x10b]
and byte [ebp - 0x10b], 0xfe
lea eax, [ebp - 0x120]
push eax
call esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
mov eax, dword [0x6610e9e4]
and ax, 0x3ff
cmp ax, 0x11
jne 0x66094804
lea eax, [ebp - 0x120]
mov byte [ebp - 0x10b], bl
push eax
call esi
mov eax, 0x106
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push 3
push eax
push eax
lea eax, [ebp - 0x20]
push dword [edi]
push eax
call esi
test eax, eax
je 0x6609482e
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 0x18]
mov dword [ebp - 4], 1
mov byte [eax], cl
mov eax, 0x107
push 3
push eax
push eax
push dword [edi]
lea eax, [ebp - 0x20]
push eax
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
mov bl, byte [ebp + 8]
jmp 0x660947dc
Function at 0x6609d94e
Capabilities:
Delete file

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi - 4]
mov dword [edi], 0x66051fc0
mov dword [esi], 0x66051fa8
mov dword [esi + 4], 0x66051f80
mov dword [esi + 0xc], 0x66051f50
mov dword [esi + 0x10], 0x66051f40
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x6609d988
mov ecx, dword [eax]
and dword [esi + 0x4c], 0
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x1c]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x6609d998
push eax
call ebx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x6609d9a2
push eax
call ebx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x6609d9ac
push eax
call ebx
mov eax, dword [esi + 0x44]
test eax, eax
je 0x6609d9b9
push eax
call fcn.6602ecbf
cmp dword [esi + 0x58], 0
jne 0x6609d9cd
mov eax, dword [esi + 0x40]
test eax, eax
je 0x6609d9cd
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x6609d9e3
push eax
push 0
push dword [0x6610e6c0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, edi
call fcn.6609dd6b
neg edi
sbb edi, edi
and edi, esi
mov dword [edi], 0x660506b8
mov dword [edi + 4], 0x66050690
pop edi
pop esi
pop ebx
ret
Function at 0x660ac31e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetCaretBlinkTime]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x30]
push dword [ebx + 0x3c]
mov esi, dword [eax + 0x34]
call dword [sym.imp.USER32.dll_GetDC]
xor edi, edi
mov dword [ebp + 8], eax
cmp eax, edi
jne 0x660ac355
mov dword [esi + 0x6c], edi
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [esi + 0x6c], edi
je 0x660ac39e
cmp ebx, dword [esi + 0x80]
jne 0x660ac39e
mov edi, dword [esi + 0x84]
xor eax, eax
cmp dword [ebp + 0x14], eax
jne 0x660ac3f4
cmp dword [esi + 0x6c], eax
je 0x660ac38c
cmp dword [esi + 0x78], eax
je 0x660ac38c
push edi
push dword [esi + 0x74]
push dword [esi + 0x70]
push dword [ebp + 8]
call fcn.660ac2ba
and dword [esi + 0x6c], 0
push dword [ebp + 8]
push dword [ebx + 0x3c]
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x660ac34e
mov eax, dword [ebx + 0x28]
push edi
push edi
push 0x31
push dword [ebx + 0x3c]
mov eax, dword [eax]
push ebx
call dword [eax + 0x10]
test eax, eax
jne 0x660ac3be
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
test eax, eax
je 0x660ac3dc
lea ecx, [ebp - 0x50]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x660ac3dc
mov eax, dword [ebp - 0x50]
test eax, eax
mov edi, eax
jge 0x660ac3dc
neg eax
mov edi, eax
test edi, edi
jne 0x660ac3e3
push 0xc
pop edi
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], edi
jmp 0x660ac368
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.660ab8a6
test eax, eax
jl 0x660ac390
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
push ebx
call fcn.660aba27
test eax, eax
jl 0x660ac390
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x660ac497
mov ecx, dword [ebp - 4]
cmp ecx, dword [esi + 0x70]
jne 0x660ac47e
mov ecx, dword [ebp - 8]
cmp ecx, dword [esi + 0x74]
jne 0x660ac47e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x7c]
jb 0x660ac390
mov edx, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [esi + 0x78], ecx
push edi
sete cl
add eax, edx
mov dword [esi + 0x78], ecx
test ecx, ecx
mov dword [esi + 0x7c], eax
je 0x660ac476
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.660ac2ba
jmp 0x660ac390
push dword [esi + 0x74]
push dword [esi + 0x70]
jmp 0x660ac469
test eax, eax
je 0x660ac497
cmp dword [esi + 0x78], 0
je 0x660ac497
push edi
push dword [esi + 0x74]
push dword [esi + 0x70]
push dword [ebp + 8]
call fcn.660ac2ba
push edi
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.660ac2ba
push 1
pop eax
mov dword [esi + 0x6c], eax
mov ecx, dword [ebp - 4]
mov dword [esi + 0x70], ecx
mov ecx, dword [ebp - 8]
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [ebp - 0xc]
and dword [esi + 0x80], 0
mov dword [esi + 0x7c], eax
jmp 0x660ac390