joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100360c
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x1018690]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
xor ebx, ebx
push ebx
mov dword [ebp - 0x8c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
cmp edi, ebx
jne 0x1003641
xor eax, eax
jmp 0x10036aa
push 0x40
lea eax, [ebp - 0x84]
push eax
push esi
mov word [ebp - 0x84], bx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebx
push ebx
push 0x31
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call esi
push dword [ebp - 0x8c]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x84]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push dword [ebp - 0x88]
push edi
call esi
push edi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010148e5
leave
ret 8

Function at 0x10036be
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x1018690]
and word [ebp - 0x84], 0
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x40
lea eax, [ebp - 0x84]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x84]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x1003706
inc eax
jmp 0x1003752
push esi
lea eax, [ebp - 0x8c]
push eax
push dword [0x10192b0]
call fcn.0100360c
mov esi, dword [ebp - 0x88]
push ebx
push 0
push 0x40b
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
lea eax, [ebp - 0x8c]
push eax
push dword [0x10192b0]
call fcn.0100360c
cmp esi, dword [ebp - 0x88]
pop esi
je 0x1003750
call fcn.010102e7
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.010148e5
leave
ret 8
Function at 0x1004815
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [0x10192d0], ebx
jne 0x100499c
push esi
push edi
mov edi, dword [ebp + 8]
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x40000000
push eax
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.USER32.dll_SetParent]
cmp dword [0x1018c84], ebx
jne 0x1004879
cmp dword [0x1018c88], ebx
jne 0x100486f
push ebx
push edi
call fcn.0100465f
cmp dword [0x1018c84], ebx
jne 0x1004879
mov dword [0x10192d0], 1
cmp dword [0x1018c88], ebx
mov esi, dword [ebp + 0x10]
je 0x1004891
push 2
push esi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp dword [0x1018c84], ebx
jne 0x10048c2
cmp dword [0x1018c88], ebx
jne 0x100498f
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
push 0x10
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
push ecx
push ebx
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [0x1018c88], ebx
jne 0x100498f
mov eax, dword [0x101906c]
cmp eax, ebx
je 0x10048fe
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InstallHook
push eax
call esi
push str.RemoveHook
push dword [0x101906c]
mov dword [0x101a88c], eax
call esi
mov dword [0x101a884], eax
jmp 0x100490a
mov dword [0x101a88c], ebx
mov dword [0x101a884], ebx
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call esi
test ah, ah
js 0x100492b
push 2
call esi
test ah, ah
js 0x100492b
xor edi, edi
inc edi
mov dword [0x10189b4], edi
jmp 0x1004934
xor edi, edi
mov dword [0x10189b4], ebx
inc edi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
call esi
test ax, ax
jne 0x1004951
push 2
call esi
test ax, ax
mov dword [0x10189b8], edi
je 0x1004957
mov dword [0x10189b8], ebx
cmp dword [0x101a88c], ebx
je 0x100498f
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
xor eax, eax
cmp cx, bx
je 0x1004973
cmp cx, 0xffff
jne 0x100497d
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
push dword [0x10192a8]
call dword [0x101a88c]
mov dword [0x10189bc], eax
call dword [sym.imp.USER32.dll_GetFocus]
pop edi
mov dword [0x101a890], eax
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10065b0
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x1018690]
push ebx
push esi
push edi
mov edi, 0x1019ca0
push edi
mov dword [ebp - 4], eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x46c]
push eax
call fcn.01004344
push edi
push esi
lea eax, [ebp - 0x264]
push eax
call fcn.01004344
mov al, byte [0x1019f4c]
test al, 2
je 0x100664d
cmp word [ebp - 0x46a], 0x3a
jne 0x1006659
mov ax, word [ebp - 0x46c]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
xor ebx, ebx
push eax
mov word [ebp - 0xa], 0x3a
mov word [ebp - 8], 0x5c
mov word [ebp - 6], bx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x100665b
lea eax, [ebp - 0x46c]
mov word [ebp - 8], bx
push eax
lea edi, [ebp - 0x264]
lea ebx, [ebp - 0xc]
call fcn.01006488
test eax, eax
jne 0x1006659
jmp 0x1006700
test al, 1
je 0x1006659
and word [ebp - 0x264], 0
xor ebx, ebx
mov eax, dword [0x1018e68]
cmp eax, ebx
jne 0x1006671
push 0x50
lea eax, [ebp - 0x5c]
push eax
call fcn.0100afe8
jmp 0x1006685
shl eax, 4
push dword [eax + 0x10192e4]
lea eax, [ebp - 0x5c]
push 0x28
push eax
call fcn.01004344
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push 0x101724c
push ebx
push ebx
call edi
push ebx
push ebx
push ebx
push ebx
mov esi, eax
push 0xffffffffffffffff
lea eax, [ebp - 0x264]
push eax
push ebx
push ebx
dec esi
call edi
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push 0x10190a0
push ebx
dec eax
push ebx
mov dword [ebp - 0x474], eax
call edi
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x5c]
push ecx
push ebx
push ebx
mov dword [ebp - 0x470], eax
call edi
mov ecx, dword [ebp - 0x470]
add ecx, dword [ebp - 0x474]
add eax, ecx
lea eax, [eax + esi + 0x2a]
push eax
push 0x2040
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp - 0x470], eax
jne 0x1006707
xor eax, eax
jmp 0x10067c0
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x10190a0
mov dword [ebp - 0x478], eax
mov eax, dword [0x1019f5c]
sub eax, dword [0x1019f54]
push 0x2c
push eax
push 0x3b
push ebx
push ebx
push 0x400
push dword [0x1019080]
call edi
push eax
push 0x2c
push ebx
push ebx
push 0x412
push dword [0x1019080]
call edi
push eax
push 0x2c
push ebx
push ebx
push 0x411
push dword [0x1019080]
call edi
push eax
mov eax, dword [0x10192c4]
mov edi, dword [ebp - 0x478]
push 0x2c
and eax, 0xfffffffc
or eax, dword [0x1018e4c]
push eax
push 0x2c
lea eax, [ebp - 0x5c]
push eax
push 0x2a
lea eax, [ebp - 0x264]
push eax
push 0x2a
push 0x101724c
push 0x10015bc
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x474]
add esp, 0x4c
push dword [ebp - 0x470]
mov byte [edi + esi], bl
add edi, eax
mov byte [edi + esi + 1], bl
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x470]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010148e5
leave
ret
Function at 0x10067d2
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
jne 0x100680a
push dword [ebp + 8]
push 0x97
push 0x64
push 0x30
push dword [0x10192c8]
push dword [0x10192a8]
call fcn.01006933
add esp, 0x18
jmp 0x1006857
mov esi, dword [ebp + 0xc]
jmp 0x1006822
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esi + 4], eax
je 0x1006835
add esi, 8
cmp dword [esi], 0
jne 0x100680f
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop esi
inc eax
pop ebx
pop ebp
ret 0xc
push dword [ebp + 8]
push dword [esi]
push 0x98
push 0x64
push 0x30
push dword [0x10192c8]
push dword [0x10192a8]
call fcn.01006933
add esp, 0x1c
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1006a7c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x1018690]
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
lea edx, [ebp - 0xd0]
push edx
push 1
push 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ecx
push eax
mov dword [ebp - 0xd4], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1006afc
push ebx
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xd8]
push eax
push 0
push 0
push dword [ebp - 0xd0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xd0]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
pop ebx
jne 0x1006afc
cmp dword [ebp - 0xd8], 1
je 0x1006b00
xor eax, eax
jmp 0x1006b13
push esi
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
call fcn.010148e5
leave
ret 0xc

