joyce8/EMBER2024-capa huggingface dataset:
Function at 0x667e458
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.066686cc
mov edi, eax
push edi
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x667e4c2
test ah, 4
je 0x667e4bb
test bl, bl
jne 0x667e480
mov al, 1
jmp 0x667e4e9
test al, 0x10
je 0x667e488
xor eax, eax
jmp 0x667e4e9
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x667e4ac
push eax
call sub.KERNEL32.DLL_CloseHandle
mov al, 1
jmp 0x667e4e9
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x667e4e9
test al, 0x10
sete al
jmp 0x667e4e9
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x667e4e3
cmp ebx, 3
je 0x667e4e3
cmp ebx, 0x7b
je 0x667e4e3
mov eax, esi
call fcn.0667e418
test al, al
jne 0x667e4e7
xor eax, eax
jmp 0x667e4e9
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x667e4f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.066686cc
mov ebp, eax
push ebp
call sub.KERNEL32.DLL_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x667e597
test esi, 0x400
jne 0x667e52c
test esi, 0x10
setne bl
jmp 0x667e5c7
cmp byte [esp], 0
je 0x667e560
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x667e5c7
push eax
call sub.KERNEL32.DLL_CloseHandle
test esi, 0x10
setne bl
jmp 0x667e5c7
test esi, 0x10
je 0x667e56c
mov bl, 1
jmp 0x667e5c7
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x667e593
push eax
call sub.KERNEL32.DLL_CloseHandle
xor ebx, ebx
jmp 0x667e5c7
mov bl, 1
jmp 0x667e5c7
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
je 0x667e5c1
cmp eax, 3
je 0x667e5c1
cmp eax, 0xa1
je 0x667e5c1
cmp eax, 0x7b
je 0x667e5c1
cmp eax, 0x35
je 0x667e5c1
cmp eax, 0x15
je 0x667e5c1
cmp eax, 0x43
jne 0x667e5c5
xor ebx, ebx
jmp 0x667e5c7
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x6682384
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x66823bd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.06667d34
jmp 0x66823c6
mov eax, ebx
mov edx, esi
call fcn.06667f8c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x66823d0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x66823f2
movzx eax, word [esp]
jmp 0x66823f4
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x6683408
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x668352d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.06683210
mov esi, eax
mov eax, dword [0x6859620]
cmp byte [eax], 0
je 0x66834d5
mov eax, dword [0x68592b0]
call fcn.06665a28
call fcn.06665598
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x66833d8]
call fcn.06669dfc
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x6683548
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x6683511
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x6859230]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x685d5a0]
call fcn.0666a21c
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6683534
lea eax, [ebp - 4]
mov edx, dword [0x66833d8]
call fcn.06669f20
ret

Function at 0x6684208
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x66842de
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.06667fd4
lea eax, [ebp - 4]
call fcn.0666813c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.066686cc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x66842c8
mov eax, ebx
call fcn.06665424
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x66842c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.066686cc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x66842ab
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x66842f0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x66842ab
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66842c8
mov eax, dword [ebp - 0x10]
call fcn.06665440
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66842e5
lea eax, [ebp - 4]
call fcn.06667bac
ret
Function at 0x66842f4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x66843f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.06667fd4
lea eax, [ebp - 4]
call fcn.0666813c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.066686cc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x66843de
mov eax, ebx
call fcn.06665424
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x66843d7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.066686cc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x66843c1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x6684408
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x66843c1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66843de
mov eax, dword [ebp - 0x10]
call fcn.06665440
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66843fb
lea eax, [ebp - 4]
call fcn.06667bac
ret

Function at 0x6685bf8
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.06667bac
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.066686cc
mov ebp, eax
push ebp
call sub.KERNEL32.DLL_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x6685c3d
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.06667d34
jmp 0x6685c56
mov edx, ebx
dec edx
mov eax, esi
call fcn.06668850
push ebx
mov eax, dword [esi]
call fcn.066686cc
push eax
push ebp
call sub.KERNEL32.DLL_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x66c5aac
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x66c5ab4
mov eax, edx
pop esi
pop ebx
ret

