joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1027882
Capabilities:
Create process on windows
Create process suspended
Create thread
Resume thread
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x10279b2
push ebx
push eax
call fcn.010277ff
cmp eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], eax
je 0x10279ac
lea ecx, [ebp - 0x24]
push ecx
push 4
push eax
push 0x1027849
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x10279a7
push edi
xor eax, eax
mov dword [ebp - 0x20], esi
push 0x10
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
pop ecx
push dword [ebp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x400
xor eax, eax
mov dword [ebp - 0x68], esi
lea edi, [ebp - 0x64]
push 0x10395e0
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x478]
push 0x208
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push esi
push 4
push esi
push esi
push esi
lea eax, [ebp - 0x478]
push eax
push esi
mov dword [ebp - 0x68], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1027996
push dword [ebp - 0x20]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x102797c
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 8], 1
call edi
push dword [ebp - 4]
call edi
cmp dword [ebp + 0xc], esi
je 0x1027987
push 0x4ff
push 0xffffffffffffffff
push dword [ebp - 4]
push esi
call fcn.0101b51f
jmp 0x1027987
push 5
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x20]
call ebx
push dword [ebp - 0x1c]
call ebx
cmp dword [ebp - 8], esi
jne 0x10279a1
push 5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [ebp - 4]
call ebx
pop edi
push dword [ebp - 0x10]
call ebx
push dword [ebp - 0xc]
call ebx
pop ebx
mov eax, dword [ebp - 8]
pop esi
leave
ret 8
Function at 0x1027a23
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call fcn.0100e696
test eax, eax
jne 0x1027b60
push 0xe
mov dword [ebp - 0x40], ebx
pop ecx
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
cmp word [esi], bx
mov edi, esi
je 0x1027a73
mov ax, word [edi]
cmp ax, 0x20
je 0x1027a73
cmp ax, 0x2c
je 0x1027a73
push edi
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
cmp word [edi], bx
jne 0x1027a56
cmp word [edi], bx
jne 0x1027a81
mov dword [ebp - 4], 1
jmp 0x1027a84
mov word [edi], bx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1027b54
push 0x104
lea eax, [ebp - 0x248]
push eax
mov word [ebp - 0x248], bx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [0x1039550], 0
mov ebx, 0x1039550
je 0x1027b05
push dword [ebx]
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1027b00
add ebx, 4
cmp dword [ebx], 0
jne 0x1027ae3
jmp 0x1027b05
call sub.SHELL32.dll_Ordinal_711
lea eax, [ebp - 0x248]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x28], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1027b52
lea eax, [ebp - 0x248]
push eax
push 0x1030
push 0x20c
push 0x203
push 0
push dword [0x103e648]
call sub.SHELL32.dll_ShellMessageBoxW
add esp, 0x18
xor ebx, ebx
cmp dword [ebp - 4], ebx
lea esi, [edi + 2]
je 0x1027a37
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1027bc4
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xafc
push ebx
push esi
push edi
push 0x1d
mov edi, 0x1030
mov ebx, 0x21a
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
jne 0x1027bea
add edi, 4
inc ebx
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x50
lea eax, [ebp - 0xf4]
push eax
push 0x20c
push dword [0x103e648]
call esi
push 0x400
lea eax, [ebp - 0xafc]
push eax
push ebx
push dword [0x103e648]
call esi
push edi
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xafc]
push eax
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x1027c8c
push 0x104
lea eax, [ebp - 0x2fc]
push eax
push 0x1039668
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x10
pop ecx
xor eax, eax
mov dword [ebp - 0x54], esi
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x2fc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1027c8c
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1027d23
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
xor esi, esi
push esi
push 0x200
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSetSettings]
test byte [ebp - 0x28], 0x40
je 0x1027d89
call fcn.01027ca0
cmp eax, 2
jb 0x1027d8f
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x10396d4
push dword [0x103e820]
mov dword [ebp - 4], esi
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, 0x493e0
sbb esi, esi
neg esi
jne 0x1027d8f
push 1
jmp 0x1027d8a
push esi
call fcn.01027cd1
mov eax, esi
pop esi
leave
ret

