joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010a30
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xac
push ebx
push esi
push edi
push 0x101891c
mov esi, ecx
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [esi + 0xbc], eax
lea eax, [esi + 8]
push eax
push dword [esi + 0x20]
call dword [sym.imp.ole32.dll_RegisterDragDrop]
xor ebx, ebx
push ebx
push ecx
mov eax, esp
push ebx
push 0x52009344
push ebx
push ecx
mov dword [eax], ebx
mov eax, esp
mov dword [eax], ebx
push dword [esi + 0x20]
lea edi, [esi + 0x38]
mov ecx, edi
call fcn.01010bf2
mov eax, dword [edi]
cmp eax, ebx
je 0x1010bc7
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x353
push dword [0x103e648]
push 0x44d
push eax
call ebx
mov ecx, esi
call fcn.01010c73
mov eax, dword [esi + 0x74]
not eax
test al, 1
mov eax, 0x1018960
je 0x1021239
push eax
push 0
push 0x200b
push dword [edi]
call ebx
push 0
push 0
push 0x1002000
push dword [edi]
call fcn.0100a2ee
push 0
push 0x14
push 0x41e
push dword [edi]
call ebx
xor ecx, ecx
push ecx
xor eax, eax
push eax
mov ecx, edi
call fcn.010144e8
push 0x3c0
push 0
push 0x454
push dword [edi]
call ebx
push 0
push 6
push 0x2007
push dword [edi]
call ebx
mov ecx, esi
call fcn.0100d094
lea eax, [ebp + 0x6c]
push eax
mov ecx, edi
call fcn.0101039a
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
je 0x1010b35
push 3
push 3
push 0xfffffffffffffff0
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_165]
push 0x1018908
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 3
push dword [esi + 0x20]
mov dword [esi + 0x3c], eax
call dword [sym.imp.SHELL32.dll_Ordinal_181]
push 1
push ebx
push ebx
mov ecx, esi
call fcn.010143cc
push esi
push 0x1010bcc
call dword [sym.imp.USER32.dll_EnumWindows]
lea eax, [ebp + 0x70]
push eax
push 1
push 0x43a
push 0xc008000
push 0x8002
push dword [esi + 0x20]
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x70], ebx
call dword [sym.imp.SHELL32.dll_SHChangeNotifyRegister]
mov dword [esi + 0xb8], eax
push 0x50
lea eax, [ebp - 0x34]
push eax
push 0x252
push dword [0x103e648]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x34]
push eax
push dword [esi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
call esi
lea eax, [ebp - 0x34]
push eax
push dword [edi]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret
or eax, 0xffffffff
jmp 0x1010bbf
mov eax, 0x10397b0
jmp 0x1010abb
Function at 0x1011175
Capabilities:
Get common file path
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
push esi
lea eax, [ebp - 0xc]
push eax
push 1
xor esi, esi
push esi
push 0x1018b48
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10111c8
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
push esi
push esi
push esi
push dword [ebp - 0xc]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], esi
jne 0x101fe9d
pop esi
leave
ret
push edi
mov dword [ebp - 0x1c], esi
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x18
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x101fec2
push 1
call fcn.0102777c
mov dword [ebp - 4], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push ebx
mov esi, 0x104
push esi
lea eax, [ebp - 0x224]
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x1026c44
lea eax, [ebp - 0x224]
push eax
call ebx
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push esi
push 0x1026c20
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
push esi
lea eax, [ebp - 0x42c]
push eax
call edi
push 0x1039648
lea eax, [ebp - 0x42c]
push eax
call ebx
lea eax, [ebp - 0x1c]
push eax
xor edi, edi
push edi
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.010346ba
test eax, eax
pop ebx
je 0x101ff63
push 0x4ff
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push edi
call fcn.0101b51f
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 4], edi
je 0x101ff6e
push edi
call fcn.0102777c
pop edi
jmp 0x10111c8