Function at 0x1006b89
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp + 8]
push 0x1006b60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1006bb1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret 4
Function at 0x1006bba
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
push 2
xor edi, edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
je 0x1006c13
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push 0x100158c
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1006c37
lea eax, [ebp - 4]
push eax
push 2
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1006c37
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x14]
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1006c3b
xor eax, eax
jmp 0x1006c47
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
leave
ret 0x10
Function at 0x1007b17
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp + 8]
push eax
push 0x20019
xor esi, esi
push esi
push dword [ebp + 8]
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1007b6b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push esi
push 0x1018be8
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1007b62
inc esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 0xc

Function at 0x1007ef5
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x100
xor ebx, ebx
test ebx, ebx
jne 0x1007f15
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
jmp 0x1007f34
push 0x42
add edi, 0x100
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov esi, eax
test esi, esi
jne 0x1007f32
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, esi
test ebx, ebx
je 0x1007f6a
push dword [ebp + 8]
mov esi, edi
shr esi, 1
push esi
push ebx
push 0x1018be8
push 0
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esi, 0xfffffffe
cmp eax, esi
jae 0x1007f04
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1007f61
mov dword [eax], edi
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
xor eax, eax
jmp 0x1007f63

Function at 0x1008714
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov ax, word [0x1017a80]
and word [ebp - 2], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
push 2
mov word [ebp - 4], ax
lea eax, [ebp - 4]
push eax
push 0xe
mov edi, 0x400
push edi
call esi
mov ax, word [ebp - 4]
and word [ebp - 2], 0
mov word [0x1017a80], ax
mov ax, word [0x1017a84]
push 2
mov word [ebp - 4], ax
lea eax, [ebp - 4]
push eax
push 0x1e
push edi
call esi
mov ax, word [ebp - 4]
and word [ebp - 2], 0
mov word [0x1017a84], ax
mov ax, word [0x1017a88]
push 2
mov word [ebp - 4], ax
lea eax, [ebp - 4]
push eax
push 0x12
push edi
call esi
mov ax, word [ebp - 4]
mov word [0x1017a88], ax
xor eax, eax
pop edi
inc eax
pop esi
leave
ret