Function at 0x1027d94
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push 7
lea eax, [ebp - 0x10]
push eax
push 0x1004
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x1027dce
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
push 2
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
mov eax, dword [ebp - 0x30]
jmp 0x1027dd1
xor eax, eax
inc eax
leave
ret 4
Function at 0x1028984
Capabilities:
Get session user name
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
lea eax, [ebp - 4]
push eax
push 1
xor edi, edi
and dword [ebp - 4], edi
push edi
push 0x10189d0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov ebx, dword [ebp + 8]
jne 0x10289ed
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
shl eax, 1
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push edi
push 0x1039718
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10289e0
cmp dword [ebp - 8], 1
jne 0x10289e0
cmp word [ebx], ax
je 0x10289e0
inc edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x1028a06
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov edi, eax
test edi, edi
je 0x1028a06
push 1
push ebx
call dword [sym.imp.USER32.dll_CharUpperBuffW]
mov eax, edi
pop edi
pop ebx
leave
ret 8

Function at 0x102b1e6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0x1018090
push 0x1016938
push 0x80000001
mov dword [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push esi
inc ebx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x102c3c5
push ebx
push esi
lea eax, [ebp - 0x208]
push 0x1039910
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
inc ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x102c38b
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x102c427
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov esi, eax
test esi, esi
je 0x102c427
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x410]
push eax
call edi
and word [esi], 0
lea eax, [ebp - 0x410]
push eax
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push 0x1039900
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x208]
push eax
inc ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x102c3e7
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x102c4f7
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
sub eax, 0x55c
push esi
mov esi, ecx
je 0x102c52b
dec eax
jne 0x102c527
xor eax, eax
cmp dword [esp + 0xc], eax
je 0x102c527
push eax
push eax
push dword [esi + 0x3c]
call dword [sym.imp.SHLWAPI.dll_Ordinal_479]
push dword [0x103e068]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop esi
ret 0xc
xor eax, eax
cmp dword [esp + 0xc], eax
je 0x102c510
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0x10002
push 0x128
push dword [esi + 4]
call edi
push dword [esi + 4]
push 1
push 0x459
push dword [0x103e068]
call edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
pop edi
mov ecx, esi
jge 0x102c582
push dword [esi + 0x3a4]
call fcn.0101c1a5
jmp 0x102c527
push dword [esi + 0x34]
jmp 0x102c57b

Function at 0x102c893
Capabilities:
Enumerate gui resources

Disassembly:
push esi
push edi
mov edi, 0x103e0e0
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x474]
test eax, eax
je 0x102c8bd
mov eax, dword [eax + 4]
test eax, eax
je 0x102c8e4
push eax
call dword [0x103ad60]
jmp 0x102c8e4
push 8
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [esi + 0x474], eax
je 0x102c8e4
push 4
push 0x34
call dword [fcn.010188c4]
mov ecx, dword [esi + 0x474]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x474]
test eax, eax
je 0x102c900
mov ecx, dword [esp + 0xc]
push esi
push 0x102c82a
mov dword [eax], ecx
call dword [sym.imp.USER32.dll_EnumWindows]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
ret 4