Function at 0x10111cb
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push edi
xor ebx, ebx
inc ebx
push ebx
push 0x10
lea eax, [ebp - 0x208]
push eax
xor edi, edi
push edi
call esi
push ebx
push 2
lea eax, [ebp - 0x208]
push eax
push edi
call esi
push ebx
push 0xb
lea eax, [ebp - 0x208]
push eax
push edi
call esi
push ebx
push 7
lea eax, [ebp - 0x208]
push eax
push edi
call esi
push ebx
push 8
lea eax, [ebp - 0x208]
push eax
push edi
call esi
push ebx
push 6
lea eax, [ebp - 0x208]
push eax
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10112df
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push 0x1018e54
mov edi, 0x1016938
push edi
mov esi, 0x80000001
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 4]
cmp eax, 2
jb 0x102055e
pop edi
pop esi
pop ebx
leave
ret
sub eax, ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
je 0x102056d
dec eax
je 0x10205d6
jmp 0x10205e4
push 0x102702c
push 0x10189d0
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0xc], 0x104
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x1027018
lea eax, [ebp - 0x21c]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10205d6
cmp word [ebp - 0x424], ax
je 0x10205d6
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0x10396f8
push edi
push esi
mov dword [ebp - 8], 1
call ebx
xor eax, eax
cmp dword [ebp - 4], eax
sete al
push eax
call fcn.01035e11
push 0
push 1
push 0x1026ff8
push 0x1026fdc
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
jne 0x1011323
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0x1018e54
push edi
push esi
mov dword [ebp - 8], 2
call ebx
jmp 0x1011323

Function at 0x1012265
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, 0x1018f20
push 0x1018fdc
push edi
mov esi, 0x80000001
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov ebx, eax
test ebx, ebx
je 0x10122c8
push ebx
call dword [sym.imp.SHLWAPI.dll_IStream_Reset]
test eax, eax
jl 0x10122c8
cmp dword [ebp + 8], 0
push dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
push dword [ebp + 0xc]
push ebx
jne 0x1023bf2
call fcn.010122cf
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
cmp dword [ebp - 8], 0
jne 0x1023c0b
pop edi
pop esi
pop ebx
leave
ret 0xc
call fcn.0102edca
test eax, eax
jge 0x10122b8
mov dword [ebp - 8], 1
jmp 0x10122b8
lea eax, [ebp + 8]
push eax
push 0x20006
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10122c8
push 0x1018fdc
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10122c8
Function at 0x1012402
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push ebx
push 0x1018f9c
push 0x1018f20
push 0x80000001
mov dword [ebp - 4], ecx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov esi, eax
cmp esi, ebx
je 0x101248f
push edi
xor eax, eax
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x14
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_IStream_Read]
test eax, eax
jl 0x1012488
cmp dword [ebp - 0x18], 0x14
jne 0x1012488
mov edi, dword [ebp - 4]
push dword [ebp - 0x14]
mov ecx, edi
call fcn.010124a0
test eax, eax
je 0x1012488
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x1012488
cmp dword [ebp - 0xc], ebx
jbe 0x1012488
mov eax, dword [ebp - 8]
mov ecx, dword [esi]
push ebx
push ebx
push ebx
push eax
push esi
call dword [ecx + 0x14]
test eax, eax
jne 0x1012488
push esi
call dword [0x1018e30]
mov dword [edi + 0x1c], eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ecx + 0x1c], ebx
pop esi
setne al
pop ebx
leave
ret 4