Function at 0x10089fd
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x1018bec], esi
jne 0x1008a44
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x1008962
push esi
push esi
mov dword [0x1018bec], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
je 0x1008a38
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1008a44
push dword [0x1019c84]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
leave
ret
Function at 0x1009e6e
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x54], 0
je 0x1009e94
push 0
push dword [0x10192a8]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
pop esi
pop ebp
ret 4

Function at 0x100ae8f
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftMultimediaVideo_For_WindowsMCIAVI
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x100aeb3
xor eax, eax
leave
ret
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov esi, str.DefaultOptions
push esi
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100aef4
and dword [ebp - 8], 0
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
pop esi
leave
ret
Function at 0x100d4ce
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
je 0x100d544
push edi
push 0xb
pop ecx
push eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp + 8]
push eax
push 0x2c
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
pop edi
je 0x100d542
cmp dword [ebp - 0x2c], 0x46464952
jne 0x100d542
cmp dword [ebp - 0x24], 0x41444443
jne 0x100d542
movzx eax, word [ebp - 0x16]
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x100d544
xor eax, eax
pop esi
leave
ret 8

Function at 0x100dc8e
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x320
mov eax, dword [0x1018690]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x104]
push 0x1001940
push eax
xor esi, esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x318]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x104]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100dd58
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x320]
push eax
push esi
push 0x1018e70
push dword [ebp - 0x318]
mov dword [ebp - 0x31c], 0x108
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100dd4c
lea eax, [ebp - 0x314]
push 0x2c
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
cmp eax, esi
pop ecx
pop ecx
je 0x100dd4c
mov word [eax], si
add eax, 2
push eax
call fcn.01014822
push eax
lea eax, [ebp - 0x314]
push eax
push dword [0x10192c8]
call dword [sym.imp.SHELL32.dll_ExtractIconW]
mov esi, eax
push dword [ebp - 0x318]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.010148e5
leave
ret 4