Function at 0x102c97e
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
push ebx
xor ebx, ebx
push ebx
push 0x16
lea eax, [ebp - 0x4c8]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x102ca3e
cmp dword [ebp + 8], ebx
lea eax, [ebp - 0x2c0]
je 0x102c9b5
push 0x10399b0
jmp 0x102c9ba
push 0x1039990
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
lea eax, [ebp - 0x4c8]
push eax
lea eax, [ebp - 0x2c0]
push eax
call esi
push 0x103998c
lea eax, [ebp - 0x2c0]
push eax
call esi
push 0x10
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
inc eax
mov dword [ebp - 0x28], eax
mov word [ebp - 0x24], ax
xor eax, eax
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2c0]
push eax
push ebx
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x102ca3c
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x102caf1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
push edi
mov edi, ecx
call fcn.0102ca43
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x10], eax
setne al
cmp dword [ebp + 8], 0xffffffff
je 0x102cc79
cmp dword [ebp - 0x10], 0xffffffff
setne cl
cmp al, cl
je 0x102cc79
cmp al, bl
je 0x102cc82
lea eax, [ebp + 8]
push eax
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x102cc79
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x10399d8
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ILFree]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x102cc79
push esi
lea eax, [ebp - 8]
push eax
push 0x1039a3c
push 3
push ebx
mov esi, 0x103a7e4
push esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x102cc6f
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push 0x10189bc
push eax
call dword [ecx]
test eax, eax
jl 0x102cc66
push dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x102cc5d
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x18]
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push 1
push esi
push dword [ebp - 4]
mov esi, dword [sym.imp.SHLWAPI.dll_IUnknown_Exec]
mov word [ebp - 0x20], 3
mov dword [ebp - 0x18], 0x1a
call esi
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push 0x2f
push 0x1039a2c
push dword [ebp - 4]
mov dword [ebp - 0x18], ebx
call esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x10169b0
push eax
call dword [ecx]
test eax, eax
jl 0x102cc5d
mov eax, dword [edi + 0x3c]
push dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x102cc54
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
push 2
movsx eax, ax
push 2
push eax
push ecx
call dword [edx + 0x18]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ILFree]
pop esi
mov eax, dword [ebp - 0x10]
pop edi
pop ebx
leave
ret 4
mov ecx, edi
call fcn.0102ca43
cmp eax, 0xffffffff
je 0x102cc79
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x1c]
jmp 0x102cc82
Function at 0x102ccbc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
push 0x208
lea eax, [ebp - 0x44c]
push eax
push dword [ebp + 8]
push dword [0x103e648]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x102cd31
and dword [ebp - 0x3c], 0
push edi
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
push 0x3e
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
pop edi
je 0x102cd0d
and word [eax], 0
inc eax
inc eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x44c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
leave
ret 4
Function at 0x102d8f8
Capabilities:
Enumerate gui resources
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push edi
push 0xcd
mov edi, ecx
call fcn.01033caf
mov ecx, eax
xor eax, eax
cmp ecx, eax
mov dword [ebp - 4], ecx
je 0x102db1b
cmp dword [ebp + 8], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnableMenuItem]
push esi
je 0x102d960
cmp dword [edi + 0x31c], eax
je 0x102d942
push 0x400
push 1
push ecx
call dword [sym.imp.USER32.dll_DeleteMenu]
jmp 0x102d975
cmp dword [edi + 0x2e4], eax
jne 0x102d952
cmp dword [edi + 0x2e8], eax
jne 0x102d955
push 3
pop eax
push eax
push 0x1a5
push ecx
call ebx
jmp 0x102d975
push 2
pop esi
push 0x400
push esi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DeleteMenu]
dec esi
jns 0x102d963
mov eax, dword [edi + 0x4f4]
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 8
push eax
mov esi, 0x1a8
push esi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_CheckMenuItem]
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
call fcn.01011006
test eax, eax
jne 0x102d9b7
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
je 0x102d9b7
xor eax, eax
jmp 0x102d9ba
push 3
pop eax
push eax
push esi
push dword [ebp - 4]
call ebx
cmp dword [edi + 0x424], 0
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
je 0x102da3b
cmp dword [edi + 0x474], 0
je 0x102da3b
push 0x1e
lea eax, [ebp - 0x98]
push eax
push 0x216
push dword [0x103e648]
call esi
push 0x1e
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [edi + 0x474]
push dword [eax]
push dword [0x103e648]
call esi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov eax, 0x1a0
push eax
push 0
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ModifyMenuW]
jmp 0x102da4b
push 0
push 0x1a0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DeleteMenu]
cmp dword [0x103e06c], 0
je 0x102da83
push 0x40
lea eax, [ebp - 0x118]
push eax
push 0x352
push dword [0x103e648]
call esi
lea eax, [ebp - 0x118]
push eax
mov eax, 0x197
push eax
push 0
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ModifyMenuW]
push edi
push 0x102c7dd
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x102dab7
push 3
push 0x193
push dword [ebp - 4]
call ebx
push 3
push 0x194
push dword [ebp - 4]
call ebx
push 3
push 0x195
push dword [ebp - 4]
call ebx
lea eax, [ebp - 8]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1039aa0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102db16
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x1039a7c
push dword [ebp - 8]
mov dword [ebp + 8], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 8], esi
je 0x102db16
push 3
push 0x1a4
push dword [ebp - 4]
call ebx
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop edi
leave
ret 4
Function at 0x102e0d1
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push edi
push 0x1039b4c
push dword [ebp + 8]
mov edi, ecx
call esi
test eax, eax
jne 0x102e107
cmp dword [0x103e06c], eax
push 1
sete al
mov ecx, edi
push eax
call fcn.01002f51
jmp 0x102e186
push 0x1039b40
push dword [ebp + 8]
call esi
test eax, eax
jne 0x102e186
and dword [ebp - 0x3c], eax
push 0xe
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x102e186
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x102e186
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], 0x1039b30
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp - 0x18]
call dword [sym.imp.SHELL32.dll_ILFree]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
leave
ret 4

