joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440568
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x440584
cmp dword [esi + 4], 0
je 0x4405b1
test byte [ebx + 0x55], 1
jne 0x4405a3
mov eax, ebx
call fcn.0043f108
test eax, eax
jne 0x4405a3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4406c1
mov edx, esi
mov eax, ebx
call fcn.0044008c
jmp 0x4406c1
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4406ba
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00442438
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043cd90
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00440568
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00442438
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4406c1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446e00
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4683dc]
cmp byte [eax + 0xc], 0
je 0x446f6d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x446f66
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x469b30], 0
jne 0x446e54
push 0x446f74
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x446f7c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b30], eax
cmp dword [0x467bd8], 0
jne 0x446f4f
push 0x446f8c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x467bd8], eax
cmp dword [0x467bd8], 0
je 0x446f4f
push 0x446f98
mov eax, dword [0x467bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b34], eax
push 0x446fa8
mov eax, dword [0x467bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b38], eax
push 0x446fbc
mov eax, dword [0x467bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b3c], eax
push 0x446fd4
mov eax, dword [0x467bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b40], eax
push 0x446fec
mov eax, dword [0x467bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b44], eax
push 0x447000
mov eax, dword [0x467bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b48], eax
push 0x447018
mov eax, dword [0x467bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b4c], eax
push 0x447030
mov eax, dword [0x467bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b50], eax
push 0x44704c
mov eax, dword [0x467bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b54], eax
push 0x447058
mov eax, dword [0x467bd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b58], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446f6d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44ae3c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004044a0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44ae8b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404710
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45270c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45275c]
test si, 4
je 0x452720
or bl, 1
test si, 8
je 0x45272a
or bl, 4
test si, 1
je 0x452734
or bl, 8
test si, 2
je 0x45273e
or bl, 0x10
test si, 0x10
je 0x452748
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452757
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x452760
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x452798]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452779
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452788
or bl, 4
test esi, 0x20000000
je 0x452793
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458e74
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458e86
add esp, 0xfffffff0
call fcn.00403a2c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dacc
mov eax, dword [0x468058]
mov dword [eax + 4], ebx
mov dword [eax], 0x459218
mov eax, dword [0x468064]
mov dword [eax + 4], ebx
mov dword [eax], 0x459224
mov eax, ebx
call fcn.00459230
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415ce4]
call fcn.004036c4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415ce4]
call fcn.004036c4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415ce4]
call fcn.004036c4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415ce4]
call fcn.004036c4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415ce4]
call fcn.004036c4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x455648
push eax
push 0
push 0
mov eax, dword [0x4681d0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f59c]
call fcn.00420dd4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f59c]
call fcn.00420dd4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f59c]
call fcn.00420dd4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004596a4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45956c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45956c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45956c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458fc3
call fcn.00403a84
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45932c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4594fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4594dd
mov dl, 1
mov eax, dword [0x416100]
call fcn.004036c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004044a0
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x4594cc
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.00447160
test al, al
jne 0x4593c9
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4594bf
xor edx, edx
push ebp
push 0x4594b8
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4593e9
mov ebx, dword [ebp - 0x10]
jmp 0x4593eb
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x45950c
lea eax, [ebp - 0x258]
call fcn.004096b8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4594a1
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x459544
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4594a1
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00404710
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4594a1
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00404710
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4594bf
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x4593aa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419c64
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459503
lea eax, [ebp - 0x264]
call fcn.004044a0
ret
Function at 0x459e44
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x469b7c]
cmp byte [eax + 0xa5], 0
jne 0x459eb5
cmp dword [0x469b94], 0
jne 0x459e76
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459e00
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x469b94], eax
cmp dword [0x469b90], 0
jne 0x459e91
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x469b90], eax
cmp dword [0x469b98], 0
jne 0x459eb5
push esp
push 0
push 0
push 0x459da4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x469b98], eax
pop edx
ret