Function at 0x1012bb2
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1019120
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1012c0f
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x264]
push eax
push esi
push esi
push 0x1019110
push dword [ebp - 4]
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x102000e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret
cmp word [ebp - 0x264], si
je 0x1012c06
push edi
push 0x10
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x264]
push eax
push esi
mov dword [ebp - 0x5c], 0x44
mov word [ebp - 0x2c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
je 0x1012c06
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
jmp 0x1012c06
Function at 0x1013b36
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and eax, 0xf
push eax
mov esi, ecx
push 0x421
push dword [esi + 0x20]
call ebx
test byte [ebp + 0xc], 0x10
jne 0x1013b88
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [ebp + 0x14]
cmp eax, 0x1388
jb 0x1013b88
call edi
push 0x1018188
mov dword [ebp - 4], eax
call fcn.0100804c
mov ecx, esi
call fcn.010138b1
mov ecx, 0x103e0f8
call fcn.01007fcf
push 0xb
pop ecx
xor eax, eax
mov dword [0x103e118], 1
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x2bc]
add eax, 0x88
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x439
push dword [esi + 0x20]
mov dword [ebp - 0x34], 0x30
call ebx
xor edi, edi
inc edi
push 0
mov ecx, esi
mov dword [esi + 0x2c4], edi
call fcn.01013ac4
lea eax, [ebp - 0x34]
push eax
push edi
push 0x411
push dword [esi + 0x20]
call ebx
lea eax, [esi + 0x2b8]
push eax
push dword [ebp + 0x10]
mov ecx, esi
push 0x43e
push 2
call fcn.01007411
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x101a91f
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
or dword [ebp + 0x1c], 4
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov word [ebp - 0x208], bx
jne 0x1021e6b
mov dword [ebp + 0xc], ebx
cmp dword [ebp + 0x10], ebx
je 0x1021e99
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1021e99
cmp word [ebp - 0x208], bx
je 0x101a999
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
cmp eax, 0xffffffff
je 0x101a999
push eax
call dword [sym.imp.SHELL32.dll_DriveType]
cmp eax, 2
je 0x1021e84
cmp eax, 5
je 0x1021e84
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1021e99
cmp dword [ebp + 0x14], ebx
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
mov edi, 0x100
jne 0x1021eb1
xor eax, eax
cmp dword [ebp + 0x18], eax
jne 0x1021ecf
push dword [ebp + 0x1c]
push eax
push ebx
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_Ordinal_61]
pop edi
pop esi
pop ebx
leave
ret 0x18
movzx eax, word [ebp + 0xc]
push eax
push dword [0x103e648]
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp + 0xc], eax
jmp 0x101a944
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x101a999
push ebx
push 0x10
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
jmp 0x101a9ae
push edi
lea eax, [ebp - 0x608]
push eax
push dword [ebp + 0x14]
push dword [0x103e648]
call esi
lea ebx, [ebp - 0x608]
jmp 0x101a9c2
push edi
lea eax, [ebp - 0x408]
push eax
push dword [ebp + 0x18]
push dword [0x103e648]
call esi
lea eax, [ebp - 0x408]
jmp 0x101a9cd
Function at 0x101b51f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0x10]
add eax, ecx
xor edi, edi
cmp dword [ebp + 0xc], edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
je 0x10250f1
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
push dword [ebp + 0x14]
xor ebx, ebx
cmp dword [ebp + 0xc], edi
push ecx
setne bl
push edi
lea eax, [ebp + 0xc]
push eax
push ebx
call esi
cmp eax, ebx
jne 0x101b5af
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
push 1
push edi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call ebx
test eax, eax
jne 0x101b58f
cmp dword [ebp + 0x10], 0xffffffff
je 0x101b5b6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 8]
sub ecx, eax
mov dword [ebp - 4], ecx
jmp 0x101b54a
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
cmp dword [ebp - 0x20], 0x20
je 0x1025101
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x101b568
pop esi
pop ebx
pop edi
leave
ret 0x10
mov ecx, dword [ebp - 4]
jmp 0x101b54a
or eax, 0xffffffff
cmp ecx, eax
je 0x101b5b1
jmp 0x101b542
push 0x7f02
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x101b568
Function at 0x101b70f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x3b4]
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 4], 0x10
je 0x101b73b
push ebx
push ebx
push 0x438
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [esi + 0x3a8]
cmp dword [edi], ebx
jne 0x102224b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x34]
mov dword [esi + 0xc], 1
call edi
push 2
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [esi + 0x34]
mov ebx, dword [sym.imp.USER32.dll_MapWindowPoints]
call ebx
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 4]
call edi
push 2
lea eax, [ebp - 0x2c]
push eax
xor edi, edi
push edi
push dword [esi + 4]
call ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov eax, dword [ebp - 0x1c]
push edi
push edi
push 0x1f
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
test eax, eax
setne cl
inc ecx
push ecx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x101e5d6
lea eax, [esi + 0x4ac]
cmp dword [eax], edi
lea ebx, [esi + 0x4a4]
je 0x101b7ee
mov ebx, eax
mov eax, dword [ebx]
cmp eax, edi
je 0x1022267
push dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0xc]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jl 0x1022278
cmp dword [ebp - 4], 0x10
jne 0x101b82b
push edi
push 0x10002
push 0x128
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret
mov dword [ebp - 4], edi
jmp 0x101b7dc
mov ecx, esi
call fcn.0102b1e6
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0102b210
jmp 0x101b749
mov ecx, esi
call fcn.0100b954
mov eax, dword [ebx]
cmp eax, edi
jne 0x101b7f8
call fcn.0101b3af
jmp 0x101b811

