joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465601
Capabilities:
Check for time delay via gettickcount
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7168
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 0x51beb0
mov ecx, dword [ebp + 8]
call fcn.004094d0
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 0x465765
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x114]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4656a8
mov dword [ebp - 0x114], 1
lea ecx, [ebp - 0x11c]
call fcn.004094b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x130]
call fcn.004657f9
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 0x51bef4
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00439e20
add esp, 0x14
lea edx, [ebp - 0x110]
push edx
call dword [0x542978]
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00415790
push 0x51bf3c
mov ecx, dword [ebp + 8]
call fcn.00409500
mov dword [ebp - 0x128], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.00409680
mov eax, dword [ebp - 0x128]
jmp 0x4657e9
lea ecx, [ebp - 0x124]
call fcn.004094b0
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 0x51bf68
lea edx, [ebp - 0x124]
push edx
call fcn.00439e20
add esp, 0x10
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp + 8]
call fcn.00415790
push 0x51bf98
mov ecx, dword [ebp + 8]
call fcn.00409500
mov dword [ebp - 0x12c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.00409680
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x465b96
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7191
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 0x465ddc
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 0x465dc1
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 0x465d72
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x244]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x465d54
lea ecx, [ebp - 0x370]
call fcn.004094b0
mov dword [ebp - 4], 0
push 0x51c068
mov ecx, dword [ebp + 0xc]
call fcn.00409500
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00409500
mov dword [ebp - 0x13c], 1
lea ecx, [ebp - 0x370]
push ecx
lea edx, [ebp - 0x244]
push edx
mov ecx, dword [ebp - 0x378]
call fcn.004660dd
test eax, eax
je 0x465d35
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 str.____
mov ecx, dword [ebp + 0xc]
call fcn.00409500
lea edx, [ebp - 0x370]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00415790
push 0x51c084
mov ecx, dword [ebp + 0xc]
call fcn.00409500
mov dword [ebp - 0x374], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x370]
call fcn.00409680
mov eax, dword [ebp - 0x374]
jmp 0x465dfe
push 0x51c088
mov ecx, dword [ebp + 0xc]
call fcn.00409500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x370]
call fcn.00409680
lea eax, [ebp - 0x364]
push eax
mov ecx, dword [ebp - 0x36c]
push ecx
call sub.KERNEL32.dll_Module32Next
mov dword [ebp - 0x368], eax
jmp 0x465c50
cmp dword [ebp - 0x36c], 0
je 0x465d92
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 0x465dc1
push 0x51c08c
mov ecx, dword [ebp + 0xc]
call fcn.00409500
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00409500
push 0x51c0a0
mov ecx, dword [ebp + 0xc]
call fcn.00409500
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x140]
push edx
call sub.KERNEL32.dll_Process32Next
mov dword [ebp - 0x10], eax
jmp 0x465bfd
cmp dword [ebp - 0x140], 0
je 0x465dfc
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 0x465e73
Capabilities:
Check os version
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a71b0
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.00409500
lea eax, [ebp - 0x1c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x465f06
push 0x51c0b8
mov ecx, dword [ebp + 8]
call fcn.00409500
xor eax, eax
jmp 0x4660cc
cmp dword [ebp - 0x1c4], 6
jne 0x465f25
push str.MpsSvc
lea ecx, [ebp - 0x118]
push ecx
call sub.ntdll.dll_strcpy
add esp, 8
jmp 0x465f61
cmp dword [ebp - 0x1c4], 5
jne 0x465f4d
cmp dword [ebp - 0x1c0], 1
jne 0x465f4d
push str.SharedAccess
lea edx, [ebp - 0x118]
push edx
call sub.ntdll.dll_strcpy
add esp, 8
jmp 0x465f61
push 0x51c0e8
mov ecx, dword [ebp + 8]
call fcn.00409500
xor eax, eax
jmp 0x4660cc
push 0
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x1d4]
call fcn.00465e0e
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x465f92
push 0x51c0fc
mov ecx, dword [ebp + 8]
call fcn.00409500
xor eax, eax
jmp 0x4660cc
lea ecx, [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x465fc5
push 0x51c10c
mov ecx, dword [ebp + 8]
call fcn.00409500
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x4660cc
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x559ad4
lea ecx, [ebp - 0x14]
call fcn.004156b0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x1d8], edx
cmp dword [ebp - 0x1d8], 1
je 0x466039
cmp dword [ebp - 0x1d8], 4
je 0x46600c
cmp dword [ebp - 0x1d8], 7
je 0x466048
jmp 0x466057
mov ecx, dword [ebp - 0x1d4]
call fcn.00466230
test eax, eax
je 0x46602a
push 0x51c11c
lea ecx, [ebp - 0x14]
call fcn.004094d0
jmp 0x466037
push 0x51c124
lea ecx, [ebp - 0x14]
call fcn.004094d0
jmp 0x466064
push 0x51c12c
lea ecx, [ebp - 0x14]
call fcn.004094d0
jmp 0x466064
push 0x51c134
lea ecx, [ebp - 0x14]
call fcn.004094d0
jmp 0x466064
push str.0_
lea ecx, [ebp - 0x14]
call fcn.004094d0
push 0x51c148
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1cc]
push ecx
call fcn.00466780
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.00415790
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1cc]
call fcn.00409680
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00409680
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 0x4660dd
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 0x466109
xor eax, eax
jmp 0x46622a
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 0x466126
xor eax, eax
jmp 0x46622a
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 0x466143
xor eax, eax
jmp 0x46622a
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 0x46621a
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push 0x51c14c
mov ecx, dword [ebp - 0xc]
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x46621a
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 0x46621a
mov ecx, dword [ebp - 0x224]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004094d0
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
Function at 0x46655e
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 [0x559adc]
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._NetStat
mov ecx, dword [ebp + 8]
call fcn.004094d0
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_netstat.exe__nr__
lea ecx, [ebp - 0x1320]
push ecx
call sub.ntdll.dll_strcat
add esp, 8
push str.360xxNetstat.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 [0x542978]
lea eax, [ebp - 0x1364]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov word [ebp - 0x1334], 0
mov ecx, dword [ebp - 0x1338]
or ecx, 0xa
mov dword [ebp - 0x1338], ecx
mov dword [ebp - 0x1364], 0x44
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 0x4666ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
xor eax, eax
jmp 0x466777
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 closesocket
lea ecx, [ebp - 0x1118]
push ecx
call dword [0x54299c]
mov dword [ebp - 0x1368], eax
cmp dword [ebp - 0x1368], 0xffffffff
jne 0x4666f6
xor eax, eax
jmp 0x466777
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 [0x542984]
test eax, eax
je 0x46674b
lea edx, [ebp - 0x1014]
push edx
mov ecx, dword [ebp + 8]
call fcn.00409500
cmp dword [ebp - 4], 0x1000
jae 0x466733
jmp 0x46674b
push 0x1000
push 0
lea eax, [ebp - 0x1014]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
jmp 0x4666f6
mov ecx, dword [ebp - 0x1368]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x1118]
push edx
call dword [0x542978]
push 0x51c328
mov ecx, dword [ebp + 8]
call fcn.00409500
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x466a73
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov dword [ebp - 0x21c], ecx
push 0x104
lea eax, [ebp - 0x214]
push eax
call fcn.00466bda
add esp, 8
test eax, eax
jne 0x466aa1
xor eax, eax
jmp 0x466bd6
push 0x51c3c8
push 0x104
lea ecx, [ebp - 0x214]
push ecx
call fcn.00408090
lea edx, [ebp - 0x214]
push edx
call sub.ntdll.dll_strlen
add esp, 4
lea eax, [ebp + eax - 0x214]
mov dword [ebp - 4], eax
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea edx, [ebp - 0x108]
push edx
call fcn.0040a2a0
add esp, 8
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x466b0b
xor eax, eax
jmp 0x466bd6
mov eax, dword [ebp - 0x110]
add eax, 1
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 0
jmp 0x466b35
mov ecx, dword [ebp - 0x10c]
add ecx, 1
mov dword [ebp - 0x10c], ecx
cmp dword [ebp - 0x10c], 7
jae 0x466bd1
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx*4 + 0x51c354]
push eax
push 0x104
mov ecx, dword [ebp - 4]
push ecx
call fcn.00409190
lea edx, [ebp - 0x214]
push edx
call dword [0x5429b0]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0xffffffff
jne 0x466b7e
xor eax, eax
jmp 0x466bd6
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax*4 + 0x51c354]
push ecx
push 0x104
mov edx, dword [ebp - 0x110]
push edx
call fcn.00409190
push 0
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x466bbb
xor eax, eax
jmp 0x466bd6
push 4
push 0
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x466b26
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x46761c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae868
push 0x4a2bd4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov cx, word [eax + 0x14]
mov edx, dword [ebp - 0x24]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 0xc]
cmp edx, dword [ecx + 0xc]
jae 0x46768e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
jmp 0x467746
mov dword [ebp - 0x1c], 0
jmp 0x4676a0
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x24]
xor eax, eax
mov ax, word [edx + 6]
cmp dword [ebp - 0x1c], eax
jae 0x46772a
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov edx, dword [ebp - 0x24]
xor eax, eax
mov ax, word [edx + 6]
cmp ecx, eax
jne 0x4676cc
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x2c], edx
jmp 0x4676df
mov eax, dword [ebp - 0x1c]
add eax, 1
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 0xc]
cmp edx, dword [ecx + eax + 0xc]
jb 0x467725
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x2c]
jae 0x467725
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
sub eax, dword [edx + ecx + 0xc]
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
add eax, dword [edx + ecx + 0x14]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
jmp 0x467746
jmp 0x467697
mov dword [ebp - 4], 0xffffffff
jmp 0x467743
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4678a4
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
push edi
mov dword [ebp - 0x660], ecx
mov byte [ebp - 0x638], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x637]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str._system32userinit.exe
push 0x104
lea ecx, [ebp - 0x234]
push ecx
call fcn.00408090
mov dword [ebp - 0x130], 0
mov ecx, 0x4b
xor eax, eax
lea edi, [ebp - 0x12c]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x234]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x467a87
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp - 0x660]
call fcn.00467757
test eax, eax
je 0x467a87
push str.MD5:
push 0x400
lea edx, [ebp - 0x638]
push edx
call fcn.00408090
lea eax, [ebp - 0x65c]
push eax
lea ecx, [ebp - 0x124]
push ecx
call fcn.00467a90
add esp, 8
push eax
push 0x400
lea edx, [ebp - 0x638]
push edx
call fcn.00408090
push 0x51c5e8
push 0x400
lea eax, [ebp - 0x638]
push eax
call fcn.00408090
lea ecx, [ebp - 0x638]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
lea edx, [ebp + eax - 0x638]
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x128]
push eax
push 0x51c5ec
push 0x400
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.0040a2c0
add esp, 0x10
lea edx, [ebp - 0x638]
push edx
call sub.ntdll.dll_strlen
add esp, 4
lea eax, [ebp + eax - 0x638]
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x114]
push ecx
push 0x51c5fc
push 0x400
mov edx, dword [ebp - 0x238]
push edx
call fcn.0040a2c0
add esp, 0x10
lea eax, [ebp - 0x638]
push eax
call sub.ntdll.dll_strlen
add esp, 4
lea ecx, [ebp + eax - 0x638]
mov dword [ebp - 0x238], ecx
cmp dword [ebp - 0x12c], 0
je 0x467a41
mov dword [ebp - 0x664], 0x51c60c
jmp 0x467a4b
mov dword [ebp - 0x664], 0x51c610
mov edx, dword [ebp - 0x664]
push edx
push 0x51c618
push 0x400
mov eax, dword [ebp - 0x238]
push eax
call fcn.0040a2c0
add esp, 0x10
lea ecx, [ebp - 0x638]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00408090
mov eax, dword [ebp - 0x130]
jmp 0x467a89
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x467b13
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x564
mov dword [ebp - 0x564], ecx
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x467b40
xor eax, eax
jmp 0x467d1c
push 0x51c650
push 0x104
lea ecx, [ebp - 0x108]
push ecx
call fcn.00408090
lea edx, [ebp - 0x254]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [0x5429a8]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0xffffffff
jne 0x467b80
xor eax, eax
jmp 0x467d1c
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [0x542988]
cmp dword [ebp - 0x254], 0xffffffff
je 0x467ba3
mov edx, dword [ebp - 0x254]
and edx, 0x10
test edx, edx
je 0x467baa
xor eax, eax
jmp 0x467d1c
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x110]
push eax
push 0x4b1a68
push 1
push 0
push 0x4b1a78
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jge 0x467be9
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x467d1c
lea ecx, [ebp - 4]
push ecx
push 0x4b1a88
mov edx, dword [ebp - 0x110]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x110]
push ecx
call dword [eax]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jge 0x467c31
mov edx, dword [ebp - 0x110]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x110]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x467d1c
push 0x104
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.ntdll.dll_mbstowcs]
add esp, 0xc
push 1
lea ecx, [ebp - 0x45c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
call dword [eax + 0x14]
test eax, eax
je 0x467c91
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x110]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x110]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x467d1c
push 2
push 0
push 0x104
lea edx, [ebp - 0x560]
push edx
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x110]
push edx
call dword [ecx + 0xc]
test eax, eax
je 0x467cdf
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
call dword [ecx + 8]
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x110]
push edx
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x467d1c
lea eax, [ebp - 0x560]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00409190
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
call dword [ecx + 8]
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x110]
push edx
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov esp, ebp
pop ebp
ret 8