Function at 0x45a548
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x469b7c]
cmp dword [eax + 0x30], 0
je 0x45a5f2
cmp dword [ebx + 0x94], 0
jne 0x45a5ec
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a4d8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a5ec
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45a5b2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a5ec
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00418060
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a5c1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45b150
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45b185
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404590
jmp 0x45b192
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044f4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45c344
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c385
mov eax, esi
call fcn.0044273c
test al, al
je 0x45c385
mov eax, dword [ebx + 0x84]
call fcn.00442438
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c385
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442438
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45d150
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415294]
call fcn.00404e3c
xor eax, eax
push ebp
push 0x45d294
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x467e0c], 0
jne 0x45d1a3
mov ecx, dword [0x467f98]
mov dl, 1
mov eax, dword [0x40778c]
call fcn.0040c1f0
call fcn.00403e94
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403104
mov eax, ebx
call fcn.00404d08
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45d2a4
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405e7c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404d18
test eax, eax
jle 0x45d23b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45d234
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404728
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404710
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040861c
test eax, eax
jne 0x45d234
mov ebx, 0x15
jmp 0x45d240
mov ebx, 0x10
jmp 0x45d240
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x467e0c]
call fcn.0045cfc8
mov eax, dword [ebp - 8]
call fcn.0045cfc8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405e94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d29b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004044c4
lea eax, [ebp - 0x10]
mov edx, dword [0x415294]
call fcn.00404f0c
ret
Function at 0x401a00
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x408fab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x438
push ebx
push ebp
push esi
push edi
push 0
push 2
mov dword [esp + 0x11c], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [esp + 0x114]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401b3d
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x11c]
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ecx
push eax
push 0x1f0fff
call edi
lea edx, [esp + 0x10]
mov esi, eax
push edx
push esi
call fcn.00401b60
add esp, 8
test eax, eax
jne 0x401ac6
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebp
lea eax, [esp + 0x114]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x401b3d
mov ecx, dword [esp + 0x11c]
push ecx
push 0
push 0x1f0fff
call edi
lea edx, [esp + 0x10]
mov esi, eax
push edx
push esi
call fcn.00401b60
add esp, 8
test eax, eax
je 0x401a88
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dl, byte [esp + ecx + 0x10]
lea eax, [esp + ecx + 0x10]
cmp dl, 0x5c
je 0x401af4
mov edx, ecx
dec ecx
test edx, edx
jle 0x401af4
mov byte [eax], 0
mov dl, byte [eax - 1]
dec eax
cmp dl, 0x5c
jne 0x401ae1
lea ecx, [esp + 0x23c]
call fcn.00403250
lea eax, [esp + 0x10]
lea ecx, [esp + 0x23c]
push eax
push str.Insertpath
push str.Insert
mov dword [esp + 0x45c], 0
call fcn.00403550
lea ecx, [esp + 0x23c]
mov dword [esp + 0x450], 0xffffffff
call fcn.004032c0
mov ecx, dword [esp + 0x448]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x444
ret

Function at 0x401b60
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x110c
call fcn.00403b40
push ebx
push ebp
mov ebp, dword [esp + 0x1118]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 8], ebx
jne 0x401b88
pop ebp
xor eax, eax
pop ebx
add esp, 0x110c
ret
push esi
lea eax, [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x120]
push 0x1000
push ecx
push ebp
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x401c4f
test dword [esp + 0x14], 0xfffffffc
jbe 0x401c4f
lea esi, [esp + 0x11c]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
push 0x104
push edx
push eax
push ebp
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x401c03
lea ecx, [esp + 0x18]
push ecx
call fcn.00403ac8
lea edx, [esp + 0x1c]
push str.qvodupdate.exe
push edx
call fcn.00403a52
add esp, 0xc
test eax, eax
jne 0x401c21
mov eax, dword [esp + 0x14]
inc ebx
shr eax, 2
add esi, 4
cmp ebx, eax
jb 0x401bbf
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110c
ret
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x1124]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110c
ret
Function at 0x401c60
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x128
push ebp
push 0
push 2
mov dword [esp + 0xc], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
lea eax, [esp + 4]
push eax
push ebp
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401cd4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [esp + 0x18]
push ecx
push 0
push 0x1f0fff
call edi
mov esi, eax
push esi
call fcn.00401ce0
add esp, 4
test eax, eax
je 0x401cba
push 4
push esi
call ebx
lea edx, [esp + 0x10]
push edx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401c98
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x128
ret
xor eax, eax
pop ebp
add esp, 0x128
ret