Function at 0x101bcbc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x7c], ebx
jne 0x101bcd6
cmp dword [esi + 0x74], ebx
jne 0x1025a45
pop esi
pop ebx
leave
ret
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x101bcd6
push edi
xor edi, edi
inc edi
push edi
push ebx
push 0x1017a40
push 0x1016938
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x1025a99
dec dword [esi + 0x74]
push 3
lea eax, [ebp - 0x10]
push eax
push ebx
mov dword [esi + 0x7c], edi
mov esi, dword [esi + 0x24]
push 0x4e
push esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], 0xd1
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_Ordinal_178]
pop edi
jmp 0x101bcd6
Function at 0x101cbd7
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
cmp word [eax + 0xc], 0x71
push edi
mov edi, ecx
je 0x102614c
xor eax, eax
pop edi
ret 4
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
test ax, ax
jl 0x1026187
push 0x11
call esi
test ax, ax
jl 0x1026187
push 0x12
call esi
test ax, ax
jl 0x1026187
test byte [edi + 0x48], 8
je 0x1026187
mov ecx, edi
call fcn.0101c775
test eax, eax
jl 0x1026187
push eax
mov ecx, edi
call fcn.0103753b
pop esi
jmp 0x101cbe9

Function at 0x101e2a3
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0
push edi
mov ebp, eax
call fcn.0101e3b6
test eax, eax
jl 0x101e39d
push dword [ebp + 4]
push dword [esi + 8]
call fcn.0101e238
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_IStream_WritePidl]
test eax, eax
jl 0x101e39d
jmp 0x101e34d
sub esp, 0x14
push ebp
push esi
push edi
push 1
push 0x1017894
push 0x1017818
mov esi, ecx
xor ebp, ebp
push 0x80000001
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], ebp
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov edi, eax
cmp edi, ebp
je 0x101e3af
push 4
lea eax, [esp + 0x1c]
push eax
push edi
mov dword [esp + 0x24], 9
call dword [sym.imp.SHLWAPI.dll_IStream_Write]
test eax, eax
jl 0x101e39e
mov dword [esp + 0xc], ebp
add esi, 0x38
push ebx
push dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
call fcn.01008621
test eax, eax
je 0x101e383
mov eax, dword [esp + 0x10]
movzx eax, byte [eax*8 + 0x1016814]
push eax
push edi
call fcn.0101e3b6
test eax, eax
jl 0x101e39d
mov eax, dword [esi]
cmp eax, ebp
je 0x101e375
cmp dword [esi + 8], ebp
je 0x101e375
cmp dword [eax], ebp
mov dword [esp + 0x14], ebp
jle 0x101e375
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x14]
mov ebx, dword [eax + ecx*4]
mov eax, dword [ebx]
cmp ebp, eax
jne 0x101e271
push 1
push edi
call fcn.0101e3b6
test eax, eax
jl 0x101e39d
push dword [ebx + 4]
push edi
call dword [sym.imp.SHLWAPI.dll_IStream_WritePidl]
test eax, eax
jl 0x101e39d
inc dword [esp + 0x14]
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax]
jl 0x101e337
push 2
push edi
call fcn.0101e3b6
test eax, eax
jl 0x101e39d
xor ebp, ebp
inc dword [esp + 0x10]
add esi, 0x1c
cmp dword [esp + 0x10], 6
jb 0x101e2fc
mov dword [esp + 0x18], 1
pop ebx
mov eax, dword [edi]
push edi
call dword [eax + 8]
cmp dword [esp + 0x14], 0
je 0x1025831
pop edi
pop esi
pop ebp
add esp, 0x14
ret
push 0x1017894
push 0x1017818
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
jmp 0x101e3af
Function at 0x101ea35
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, ecx
lea ecx, [esi + 0x38]
cmp eax, dword [ecx]
jne 0x10210d2
push ebx
xor ebx, ebx
cmp word [esp + 0xc], bx
push edi
jne 0x101ea89
movzx eax, word [esp + 0x14]
push eax
call fcn.01004ed5
push 0x11
mov edi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
jl 0x102111a
push 1
push ebx
push edi
call fcn.0100203b
cmp dword [eax], ebx
je 0x101ea8f
push ebx
push eax
push edi
mov ecx, esi
call fcn.0101ea9d
pop edi
pop ebx
pop esi
ret 0xc
cmp dword [esi + 0xa8], 0xffffffff
jne 0x101ea89
jmp 0x1021126
movzx eax, word [esp + 8]
sub eax, 0xf020
je 0x102110a
sub eax, 0x40
jne 0x101ea8b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
setl cl
mov eax, ecx
push eax
push 0
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_EndTask]
jmp 0x101ea8b
push 0xb
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x101ea8b
push ebx
push edi
call fcn.010040c5
jmp 0x101ea89
push ebx
push edi
mov ecx, esi
call fcn.010040c5
push edi
mov ecx, esi
call fcn.0102a5d9
jmp 0x101ea89

