joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4658dc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4658ec
xor eax, eax
jmp 0x465ab5
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x465a6d
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4b4668]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4b4668]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4b4668]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4b4668]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4b4668]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4b4668]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4b4668]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4b4668]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x4658f5
cmp dword [ebp + 0x10], 0
je 0x465aaf
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x4b4668]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x465a73
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x465ab7
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
xor edx, eax
and edx, 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
shr ecx, 8
mov edx, dword [edx*4 + 0x4b4668]
xor edx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
and edx, 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
add ecx, edx
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x8088405
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shr ecx, 0x18
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
xor eax, ecx
and eax, 0xff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
shr edx, 8
mov eax, dword [eax*4 + 0x4b4668]
xor eax, edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x466263
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov dl, byte [ecx + 0x2d]
test edx, edx
je 0x466345
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x3c], 0
je 0x4662b5
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x40]
cmp edx, dword [ebp + 0xc]
jae 0x4662b5
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.004aa2c8
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x3c], 0
jne 0x4662e1
mov edx, dword [ebp + 0xc]
shl edx, 1
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x3c], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
push ecx
call sub.ntdll.dll_memcpy
add esp, 0xc
mov dword [ebp - 8], 0
jmp 0x46630a
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x46633c
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 8]
mov cl, byte [edx + eax]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x30
push edx
call fcn.00465b6d
add esp, 8
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ebp - 8]
mov byte [edx + ecx], al
jmp 0x466301
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x20], 0
je 0x46639e
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx + 0x28]
jb 0x46636d
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0x30000
xor eax, eax
jmp 0x4663d3
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 0x24]
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 0xc]
jmp 0x4663d3
mov edx, dword [ebp - 0x18]
cmp dword [edx + 4], 0
je 0x4663c7
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0xc]
jmp 0x4663d3
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x466a2e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x84], 0
je 0x466aee
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x8c]
cmp eax, dword [edx + 0x88]
jb 0x466a62
xor eax, eax
jmp 0x466b5c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x88]
sub eax, dword [edx + 0x8c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jbe 0x466a85
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x84]
mov eax, dword [ebp - 0x10]
add edx, dword [eax + 0x8c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.ntdll.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x8c]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x8c], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x74]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x78]
push edx
call fcn.004658dc
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], eax
mov eax, dword [ebp - 4]
jmp 0x466b5c
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x7c], 0
je 0x466b50
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x7c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x466b1f
xor eax, eax
jmp 0x466b5c
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x74]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x78]
push edx
call fcn.004658dc
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], eax
mov eax, dword [ebp - 8]
jmp 0x466b5c
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x468d39
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1370
call sub.ntdll.dll__chkstk
push edi
mov dword [ebp - 0x1370], ecx
mov dword [ebp - 0x1364], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x1360]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov cl, byte [0x562608]
mov byte [ebp - 0x1014], cl
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1013]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str._Ip_Config
mov ecx, dword [ebp + 8]
call fcn.00409440
lea edx, [ebp - 0x1118]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x104
lea eax, [ebp - 0x1320]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.cmd.exe__c_ipconfig.exe__all__
lea ecx, [ebp - 0x1320]
push ecx
call sub.ntdll.dll_strcat
add esp, 8
push str.360xxipconfig.txt
lea edx, [ebp - 0x1118]
push edx
call sub.ntdll.dll_strcat
add esp, 8
lea eax, [ebp - 0x1118]
push eax
lea ecx, [ebp - 0x1320]
push ecx
call sub.ntdll.dll_strcat
add esp, 8
lea edx, [ebp - 0x1118]
push edx
call dword [0x54b4b8]
lea eax, [ebp - 0x1364]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov word [ebp - 0x1334], 0
mov dword [ebp - 0x1364], 0x44
mov ecx, dword [ebp - 0x1338]
or ecx, 1
mov dword [ebp - 0x1338], ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1364]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1320]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x136c], eax
cmp dword [ebp - 0x136c], 0
jne 0x468e86
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
xor eax, eax
jmp 0x468f52
push 0xffffffffffffffff
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x1118]
push ecx
call dword [0x54b4dc]
mov dword [ebp - 0x1368], eax
cmp dword [ebp - 0x1368], 0xffffffff
jne 0x468ed1
xor eax, eax
jmp 0x468f52
push 0
lea edx, [ebp - 4]
push edx
push 0x1000
lea eax, [ebp - 0x1014]
push eax
mov ecx, dword [ebp - 0x1368]
push ecx
call dword [0x54b4c4]
test eax, eax
je 0x468f26
lea edx, [ebp - 0x1014]
push edx
mov ecx, dword [ebp + 8]
call fcn.00409470
cmp dword [ebp - 4], 0x1000
jae 0x468f0e
jmp 0x468f26
push 0x1000
push 0
lea eax, [ebp - 0x1014]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
jmp 0x468ed1
mov ecx, dword [ebp - 0x1368]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x1118]
push edx
call dword [0x54b4b8]
push 0x5243c4
mov ecx, dword [ebp + 8]
call fcn.00409470
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x469237
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov dword [ebp - 0x214], ecx
push str._Hosts
mov ecx, dword [ebp + 8]
call fcn.00409440
push 0x104
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.driversetchosts
lea ecx, [ebp - 0x204]
push ecx
call sub.ntdll.dll_strcat
add esp, 8
push 0x52448c
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
jne 0x4692a4
xor eax, eax
jmp 0x469391
mov eax, dword [ebp - 0x208]
push eax
push 0x100
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
je 0x46937f
mov dword [ebp - 0x20c], 0
lea edx, [ebp - 0x100]
mov dword [ebp - 0x210], edx
cmp dword [ebp - 0x210], 0
je 0x46933f
mov eax, dword [ebp - 0x210]
movsx ecx, byte [eax]
cmp ecx, 0x23
je 0x469310
mov edx, dword [ebp - 0x210]
movsx eax, byte [edx]
cmp eax, 0xd
je 0x469310
mov ecx, dword [ebp - 0x210]
movsx edx, byte [ecx]
test edx, edx
jne 0x46931c
mov dword [ebp - 0x20c], 1
jmp 0x46933f
mov eax, dword [ebp - 0x210]
movsx ecx, byte [eax]
cmp ecx, 0x20
jne 0x46933b
mov edx, dword [ebp - 0x210]
add edx, 1
mov dword [ebp - 0x210], edx
jmp 0x46933d
jmp 0x46933f
jmp 0x4692de
cmp dword [ebp - 0x20c], 0
jne 0x469364
lea eax, [ebp - 0x100]
push eax
mov ecx, dword [ebp + 8]
call fcn.00409470
push 0x524490
mov ecx, dword [ebp + 8]
call fcn.00409470
push 0x100
push 0
lea ecx, [ebp - 0x100]
push ecx
call sub.ntdll.dll_memset
add esp, 0xc
jmp 0x4692a4
push 0x524498
mov ecx, dword [ebp + 8]
call fcn.00409470
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x469721
Capabilities:
Check for time delay via gettickcount
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
mov dword [ebp - 0x130], ecx
lea eax, [ebp - 0x110]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.down360test.ini
lea ecx, [ebp - 0x110]
push ecx
call sub.ntdll.dll_strcat
add esp, 8
push 0x5246f8
mov ecx, dword [ebp + 8]
call fcn.00409440
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x114], eax
push 0
push 0
lea edx, [ebp - 0x110]
push edx
push str.http:__update.360safe.com_safe_safeup35.ini
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jne 0x469885
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x114]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4697c8
mov dword [ebp - 0x114], 1
lea ecx, [ebp - 0x11c]
call fcn.00409420
mov dword [ebp - 4], 0
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x130]
call fcn.00469919
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
imul eax, eax, 0x3e8
mov ecx, dword [ebp - 0x114]
shl ecx, 0xa
xor edx, edx
div ecx
push eax
mov edx, dword [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x114]
push eax
push 0x52473c
lea ecx, [ebp - 0x11c]
push ecx
call fcn.0041a9c0
add esp, 0x14
lea edx, [ebp - 0x110]
push edx
call dword [0x54b4b8]
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00415730
push 0x524784
mov ecx, dword [ebp + 8]
call fcn.00409470
mov dword [ebp - 0x128], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.004095f0
mov eax, dword [ebp - 0x128]
jmp 0x469909
lea ecx, [ebp - 0x124]
call fcn.00409420
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x114]
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5247b0
lea edx, [ebp - 0x124]
push edx
call fcn.0041a9c0
add esp, 0x10
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp + 8]
call fcn.00415730
push 0x5247e0
mov ecx, dword [ebp + 8]
call fcn.00409470
mov dword [ebp - 0x12c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.004095f0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x469cb6
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad1c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x36c
mov dword [ebp - 0x378], ecx
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0x128
mov dword [ebp - 0x364], 0x224
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x140]
push ecx
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x469efc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.ntdll.dll__stricmp]
add esp, 8
test eax, eax
jne 0x469ee1
mov ecx, dword [ebp - 0x130]
push ecx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x36c], eax
lea edx, [ebp - 0x364]
push edx
mov eax, dword [ebp - 0x36c]
push eax
call sub.KERNEL32.dll_Module32First
mov dword [ebp - 0x368], eax
cmp dword [ebp - 0x368], 0
je 0x469e92
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x244]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x469e74
lea ecx, [ebp - 0x370]
call fcn.00409420
mov dword [ebp - 4], 0
push 0x5248b0
mov ecx, dword [ebp + 0xc]
call fcn.00409470
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00409470
mov dword [ebp - 0x13c], 1
lea ecx, [ebp - 0x370]
push ecx
lea edx, [ebp - 0x244]
push edx
mov ecx, dword [ebp - 0x378]
call fcn.0046a1fd
test eax, eax
je 0x469e55
mov eax, dword [ebp - 0x36c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x140]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5248c4
mov ecx, dword [ebp + 0xc]
call fcn.00409470
lea edx, [ebp - 0x370]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00415730
push 0x5248cc
mov ecx, dword [ebp + 0xc]
call fcn.00409470
mov dword [ebp - 0x374], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x370]
call fcn.004095f0
mov eax, dword [ebp - 0x374]
jmp 0x469f1e
push 0x5248d0
mov ecx, dword [ebp + 0xc]
call fcn.00409470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x370]
call fcn.004095f0
lea eax, [ebp - 0x364]
push eax
mov ecx, dword [ebp - 0x36c]
push ecx
call sub.KERNEL32.dll_Module32Next
mov dword [ebp - 0x368], eax
jmp 0x469d70
cmp dword [ebp - 0x36c], 0
je 0x469eb2
mov edx, dword [ebp - 0x36c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x36c], 0
cmp dword [ebp - 0x13c], 0
jne 0x469ee1
push 0x5248d4
mov ecx, dword [ebp + 0xc]
call fcn.00409470
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00409470
push 0x5248e8
mov ecx, dword [ebp + 0xc]
call fcn.00409470
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x140]
push edx
call sub.KERNEL32.dll_Process32Next
mov dword [ebp - 0x10], eax
jmp 0x469d1d
cmp dword [ebp - 0x140], 0
je 0x469f1c
mov eax, dword [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x140], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x469f93
Capabilities:
Check os version
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad1e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d4
push edi
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x134], 0
mov ecx, 6
xor eax, eax
lea edi, [ebp - 0x130]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c8], 0
mov ecx, 0x24
xor eax, eax
lea edi, [ebp - 0x1c4]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c8], 0x94
push str.WINDOWS
mov ecx, dword [ebp + 8]
call fcn.00409470
lea eax, [ebp - 0x1c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x46a026
push 0x524900
mov ecx, dword [ebp + 8]
call fcn.00409470
xor eax, eax
jmp 0x46a1ec
cmp dword [ebp - 0x1c4], 6
jne 0x46a045
push str.MpsSvc
lea ecx, [ebp - 0x118]
push ecx
call sub.ntdll.dll_strcpy
add esp, 8
jmp 0x46a081
cmp dword [ebp - 0x1c4], 5
jne 0x46a06d
cmp dword [ebp - 0x1c0], 1
jne 0x46a06d
push str.SharedAccess
lea edx, [ebp - 0x118]
push edx
call sub.ntdll.dll_strcpy
add esp, 8
jmp 0x46a081
push 0x524930
mov ecx, dword [ebp + 8]
call fcn.00409470
xor eax, eax
jmp 0x46a1ec
push 0
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x1d4]
call fcn.00469f2e
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46a0b2
push 0x524944
mov ecx, dword [ebp + 8]
call fcn.00409470
xor eax, eax
jmp 0x46a1ec
lea ecx, [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x46a0e5
push 0x524954
mov ecx, dword [ebp + 8]
call fcn.00409470
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x46a1ec
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x562614
lea ecx, [ebp - 0x14]
call fcn.00415650
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x1d8], edx
cmp dword [ebp - 0x1d8], 1
je 0x46a159
cmp dword [ebp - 0x1d8], 4
je 0x46a12c
cmp dword [ebp - 0x1d8], 7
je 0x46a168
jmp 0x46a177
mov ecx, dword [ebp - 0x1d4]
call fcn.0046a350
test eax, eax
je 0x46a14a
push 0x524964
lea ecx, [ebp - 0x14]
call fcn.00409440
jmp 0x46a157
push 0x52496c
lea ecx, [ebp - 0x14]
call fcn.00409440
jmp 0x46a184
push 0x524974
lea ecx, [ebp - 0x14]
call fcn.00409440
jmp 0x46a184
push 0x52497c
lea ecx, [ebp - 0x14]
call fcn.00409440
jmp 0x46a184
push 0x524984
lea ecx, [ebp - 0x14]
call fcn.00409440
push 0x524990
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1cc]
push ecx
call fcn.0046a8a0
mov dword [ebp - 0x1dc], eax
mov edx, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e0], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1e0]
push eax
mov ecx, dword [ebp + 8]
call fcn.00415730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1cc]
call fcn.004095f0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004095f0
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x46a1fd
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov dword [ebp - 0x228], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x46a229
xor eax, eax
jmp 0x46a34a
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x46a246
xor eax, eax
jmp 0x46a34a
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x46a263
xor eax, eax
jmp 0x46a34a
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x46a33a
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push 0x524994
mov ecx, dword [ebp - 0xc]
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x46a33a
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
shr eax, 0x10
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
and edx, 0xffff
and edx, 0xffff
push edx
push str.StringFileInfo_04x_04x
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x14
lea ecx, [ebp - 0x220]
push ecx
push str._sCompanyName
push 0x104
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x46a33a
mov ecx, dword [ebp - 0x224]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00409440
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8