Function at 0x401ce0
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x110c
call fcn.00403b40
push ebx
push ebp
mov ebp, dword [esp + 0x1118]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 8], ebx
jne 0x401d08
pop ebp
xor eax, eax
pop ebx
add esp, 0x110c
ret
push esi
lea eax, [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x120]
push 0x1000
push ecx
push ebp
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x401e23
test dword [esp + 0x14], 0xfffffffc
jbe 0x401e23
lea esi, [esp + 0x11c]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
push 0x104
push edx
push eax
push ebp
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x401df9
lea ecx, [esp + 0x18]
push ecx
call fcn.00403ac8
lea edx, [esp + 0x1c]
push str.qvodinsert.dll
push edx
call fcn.00403a52
add esp, 0xc
test eax, eax
jne 0x401e1b
lea eax, [esp + 0x18]
push str.qvodplayer.exe
push eax
call fcn.00403a52
add esp, 8
test eax, eax
jne 0x401e1b
lea ecx, [esp + 0x18]
push str.qvodterminal.exe
push ecx
call fcn.00403a52
add esp, 8
test eax, eax
jne 0x401e1b
lea edx, [esp + 0x18]
push str.qvodtvplayer.exe
push edx
call fcn.00403a52
add esp, 8
test eax, eax
jne 0x401e1b
lea eax, [esp + 0x18]
push str.mencoder.exe
push eax
call fcn.00403a52
add esp, 8
test eax, eax
jne 0x401e1b
lea ecx, [esp + 0x18]
push str.qvodnetbar.exe
push ecx
call fcn.00403a52
add esp, 8
test eax, eax
jne 0x401e1b
mov edx, dword [esp + 0x14]
inc ebx
shr edx, 2
add esi, 4
cmp ebx, edx
jb 0x401d3f
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110c
ret
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110c
ret

Function at 0x401e40
Capabilities:
Stop service

Disassembly:
sub esp, 0x1c
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
jne 0x401e5a
add esp, 0x1c
ret
push 0x20
push str.Qvod_Terminal
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
test eax, eax
jne 0x401e70
add esp, 0x1c
ret
lea ecx, [esp]
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
neg eax
sbb eax, eax
neg eax
add esp, 0x1c
ret
Function at 0x4022e0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4022f8
mov eax, 1
pop esi
ret
mov eax, dword [esp + 0xc]
test eax, eax
je 0x402309
push esi
call fcn.00402410
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40231e
push eax
push esi
call fcn.00402320
add esp, 8
pop esi
ret

Function at 0x402360
Capabilities:
Get common file path

Disassembly:
sub esp, 0x30c
mov ecx, 0x82
xor eax, eax
push esi
push edi
lea edi, [esp + 0x10c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jbe 0x402401
lea ecx, [esp + 0x10c]
lea edx, [esp + 8]
push ecx
push 0
push str.update
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4023be
pop edi
pop esi
add esp, 0x30c
ret
mov ecx, dword [esp + 0x31c]
mov esi, dword [esp + 0x318]
lea eax, [esp + 0x10c]
push 1
push eax
push ecx
call esi
test eax, eax
jne 0x4023e6
pop edi
pop esi
add esp, 0x30c
ret
push 4
lea edx, [esp + 0x110]
push 0
push edx
call esi
test eax, eax
jne 0x402401
pop edi
pop esi
add esp, 0x30c
ret
pop edi
mov eax, 1
pop esi
add esp, 0x30c
ret
Function at 0x403110
Capabilities:
Get disk information
Get disk size

Disassembly:
sub esp, 0x128
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
mov dword [esp + 4], eax
ja 0x403146
xor eax, eax
pop edi
add esp, 0x128
ret
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
push esi
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x13c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea ebx, [esp + 0x34]
and ecx, 3
mov dword [esp + 0x14], eax
rep movsb byte es:[edi], byte [esi]
xor esi, esi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push 0x40d4ec
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
mov ebp, ecx
inc ebp
call fcn.00403b6f
add esp, 8
test eax, eax
je 0x403220
push 0x40d4e8
push ebx
call fcn.00403b6f
add esp, 8
test eax, eax
je 0x403220
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x403220
mov eax, dword [esp + 0x20]
push 1
push 0
push 0
push eax
call fcn.00403c00
mov ecx, dword [esp + 0x1c]
xor edi, edi
add eax, ecx
adc edx, edi
cmp edx, esi
jb 0x403220
ja 0x4031f0
cmp eax, dword [esp + 0x14]
jbe 0x403220
mov dword [esp + 0x14], eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x18], edx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x13c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add ebx, ebp
sub eax, ebp
test eax, eax
mov dword [esp + 0x10], eax
ja 0x403179
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
add esp, 0x128
ret