Function at 0x101f644
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [esi + 0x28c], ebx
call fcn.0101f5a9
push dword [ebp + 8]
mov dword [ebp - 8], eax
call fcn.0101f6fa
test eax, eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x102486c
mov eax, dword [ebp + 0x10]
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x445
push dword [esi + 0x14]
mov dword [ebp - 0x10], ecx
call edi
cmp dword [ebp - 8], ebx
mov dword [ebp - 4], eax
jne 0x1024882
lea ecx, [esi + 0x23c]
push dword [ecx + 4]
push 1
push dword [ebp - 4]
call fcn.01005bd4
mov edi, eax
cmp edi, ebx
je 0x101f6f6
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1024910
cmp dword [ebp - 8], ebx
jne 0x1024896
push dword [ebp + 8]
mov ecx, esi
push edi
call fcn.01013afd
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x101f6a5
jmp 0x101f678
xor eax, eax
jmp 0x101f6e5
push ebx
push dword [esi + 0x2dc]
push 0x419
push dword [esi + 0x14]
call edi
jmp 0x101f6ec
push eax
push dword [esi + 0x14]
call fcn.010340f4
mov dword [esi + 0x2dc], eax
jmp 0x101f6a5
push dword [edi]
call fcn.01033eaf
mov eax, dword [esi + 0x2bc]
cmp eax, ebx
je 0x10248ec
mov ecx, dword [eax]
cmp ecx, dword [edi]
jne 0x10248ec
mov ecx, dword [eax + 4]
cmp ecx, dword [edi + 4]
jne 0x10248ec
cmp dword [ebp + 8], 0x204
je 0x10248cf
cmp dword [ebp + 8], 0x206
je 0x10248cf
mov dword [esi + 0x314], ebx
jmp 0x10248d9
mov dword [esi + 0x314], 1
push 0x405
push ebx
push ebx
push dword [eax + 4]
mov ecx, esi
push dword [eax]
call fcn.01013973
push 3
push edi
push dword [ebp - 4]
mov ecx, esi
call fcn.010072fd
push ebx
mov ecx, esi
mov dword [esi + 0x2c8], 1
call fcn.01013ac4
jmp 0x101f6d7
push 1
push ebx
push dword [ebp - 4]
mov ecx, esi
call fcn.0101a3fa
jmp 0x101f6e2