Function at 0x66fed00
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x66fed9e
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x66fed62
cmp byte [ebx + 0x11], 0
jne 0x66fed62
cmp byte [ebx + 0x3c], 0
jne 0x66fed62
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0x66fed83
lea edx, [ebp - 4]
mov eax, dword [0x685959c]
call fcn.0666cb28
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x66d6be0]
call fcn.06683558
call fcn.066672b0
jmp 0x66fed83
lea edx, [ebp - 8]
mov eax, dword [0x685959c]
call fcn.0666cb28
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x66d6be0]
call fcn.06683558
call fcn.066672b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66feda5
lea eax, [ebp - 8]
mov edx, 2
call fcn.06667c0c
ret

Function at 0x66ff20c
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x66ff25a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.066fec4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x66ff273
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x66ff27c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.066fec4c
dec esi
jne 0x66ff29e
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x670199c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x685fd40
cmp dword [edi], 0
jne 0x6701a18
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x685fd3c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x685057c
mov ecx, 2
call fcn.06665664
mov edx, 0x6701974
lea eax, [esi + 5]
call fcn.06701994
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.06701994
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x67019ed
mov dword [0x685fd3c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x6716234
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.06715ad8
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.066686cc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.06715ba0
test al, al
jne 0x671629c
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6859490]
mov dl, 1
mov eax, dword [0x67148a4]
call fcn.06683650
call fcn.066672b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x67162a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.066686cc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.06715ba0
test al, al
jne 0x6716309
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x68597fc]
mov dl, 1
mov eax, dword [0x67148a4]
call fcn.06683650
call fcn.066672b0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.06715b08
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x671eb80
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x671eb86
ret
Function at 0x673a028
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x6852754
test edx, edx
jne 0x673a047
xor eax, eax
jmp 0x673a165
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x673a064
push esi
push edx
push eax
call fcn.0673a16c
add esp, 0xc
jmp 0x673a165
push esi
push edx
push eax
call fcn.0673a42c
add esp, 0xc
jmp 0x673a165
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x67475c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x685ff78], 0
je 0x6747709
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x6859564]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x6747709
mov eax, dword [0x685ff7c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x685ff78]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x67476d8
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x685ff78]
call fcn.066ed228
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x67476d0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x20d], 0
je 0x67476d0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x74]
test al, al
je 0x67476d0
mov eax, dword [ebp - 0x14]
call fcn.0675325c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x67476d0
push ebp
call fcn.06747584
pop ecx
test al, al
jne 0x67476d0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb8
call fcn.066661d8
test al, al
je 0x67476d0
mov byte [ebp - 9], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 9]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.066661d8
cmp byte [ebp - 9], 0
je 0x67476d0
lea edx, [ebp - 8]
lea eax, [ebp - 0x28]
call fcn.0666ed2c
test al, al
je 0x67476d0
mov edx, dword [ebp - 0x14]
mov eax, dword [0x685ff7c]
call fcn.06746ccc
inc edi
dec ebx
jne 0x674762d
mov eax, dword [0x685ff7c]
cmp dword [eax + 8], 0
jle 0x67476f0
mov eax, dword [0x685ff7c]
call fcn.06746d80
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x6747709
push ebp
mov eax, dword [ebp - 0x18]
call fcn.067473ec
pop ecx
test al, al
jne 0x6747709
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x674b74c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x674b79a
xor edx, edx
mov eax, esi
call fcn.067d1c50
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x674b79a
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x2e8], 0
je 0x674b79a
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2e8]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x28]
test al, al
jne 0x674ba0d
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x674b7dc
cmp eax, 0x109
ja 0x674b7dc
mov dl, 1
mov eax, esi
call fcn.067d1c50
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x674ba04
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0x154]
test al, al
jne 0x674ba0d
jmp 0x674ba04
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x674b9ed
cmp eax, 0x20e
ja 0x674b9ed
test byte [esi + 0x60], 0x80
jne 0x674b80e
sub eax, 0x203
je 0x674b80b
sub eax, 3
je 0x674b80b
sub eax, 3
jne 0x674b80e
sub dword [ebx], 2
mov eax, dword [ebx]
add eax, 0xfffffe00
cmp eax, 0xb00b
jne 0x674ba04
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.06749c7c