Function at 0x102e32b
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
push ebp
xor ebp, ebp
cmp dword [0x103fc8c], ebp
push edi
mov edi, ecx
jne 0x102e3fd
push ebx
push esi
push 2
pop ebx
push ebx
push dword [esp + 0x18]
call fcn.0101b5d3
test eax, eax
jne 0x102e3fb
push 0xffffffffffffffff
push ebp
push 3
push 0x28
push 0x1016804
call fcn.0101f15c
push ebp
push ebp
push ebp
push 0x1039b94
push 0x1016938
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x102e38e
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x102e395
mov ecx, edi
call fcn.0102e195
mov ecx, edi
call fcn.0102d1ef
push dword [esp + 0x14]
lea esi, [edi + 0x3fc]
mov dword [esi], ebx
call dword [sym.imp.SHELL32.dll_Ordinal_60]
mov dword [esi], ebp
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
test ax, ax
jge 0x102e3fb
push 0x11
call esi
test ax, ax
jge 0x102e3fb
push 0x12
call esi
test ax, ax
jge 0x102e3fb
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
xor ebx, ebx
inc ebx
push ebx
push ebp
push 0x12
push dword [0x103e068]
mov dword [0x103fa70], ebx
call esi
push ebp
push ebp
push 0x12
push dword [edi + 4]
call esi
mov dword [0x103fc8c], ebx
pop esi
pop ebx
pop edi
pop ebp
ret 4
Function at 0x102ead9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
xor ebx, ebx
mov edi, ecx
cmp dword [edi + 0xc], ebx
mov dword [ebp - 4], ebx
je 0x102eb3d
cmp dword [ebp + 8], ebx
push esi
push 5
pop eax
lea esi, [edi + 8]
je 0x102eafb
mov dword [esi], eax
jmp 0x102eafd
inc dword [esi]
cmp dword [esi], eax
ja 0x102eb3c
lea eax, [ebp - 4]
push eax
push 0x20006
push ebx
push 0x1018f20
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102eb3c
push 4
push esi
push 4
push ebx
push 0x1018f08
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov dword [edi + 0xc], ebx
pop edi
pop ebx
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 8], 0
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
mov ebx, 0x80000001
je 0x102ebea
push 1
push 0x1018f9c
push 0x1018f20
push ebx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
test eax, eax
mov dword [ebp - 4], eax
je 0x102ebea
push edi
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x14
pop edi
push dword [esi + 0x1c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x14], 0x10001
call dword [0x103ad74]
test eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
jbe 0x102ebda
push edi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_IStream_Write]
test eax, eax
jl 0x102ebda
push dword [ebp - 4]
push dword [esi + 0x1c]
call dword [0x103ad70]
test eax, eax
je 0x102ebda
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 8], 0
pop edi
jne 0x102ec1c
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push 0x1018f20
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102ec1c
push 0x1018f9c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret

Function at 0x102ec7d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [ecx + 0x18], eax
je 0x102ecdb
mov dword [ecx + 0x18], eax
xor ecx, ecx
test eax, eax
lea eax, [ebp + 8]
push eax
push 0xf003f
setne cl
push 0
push 0x10189d0
push 0x80000001
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102ecd6
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push 0x1018fbc
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x102ecdd
xor eax, eax
leave
ret 4