joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101166f
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x1046080]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
xor edi, edi
push eax
mov dword [ebp - 0x210], edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x10116ec
mov dword [ebp - 0x214], edi
push esi
call fcn.0101170a
test eax, eax
jne 0x10116eb
cmp word [ebx], di
mov esi, ebx
jne 0x1023248
cmp word [esi], di
jne 0x1011700
mov dword [ebp - 0x214], 1
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x1023273
xor edi, edi
cmp dword [ebp - 0x214], edi
lea ebx, [esi + 2]
je 0x10116ac
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop ebx
call fcn.010019ca
leave
ret 8
mov word [esi], di
jmp 0x10116cf
mov ax, word [esi]
cmp ax, 0x20
je 0x10116c0
cmp ax, 0x2c
je 0x10116c0
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp word [esi], di
je 0x10116c0
jmp 0x1023248
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x24c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x250]
push eax
mov dword [ebp - 0x250], 0x3c
mov dword [ebp - 0x240], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x10232e9
push 0x10232f8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10116de
push ebx
push 0x1030
push 0x20c
push 0x203
push 0
push eax
call sub.SHELL32.dll_ShellMessageBoxW
add esp, 0x18
jmp 0x10116de
mov dword [ebp - 0x210], 1
jmp 0x10116de
Function at 0x101183c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push edi
xor edi, edi
cmp ecx, edi
mov byte [ebp - 1], 0
je 0x1011925
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x1011925
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_IsOS]
mov dword [ecx], edi
push 0x17
mov dword [eax], edi
call esi
test eax, eax
je 0x102334d
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1011924
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push ebx
push 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
pop edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1011a5c
push 0x1011a78
mov ebx, 0x80000002
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
je 0x1023362
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1011a34
push 0x10119c0
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
je 0x1023382
push 0x15
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
jne 0x1011923
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x10119b0
push 0x1011940
mov ebx, 0x80000001
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x1023390
cmp dword [ebp - 8], eax
jne 0x1023390
pop ebx
pop esi
mov al, byte [ebp - 1]
pop edi
leave
ret 8
test eax, eax
jne 0x1011878
jmp 0x1011924
cmp dword [ebp - 8], eax
jne 0x1011923
jmp 0x10118e7
push 0x16
call esi
test eax, eax
jne 0x1011878
push 0x15
call esi
jmp 0x101192d
cmp dword [ebp - 8], eax
je 0x10118bf
mov eax, dword [ebp + 8]
mov dword [eax], 0x102aee8
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x10234d8
jmp 0x1023404
cmp dword [ebp - 0x10], edi
je 0x1011937
jmp 0x10118e7
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x10234c8
push 0x1023450
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x10233bb
cmp dword [ebp - 8], eax
je 0x1011923
call fcn.0102c768
test al, al
jne 0x1011923
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1011a78
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x10233f2
cmp dword [ebp - 8], eax
je 0x1011923
mov eax, dword [ebp + 8]
mov dword [eax], 0x102aed4
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x1023410
mov byte [ebp - 1], 1
jmp 0x1011923
Function at 0x1011ae5
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.01011b09
test eax, eax
jne 0x10235c6
pop ebx
leave
ret 8
mov eax, dword [ebp + 0xc]
push esi
push edi
xor esi, esi
push 7
mov dword [ebp - 0x20], eax
pop ecx
xor eax, eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x1c]
push ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.SHLWAPI.dll_PathGetArgsW]
mov dword [ebp - 0x28], eax
cmp word [eax], si
je 0x1023606
mov word [eax - 2], si
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
jmp 0x1011aff

Function at 0x1011f13
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_Ordinal_552]
cmp eax, ebx
mov dword [ebp - 8], eax
jl 0x1011fab
push edi
push 0xe
xor eax, eax
cmp dword [ebp + 0xc], ebx
pop ecx
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x40], 0x40
pop edi
je 0x1011f70
mov dword [ebp - 0x40], 0x440
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1023230
cmp dword [ebp - 0xc], ebx
je 0x1011f99
cmp dword [ebp + 0x10], ebx
jne 0x102321b
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
call esi
push dword [ebp - 4]
call esi
pop esi
xor eax, eax
cmp dword [ebp - 8], ebx
pop ebx
setge al
leave
ret 0xc
push 0x4ff
push 0xffffffffffffffff
push dword [ebp - 0xc]
push ebx
call fcn.0103d8b9
jmp 0x1011f90
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0102c419
mov dword [ebp - 8], eax
jmp 0x1011f99

Function at 0x101233a
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 0x100edf4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1012362
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret
Function at 0x101240b
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x1046080]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push 0x10
mov dword [ebp - 0x42c], eax
xor eax, eax
cmp edx, ebx
pop ecx
lea edi, [ebp - 0x47c]
mov dword [ebp - 0x480], ebx
mov dword [ebp - 0x424], edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x41c], ebx
jne 0x101247d
lea eax, [ebp - 0x480]
mov dword [ebp - 0x480], 0x44
mov dword [ebp - 0x424], eax
cmp esi, ebx
je 0x1028f3d
push dword [ebp - 0x428]
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x102
lea eax, [ebp - 0x414]
push eax
call fcn.01002ca8
cmp eax, ebx
mov dword [ebp - 0x418], eax
jl 0x1012528
lea eax, [ebp - 0x414]
push eax
call sub.SHLWAPI.dll_PathQuoteSpacesW
push 0x1012540
mov edi, 0x208
push edi
lea eax, [ebp - 0x414]
push eax
call fcn.01002d79
cmp eax, ebx
mov dword [ebp - 0x418], eax
jl 0x1012528
cmp dword [ebp - 0x420], ebx
jne 0x1028f52
cmp dword [ebp - 0x418], ebx
jl 0x1012528
push esi
push dword [ebp - 0x424]
lea eax, [ebp - 0x414]
push dword [ebp - 0x42c]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1028f70
cmp dword [ebp - 0x41c], ebx
jne 0x1028f87
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x418]
pop edi
pop esi
pop ebx
call fcn.010019ca
leave
ret 0x14
lea esi, [ebp - 0x43c]
mov dword [ebp - 0x41c], 1
jmp 0x1012485
push dword [ebp - 0x420]
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.01002d79
mov dword [ebp - 0x418], eax
jmp 0x10124e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0102c419
mov dword [ebp - 0x418], eax
jmp 0x1012528
push dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi]
call edi
jmp 0x1012528

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1046080]
push ebx
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push edi
xor ebx, ebx
inc ebx
push ebx
mov dword [ebp - 4], eax
push 0x10
lea eax, [ebp - 0x20c]
push eax
xor edi, edi
push edi
call esi
push ebx
push 2
lea eax, [ebp - 0x20c]
push eax
push edi
call esi
push ebx
push 0xb
lea eax, [ebp - 0x20c]
push eax
push edi
call esi
push ebx
push 7
lea eax, [ebp - 0x20c]
push eax
push edi
call esi
push ebx
push 8
lea eax, [ebp - 0x20c]
push eax
push edi
call esi
push ebx
push 6
lea eax, [ebp - 0x20c]
push eax
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010019ca
leave
ret
Function at 0x10129a2
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x1046080]
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1012a38
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1012a18
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x1012a24
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10234ec
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop esi
call fcn.010019ca
leave
ret
cmp word [ebp - 0x20c], si
je 0x1012a0c
push edi
push 0x10
pop ecx
lea edi, [ebp - 0x264]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x268]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
push esi
mov dword [ebp - 0x268], 0x44
mov word [ebp - 0x238], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
je 0x1012a0c
push dword [ebp - 0x224]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x220]
call esi
jmp 0x1012a0c

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
mov ebx, 0x101466c
push ebx
mov edi, 0x101c6d8
push edi
mov esi, 0x80000001
push esi
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, 2
je 0x1023ad2
cmp eax, 3
je 0x1023ad2
pop edi
pop esi
pop ebx
leave
ret
push 0x1d
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x1023b7d
push 0x220
push 0
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x1023b1f
push 0x225
push eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x1023b1f
push 0x227
push eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x1023b1f
push 0x22c
push eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
je 0x1023b7d
push 0x1023b8c
push 0x102af50
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1023b4a
push 0x1023b84
push 1
call eax
push 3
push 1
push 0
push 0x100b
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0
push 0x1a
call dword [sym.imp.SHLWAPI.dll_SHSendMessageBroadcastW]
push 4
lea eax, [ebp - 4]
push eax
push 4
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x1014664
and dword [ebp - 4], 0
jmp 0x1023b67
Function at 0x1014aa3
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x1046080]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x41c]
push eax
xor ebx, ebx
push ebx
push 0x1014b10
mov edi, 0x101c6d8
push edi
mov esi, 0x80000001
push esi
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x424], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 0x41c]
cmp eax, 2
jb 0x1024207
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010019ca
leave
ret
sub eax, ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
je 0x102421a
dec eax
jne 0x10242a3
jmp 0x1024292
push 0x1024334
push 0x101c820
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x420], 0x104
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x428]
push eax
push 0x1024320
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1024292
cmp word [ebp - 0x414], ax
je 0x1024292
push 4
lea eax, [ebp - 0x418]
push eax
push 4
push 0x102af88
push edi
push esi
mov dword [ebp - 0x418], 1
call ebx
xor eax, eax
cmp dword [ebp - 0x41c], eax
sete al
push eax
call fcn.0103eadf
push 0
push 1
push 0x1024300
push 0x10242e4
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
jne 0x1014b00
push 4
lea eax, [ebp - 0x418]
push eax
push 4
push 0x1014b10
push edi
push esi
mov dword [ebp - 0x418], 2
call ebx
jmp 0x1014b00

Function at 0x1015312
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1f8
mov eax, dword [0x1046080]
push esi
xor esi, esi
push esi
lea ecx, [ebp - 0x1f8]
mov dword [ebp - 4], eax
mov eax, 0x1f4
push ecx
push eax
push 0x29
mov dword [ebp - 0x1f8], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x1015378
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, eax
and cx, 0x3ff
cmp cx, 4
je 0x10251d0
mov dword [ebp - 0x1d0], 0x2bc
lea eax, [ebp - 0x1e0]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.010019ca
leave
ret 4
shr ax, 0xa
cmp ax, 1
je 0x10251e4
cmp ax, 2
jne 0x101535f
mov dword [ebp - 0x1d0], 0x190
jmp 0x1015369
Function at 0x1015bc2
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
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, 0x10126c0
push 0x101275c
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 0x1015c27
push ebx
call dword [sym.imp.SHLWAPI.dll_IStream_Reset]
test eax, eax
jl 0x1015c27
cmp dword [ebp + 8], 0
push dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
push dword [ebp + 0xc]
push ebx
jne 0x102778b
call fcn.01015c33
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
cmp dword [ebp - 8], 0
jne 0x10277a4
pop edi
pop esi
pop ebx
leave
ret 0xc
call fcn.01035d4d
test eax, eax
jge 0x1015c17
mov dword [ebp - 8], 1
jmp 0x1015c17
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 0x1015c27
push 0x101275c
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1015c27

Function at 0x1015d5f
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push ebx
push 0x101273c
push 0x10126c0
push 0x80000001
mov dword [ebp - 4], ecx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov esi, eax
cmp esi, ebx
je 0x1015dee
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 0x1015de7
cmp dword [ebp - 0x18], 0x14
jne 0x1015de7
mov edi, dword [ebp - 4]
push dword [ebp - 0x14]
mov ecx, edi
call fcn.01013277
test eax, eax
je 0x1015de7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x1015de7
cmp dword [ebp - 0xc], ebx
jbe 0x1015de7
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 0x1015de7
push esi
call dword [fcn.01015e00]
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 0x1016ddc
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0x580
push 0x28e44000
lea eax, [ebp - 0x14]
push eax
call fcn.01016cf7
lea esi, [ebx + 0x20]
push esi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x1029a94
push ebx
push 0x1016d1b
push dword [ebx + 0xe0]
call dword [fcn.01016200]
and dword [ebp - 4], 0
lea esi, [ebx + 0x44]
mov ecx, dword [ebp - 4]
shl ecx, 3
mov eax, dword [ecx + 0x101662c]
mov ecx, dword [ecx + 0x1016630]
lea edi, [esi - 4]
mov dword [ebx + 0x28], ecx
cmp dword [edi], 0
mov dword [ebp - 0xc], eax
je 0x1029aa4
push dword [ebp - 4]
mov ecx, ebx
call fcn.010165fc
test eax, eax
je 0x1016edf
test byte [ebx + 0x28], 8
je 0x1016e80
push 0x20000
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x1029ab9
push dword [ebp - 0xc]
call fcn.01016f05
test eax, eax
jne 0x101bd42
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x101bd42
mov eax, dword [edi]
test eax, eax
je 0x101bc8a
push dword [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_ILIsEqual]
test eax, eax
je 0x101bc8a
cmp dword [esi], 0
jne 0x101bc8a
cmp dword [esi + 4], 0
je 0x101bc8a
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ILFree]
inc dword [ebp - 4]
add esi, 0x1c
cmp dword [ebp - 4], 6
jb 0x1016e35
pop edi
pop esi
mov dword [ebx + 0xf4], 1
xor eax, eax
pop ebx
leave
ret
mov ecx, dword [edi]
xor edx, edx
cmp ecx, edx
je 0x101bc96
cmp dword [esi], edx
je 0x101bd00
mov eax, dword [esi - 0xc]
cmp eax, edx
mov dword [esi], edx
mov dword [esi - 8], eax
je 0x101bd3b
mov eax, dword [eax]
push ecx
mov dword [esi + 0xc], eax
mov dword [esi + 8], edx
call dword [sym.imp.SHELL32.dll_ILFree]
and dword [edi], 0
push 4
lea ecx, [esi - 0xc]
call fcn.01016778
test eax, eax
je 0x101bcf7
push dword [ebp - 8]
push dword [ebx + 0x2c]
call fcn.0101b8c5
test eax, eax
mov dword [ebp - 0xc], eax
je 0x101bcf7
mov eax, dword [ebp - 8]
and dword [ebp - 8], 0
mov dword [edi], eax
lea eax, [esi - 0xc]
push eax
push dword [ebp - 0xc]
mov ecx, ebx
call fcn.0101becd
mov ecx, dword [ebp - 0xc]
call fcn.010163b5
lea eax, [esi - 8]
push eax
call fcn.0101bb46
cmp dword [ebx + 4], 0
je 0x1016ed6
cmp dword [esi + 4], 0
jne 0x1016ed6
mov edi, dword [edi]
test edi, edi
je 0x1016ed6
xor eax, eax
inc eax
push eax
push edi
push 0x2381f
push dword [ebp - 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 4]
call fcn.0101cae6
jmp 0x1016ed6
xor eax, eax
jmp 0x101bca8
lea ecx, [esi - 0xc]
call fcn.0100cce9
jmp 0x1016edf
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
jmp 0x1016e1c
push edi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [esi], 1
jmp 0x1016e59
or dword [ebx + 0x28], 1
jmp 0x1016e80
Function at 0x1019763
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
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 0x1019791
push ebx
push ebx
push 0x438
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [esi + 0x3a8]
cmp dword [edi], ebx
jne 0x1026082
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
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 0x102609e
lea eax, [esi + 0x4b4]
cmp dword [eax], edi
lea ebx, [esi + 0x4ac]
je 0x1019841
mov ebx, eax
mov eax, dword [ebx]
cmp eax, edi
je 0x10260a6
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 0x10260b7
cmp dword [ebp - 4], 0x10
jne 0x101987e
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 ecx, esi
call fcn.01030ea7
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.01030ed8
jmp 0x101979f
mov dword [ebp - 4], edi
jmp 0x101982f
mov ecx, esi
call fcn.0100a924
mov eax, dword [ebx]
cmp eax, edi
jne 0x101984b
call fcn.0101951d
jmp 0x1019864

Function at 0x101994f
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x7c], ebx
jne 0x101996b
cmp dword [esi + 0x74], ebx
jne 0x10291fd
pop esi
pop ebx
leave
ret
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x101996b
push edi
xor edi, edi
inc edi
push edi
push ebx
push 0x100ae24
push 0x101c6d8
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x1029251
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 0x101996b