Function at 0x100ebd4
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x100dfa1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100ebfc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret 4
Function at 0x100ec4c
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1017f10]
push ebx
push esi
push edi
xor edi, edi
sub eax, 0x20c
mov dword [ebp - 4], edi
je 0x100ed50
sub eax, 6
je 0x100ed50
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
jge 0x100eca8
push 1
push edi
push dword [0x1019604]
call fcn.010032be
test eax, eax
je 0x100eca8
push edi
push 0x1fd
push 0x111
push dword [ebp + 8]
call esi
lea eax, [ebp - 4]
push eax
call fcn.0100b6eb
push edi
push edi
push 0x411
push dword [0x1019080]
call esi
push edi
push edi
push 0x412
push dword [0x1019080]
mov ebx, eax
call esi
cmp ebx, 0xffffffff
push 0x17
mov esi, eax
pop eax
je 0x100ece4
cmp esi, 0xffffffff
je 0x100ece4
cmp ebx, esi
jne 0x100ece7
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], eax
jne 0x100ed0a
mov eax, dword [0x1019f60]
mov ecx, dword [0x1019f78]
lea ecx, [ecx + eax - 1]
cmp dword [ebp - 4], ecx
jb 0x100ed23
push eax
call fcn.0100b4fe
test eax, eax
je 0x100ed77
cmp dword [ebp + 0xc], 0x1a
jne 0x100ed23
push esi
push ebx
call fcn.0100b271
mov dword [0x1018e44], 1
jmp 0x100ed30
push edi
push edi
call fcn.0100b271
mov dword [0x1018e44], edi
cmp eax, edi
jne 0x100ed41
cmp dword [0x1018e3c], edi
je 0x100ed41
call fcn.0100d403
or dword [0x1017f10], 0xffffffff
mov dword [0x1018e48], edi
jmp 0x100ed77
push 0x6d
push 0x64
push 0x30
push dword [0x10192c8]
push dword [0x10192a8]
call fcn.01006933
add esp, 0x14
cmp dword [0x1018e3c], edi
je 0x100ed77
call fcn.0100d403
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100f60c
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x1018690]
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edi, edi
cmp dword [0x1019f78], edi
mov dword [ebp - 0x80], eax
je 0x100f82b
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0x400
push dword [0x1019080]
call esi
cmp dword [0x1019c74], edi
mov ebx, eax
jne 0x100f6b5
push 0x10
mov dword [0x1019c74], 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x100f6aa
push 1
push edi
push dword [0x1019604]
call fcn.010032be
test eax, eax
je 0x100f6aa
push edi
push 1
push 0x413
push dword [0x1019080]
call esi
push edi
push 0x1fd
push 0x111
push dword [ebp - 0x80]
call esi
push dword [0x1019080]
call dword [sym.imp.USER32.dll_SetFocus]
push edi
call fcn.0100b3e1
mov dword [0x1018e18], eax
mov eax, dword [ebp + 0x10]
cmp eax, 8
ja case.default.0x100f6c1
jmp dword [eax*4 + 0x100f838]
xor eax, eax
inc eax
cmp dword [0x1018e4c], eax
je 0x100f70c
mov eax, dword [0x1019f78]
add eax, 0x7f
shr eax, 7
jmp 0x100f70c
xor eax, eax
inc eax
cmp dword [0x1018e4c], eax
je 0x100f74e
mov eax, dword [0x1019f78]
add eax, 0x7f
shr eax, 7
jmp 0x100f74e
cmp dword [0x1018e4c], 3
je 0x100f713
mov eax, dword [0x1019f78]
add eax, 0xf
shr eax, 4
sub ebx, eax
jmp case.0x100f6c1.4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
sub eax, dword [0x10192cc]
cmp eax, 0xbb8
jae 0x100f72c
push 0xffffffffffffffff
jmp 0x100f72d
push edi
call fcn.0100b63b
mov dword [0x10192cc], esi
jmp 0x100f7b5
cmp dword [0x1018e4c], 3
je 0x100f752
mov eax, dword [0x1019f78]
add eax, 0xf
shr eax, 4
add ebx, eax
jmp case.0x100f6c1.4
push 1
call fcn.0100b63b
mov dword [0x10192cc], edi
jmp 0x100f7b5
test byte [0x1019f4d], 2
je case.0x100f6c1.4
cmp dword [0x1017f10], 0x20e
je case.0x100f6c1.4
push ebx
call fcn.0100b4fe
jmp case.0x100f6c1.4
mov ebx, dword [0x1019f60]
jmp case.0x100f6c1.4
mov eax, dword [0x1019f60]
mov ecx, dword [0x1019f78]
lea ebx, [eax + ecx]
push ebx
push 1
push 0x405
push dword [0x1019080]
call esi
push edi
push edi
push 0x400
push dword [0x1019080]
call esi
mov ebx, eax
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x100f7d0
push 0x1018e14
push ebx
push dword [ebp - 0x80]
call fcn.0100f576
cmp dword [0x10192b0], edi
je case.default.0x100f6c1
push 1
lea eax, [ebp - 0x7c]
push eax
push edi
push ebx
call fcn.0100d574
lea eax, [ebp - 0x7c]
push eax
push dword [0x10192b0]
call fcn.010036be
jmp case.default.0x100f6c1
cmp dword [ebp + 0xc], edi
mov dword [0x1019c74], edi
je 0x100f823
mov eax, dword [0x1019a40]
cmp eax, edi
je 0x100f812
mov ebx, eax
mov dword [0x1019a40], edi
push dword [0x1018e18]
call fcn.0100b3e1
push ebx
call fcn.0100b4fe
mov dword [0x1018e14], edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
call fcn.010148e5
leave
ret 0x10
Function at 0x1010268
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x1018690]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x800
push 0x2b4
mov dword [ebp - 4], eax
lea eax, [ebp - 0x4c0]
push eax
push 0
xor edi, edi
push esi
inc edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp eax, edi
jne 0x10102d2
test byte [ebp - 0x4b6], 1
je 0x10102d2
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.01010151
test eax, eax
je 0x10102d0
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x10102d2
xor edi, edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
call fcn.010148e5
leave
ret 4

Function at 0x1012d15
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x1012d5c
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push esi
push esi
push str.MediaPath
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret 8