Function at 0x674fce0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0666f01c
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.06749c20
test ebx, ebx
jne 0x674fd33
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0674fb58
mov ebx, eax
test ebx, ebx
je 0x674fe29
cmp esi, ebx
je 0x674fd5c
mov eax, dword [esp]
sub eax, dword [ebx + 0x50]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x54]
mov dword [esp + 0x118], eax
jmp 0x674fd71
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x674fda9
add eax, 0xffffff5f
sub eax, 2
jb 0x674fdc1
dec eax
sub eax, 2
jb 0x674fdd5
dec eax
sub eax, 2
jb 0x674fdcb
jmp 0x674fddf
add eax, 0xfffffdff
sub eax, 2
jb 0x674fdc1
dec eax
sub eax, 2
jb 0x674fdd5
dec eax
sub eax, 2
jb 0x674fdcb
jmp 0x674fddf
mov byte [esp + 0x120], 0
jmp 0x674fde7
mov byte [esp + 0x120], 2
jmp 0x674fde7
mov byte [esp + 0x120], 1
jmp 0x674fde7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.067d1b4c
mov esi, eax
call fcn.06746678
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0674b634
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x674fe2b
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x6775e1c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.06667c90
xor eax, eax
push ebp
push 0x6775f59
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x6775f2c
xor edx, edx
push ebp
push 0x6775f25
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x6775e69
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x6775efa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x6775ee9
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x6775eac
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.066686cc
mov ecx, ebx
add ecx, ecx
add ecx, 2
mov edx, esi
call fcn.06665664
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6775ef0
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x6859174]
mov dl, 1
mov eax, dword [0x6677330]
call fcn.06683614
call fcn.066672b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6775f60
lea eax, [ebp - 4]
call fcn.06667bac
ret

Function at 0x67996b4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
push 0x101
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.06667d34
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x67a11fc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.067a12ac
test eax, eax
je 0x67a1237
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.067a12ac
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.06667d34
jmp 0x67a1245
mov ecx, esi
mov edx, 0x67a1264
mov eax, ebx
call fcn.067a1184
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.06667f8c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x67c1684
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.06667bac
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x67c16d6
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x67c16cf
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.06668778
jmp 0x67c16d6
mov eax, esi
call fcn.06667bac
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x67c6d60
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x67c6ebf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x6854ff0], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x6714ac8]
call fcn.06715b30
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x67c6e95
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.06715bdc
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.06668778
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x67c6ed8
call fcn.06668928
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.06715d74
test al, al
je 0x67c6e7f
lea ecx, [ebp - 4]
mov edx, 0x67c6f4c
mov eax, dword [ebp - 0xc]
call fcn.067161b8
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.06685b74
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x67c6e7f
xor edx, edx
push ebp
push 0x67c6e78
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x67c6f64
mov eax, dword [ebp - 8]
push eax
call fcn.066705f0
test eax, eax
je 0x67c6e61
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x67c6e61
call fcn.067c6cec
test eax, eax
je 0x67c6e51
mov eax, dword [ebx + 0x50]
jmp 0x67c6e54
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x6854ff0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67c6e7f
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67c6e9c
mov eax, dword [ebp - 0xc]
call fcn.06665ee0
ret

Function at 0x67c6fc8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x67c700f
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x67c6ff2
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x67c7003
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x67c700f
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret