joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405645
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
mov ecx, dword [0x42f134]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
leave
ret

Function at 0x407b3c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebx + 0x20]
xor ecx, ecx
cmp edi, ecx
mov dword [ebp - 4], ecx
je 0x407c49
mov eax, dword [ebx]
test al, 2
je 0x407b6d
cmp dword [edi], 0xffffffff
jne 0x407b6d
mov dword [ebp - 4], 0x4000
test al, 1
je 0x407b84
cmp dword [ebx + 8], 2
jne 0x407b84
cmp word [edi + 0x414], cx
jne 0x407b84
or byte [ebp - 3], 4
cmp dword [ebp - 4], ecx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
je 0x407be3
lea ebx, [edi + 0x20c]
lea eax, [ebp - 0x4c4]
push ebx
push eax
call esi
mov edx, eax
push ebx
mov dword [ebp - 8], edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax*2]
lea ecx, [edi + 4]
push ecx
mov word [eax], 0x5c
add eax, 2
push eax
call esi
push dword [ebp - 4]
lea eax, [ebp - 0x2bc]
push 0x2b4
push eax
lea eax, [ebp - 0x4c4]
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ebx, dword [ebp + 8]
xor ecx, ecx
test byte [ebx], 2
je 0x407bfa
cmp dword [edi], 0xffffffff
jne 0x407bf5
mov eax, dword [ebp - 0x2b8]
mov dword [edi], eax
mov eax, dword [edi]
mov dword [ebx + 0x1c], eax
test byte [ebx], 1
je 0x407c49
mov eax, dword [ebx + 8]
sub eax, ecx
je 0x407c40
dec eax
je 0x407c38
dec eax
jne 0x407c49
add edi, 0x414
cmp word [edi], cx
jne 0x407c43
lea eax, [ebp - 0xa8]
push eax
push edi
call esi
cmp word [edi], 0
jne 0x407c43
push 0x387
call fcn.0041760e
pop ecx
push eax
push edi
call esi
jmp 0x407c43
add edi, 0x20c
jmp 0x407c43
add edi, 4
push edi
push dword [ebx + 0x14]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4084d2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
je 0x408558
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push esi
push 0x8064
push dword [ebp + 8]
call edi
cmp eax, 1
je 0x408558
push esi
push esi
push 0xb8
push dword [ebp + 8]
call edi
test eax, eax
je 0x408558
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x18]
cmp eax, esi
je 0x40851f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
push esi
push esi
push 0xe
push dword [ebp + 8]
call edi
cmp dword [ebx + 0x14], 0xd
lea ebx, [eax + 1]
lea eax, [ebx + ebx]
push eax
jne 0x40856c
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x408558
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, esi
jne 0x408561
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
push eax
push ebx
push 0xd
push dword [ebp + 8]
call edi
jmp 0x4085e2
call fcn.00415a3c
cmp eax, esi
pop ecx
mov dword [ebp - 8], eax
je 0x408558
push eax
push ebx
push 0xd
push dword [ebp + 8]
call edi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp - 8]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
dec eax
lea ebx, [eax + 1]
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x4085bb
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, esi
jne 0x4085c7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 8]
push eax
call fcn.00415a56
pop ecx
jmp 0x408558
push esi
push esi
push ebx
push eax
push 0xffffffffffffffff
push dword [ebp - 8]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 8]
push eax
call fcn.00415a56
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
cmp dword [eax + 0x14], 0xd
mov dword [eax + 0x18], ecx
jne 0x408602
lea ecx, [ebx + ebx]
mov dword [eax + 0x1c], ecx
jmp 0x408605
mov dword [eax + 0x1c], ebx
push esi
push esi
push 0xb9
push dword [ebp + 8]
call edi
push 1
pop eax
jmp 0x40855a
Function at 0x40abec
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x40abfe
pop ebp
ret
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x40ac0e
xor esi, esi
jmp 0x40ac76
mov esi, dword [ebp + 0x10]
sub esi, dword [ebp + 0xc]
sar esi, 1
lea eax, [esi + esi + 2]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
mov dword [ebp + 8], edi
je 0x40ac0a
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x40ac40
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x40ac0a
lea edx, [esi + esi]
mov esi, dword [ebp + 0xc]
mov ecx, edx
push ebx
mov ebx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push dword [ebp + 8]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
and word [edx + eax], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 8]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
push 1
pop esi
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
pop edi
pop esi
pop ebp
ret
Function at 0x40e618
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
cmp dword [ebp + 0x10], 1
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
jne 0x40e63c
push esi
push ebx
call fcn.0040e6b3
pop ecx
test eax, eax
pop ecx
je 0x40e6af
push edi
push esi
call fcn.0040446a
and word [ebp - 0x200], 0
pop ecx
lea eax, [ebp - 0x200]
push 0xff
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x28]
push edi
call fcn.00415a56
lea eax, [ebp - 0x200]
push eax
call fcn.00415a93
mov dword [edi], eax
mov eax, dword [ebx]
pop ecx
pop ecx
pop edi
test eax, eax
je 0x40e688
mov dword [esi + 0x60], eax
push 1
mov dword [ebx], esi
pop eax
test esi, esi
je 0x40e6ac
cmp eax, dword [0x42f1e8]
jge 0x40e69f
mov esi, dword [esi + 0x60]
inc eax
jmp 0x40e68d
push dword [esi + 0x60]
call fcn.0040438f
and dword [esi + 0x60], 0
pop ecx
push 1
pop eax
pop esi
pop ebx
leave
ret

Function at 0x40e948
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [ebp + 0x10]
push esi
or ax, 0x101
push edi
push eax
lea eax, [ebp - 0x2b4]
push 0x2b4
push eax
push 0x10
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, dword [ebp - 0x2b4]
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x412dd5
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 1
lea eax, [ebp - 0x3c]
pop ebx
mov dword [0x42f134], edi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor esi, esi
lea eax, [ebp - 0x3c]
push esi
push esi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x3c]
push str._CLCL_Mutex_
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x412e53
push str.CLCL
push str.CLCLMain
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call fcn.00413153
pop ecx
jmp 0x412f8b
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push esi
call dword [sym.imp.ole32.dll_OleInitialize]
push edi
call fcn.00412fa2
lea eax, [ebp - 0x23c]
push eax
call fcn.0040e993
pop ecx
test eax, eax
pop ecx
jne 0x412e8a
push 0x10
push str.CLCL___Error
lea eax, [ebp - 0x23c]
jmp 0x412f83
push edi
call fcn.0041c60f
test eax, eax
pop ecx
je 0x412f74
push edi
call fcn.00403e1f
test eax, eax
pop ecx
je 0x412f74
push edi
call fcn.00401000
test eax, eax
pop ecx
je 0x412f74
push edi
call fcn.0041a830
test eax, eax
pop ecx
je 0x412f74
push edi
call fcn.00413286
test eax, eax
pop ecx
je 0x412f74
push dword [ebp + 0x14]
push edi
call fcn.00415a13
pop ecx
test eax, eax
pop ecx
je 0x412f74
push 0x73
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
mov dword [ebp + 0x14], eax
push esi
push esi
lea eax, [ebp - 0x28]
push esi
push eax
call edi
cmp eax, ebx
jne 0x412f56
cmp dword [0x42b564], ebx
jne 0x412f39
cmp dword [0x42e064], esi
je 0x412f39
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x42e064]
cmp ecx, eax
jne 0x412f39
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
cmp eax, ebx
je 0x412f4d
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push esi
push esi
lea eax, [ebp - 0x28]
push esi
push eax
jmp 0x412f01
call fcn.00412321
call dword [sym.imp.ole32.dll_OleUninitialize]
cmp dword [ebp + 8], esi
je 0x412f6f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
jmp 0x412f9b
push 0x10
push str.CLCL___Error
push 0x66
call fcn.0041760e
pop ecx
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp + 8], esi
je 0x412f99
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x412fa2
Capabilities:
Create directory
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
push ebx
push esi
push edi
mov esi, 0x42e070
push 0x103
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x42e070]
mov edx, esi
mov ecx, esi
test ax, ax
je 0x412fe5
cmp ax, 0x5c
je 0x412fdc
cmp ax, 0x2f
jne 0x412fde
mov edx, ecx
inc ecx
inc ecx
mov ax, word [ecx]
jmp 0x412fcb
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
and word [edx], 0
lea eax, [ebp - 0x810]
push esi
push eax
call ebx
lea eax, [ebp + 8]
mov edi, 0xff
push eax
lea eax, [ebp - 0x608]
push eax
mov dword [ebp + 8], edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x413024
lea eax, [ebp - 0x608]
push str.DEFAULT
push eax
call ebx
push str.general.ini
push esi
lea eax, [ebp - 0x408]
push 0x42b43c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x408]
push 1
push eax
call fcn.00418015
lea eax, [ebp - 0x408]
mov ebx, str.User
push eax
lea eax, [ebp - 0x200]
push edi
push eax
push 0x42de00
mov esi, str.GENERAL
push ebx
push esi
call fcn.00418940
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x200]
push eax
push ebx
push esi
call fcn.00418d2c
xor ebx, ebx
add esp, 0x40
cmp word [ebp - 0x200], bx
je 0x4130a6
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x608]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x200]
push edi
push eax
mov edi, str.WorkDir
push 0x42de00
push edi
push esi
call fcn.00418940
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x200]
push eax
push edi
push esi
call fcn.00418d2c
add esp, 0x28
cmp word [ebp - 0x200], bx
je 0x4130fb
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x408]
push eax
call fcn.004185e4
call fcn.00418894
lea eax, [ebp - 0x608]
push 0x5f
push eax
call fcn.00404624
lea eax, [ebp - 0x608]
mov esi, 0x42eea0
push eax
lea eax, [ebp - 0x810]
push eax
push 0x42b43c
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.00404680
add esp, 0x20
test eax, eax
jne 0x41314e
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414288
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 1
mov dword [esi], eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
push 0
push dword [esi]
call ebp
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
call dword [sym.imp.USER32.dll_GetFocus]
lea edi, [esi + 8]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.USER32.dll_GetCaretPos]
cmp eax, 1
jne 0x4142ec
cmp dword [edi], 0
jg 0x4142d9
cmp dword [esi + 0xc], 0
jle 0x4142ec
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [esi + 0x10], 1
jmp 0x4142f0
and dword [esi + 0x10], 0
push 0
call ebx
push eax
push 0
push dword [esi]
call ebp
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x41448c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x42e290
mov esi, dword [0x42f280]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x42f284]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
xor ecx, ecx
cmp eax, ebx
jle 0x4144e0
lea edx, [esi + 8]
cmp edi, dword [edx - 4]
jne 0x4144cc
cmp dword [edx], ebx
je 0x4144cc
cmp edi, ebx
jne 0x4144d8
mov ebx, dword [ebp + 0x10]
cmp ebx, dword [edx + 8]
je 0x4144d6
xor ebx, ebx
inc ecx
add edx, 0x28
cmp ecx, eax
jl 0x4144b5
jmp 0x4144d8
xor ebx, ebx
cmp ecx, eax
jl 0x414603
cmp edi, ebx
jne 0x4145ff
mov edx, dword [0x42f2cc]
xor eax, eax
cmp edx, ebx
jle 0x41450c
mov ecx, dword [0x42f2c8]
lea esi, [ecx + 0x18]
mov edi, dword [ebp + 0x10]
cmp edi, dword [esi]
je 0x41453c
inc eax
add esi, 0x38
cmp eax, edx
jl 0x4144fd
push dword [ebp + 0x10]
push dword [0x42f19c]
call fcn.0041925f
pop ecx
cmp eax, ebx
pop ecx
push 1
pop edi
je 0x414535
push ebx
push edi
push 4
mov dword [0x42e280], eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, edi
jmp 0x41466c
imul eax, eax, 0x38
push 1
add eax, ecx
pop edi
cmp dword [eax + 0x14], edi
jne 0x4145bb
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dword [0x42e290], edi
mov dword [0x42e294], eax
mov dword [0x42e298], edi
push 0x12
call esi
test ax, ax
jl 0x41458d
push 0x11
call esi
test ax, ax
jl 0x41458d
push 0x10
call esi
test ax, ax
jl 0x41458d
push 0x5b
call esi
test ax, ax
jl 0x41458d
push 0x5c
call esi
test ax, ax
jge 0x414597
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x414560
push ebx
push dword [0x42f2c4]
push 3
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetTimer]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call fcn.00419844
pop ecx
jmp 0x414535
push ebx
push dword [0x42f11c]
push edi
push eax
push dword [ebp + 8]
call fcn.0041a3a8
add esp, 0x14
test al, 4
je 0x414535
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x812c
push dword [ebp + 8]
call esi
push dword [0x42f11c]
push ebx
push 0x8190
push dword [ebp + 8]
call esi
jmp 0x414535
cmp ecx, eax
jge 0x414648
lea eax, [ecx + ecx*4]
mov ecx, dword [esi + eax*8]
sub ecx, ebx
lea eax, [esi + eax*8]
je 0x41464d
dec ecx
je 0x414634
dec ecx
je 0x41462c
dec ecx
je 0x414624
dec ecx
jne 0x414648
push ebx
push 0x9c41
jmp 0x41463a
push ebx
push 0x9c45
jmp 0x41463a
push ebx
push 0x9c43
jmp 0x41463a
push ebx
push 0x9c42
push 0x111
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
pop eax
jmp 0x41466c
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
call fcn.00414671
add esp, 0xc
mov ecx, eax
xor eax, eax
mov edi, 0x42e050
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, ecx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4149f0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
je 0x414a42
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
push 1
call esi
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
push 0
push dword [esp + 0x20]
call edi
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
push eax
call ebx
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebp
je 0x414a2f
push ebp
call dword [sym.imp.USER32.dll_SetFocus]
push 0
call esi
push eax
push 0
push dword [esp + 0x20]
call edi
push eax
call ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x414a44
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x42e29c], esi
jne 0x414b8f
mov ebx, dword [ebp + 8]
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
push esi
rep stosd dword es:[edi], eax
push esi
lea eax, [ebp - 0x28]
push 1
push eax
push ebx
mov dword [ebp - 0x28], 9
call fcn.00415dde
add esp, 0x14
cmp eax, esi
mov dword [0x42e29c], eax
je 0x414b81
push eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jne 0x414aaf
push dword [0x42e29c]
call fcn.00416cb9
pop ecx
mov dword [0x42e29c], esi
jmp 0x414b81
push ebx
call fcn.00412d5a
push esi
push dword [0x42e29c]
push ebx
call fcn.00415be3
push dword [0x42e29c]
mov edi, eax
call fcn.00416cb9
push edi
mov dword [0x42e29c], esi
call fcn.00415c5a
add esp, 0x18
cmp edi, esi
jle 0x414b8a
cmp edi, 2
je 0x414b8a
cmp eax, esi
je 0x414b8a
mov ecx, dword [eax + 0x34]
push 1
pop edi
cmp dword [ecx + 0x14], edi
jne 0x414b31
mov dword [0x42e290], edi
mov eax, dword [eax + 0x34]
push 0x10
mov dword [0x42e294], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x414b27
mov eax, dword [ebp + 0x10]
mov dword [0x42e298], eax
jmp 0x414b2d
mov dword [0x42e298], esi
mov esi, edi
jmp 0x414b81
push esi
push dword [ebp + 0xc]
push edi
push ecx
push ebx
call fcn.0041a3a8
add esp, 0x14
test al, 4
je 0x414b81
push dword [ebp + 0xc]
push 0x42f0c0
call fcn.00404435
pop ecx
test eax, eax
pop ecx
je 0x414b60
push esi
push esi
push 0x812c
jmp 0x414b7a
push dword [ebp + 0xc]
push 0x42f140
call fcn.00404435
pop ecx
test eax, eax
pop ecx
je 0x414b81
push esi
push esi
push 0x815e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.00415b4d
mov eax, esi
jmp 0x414b91
call fcn.00415b4d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41510f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x610
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
push edi
jne 0x41515a
cmp dword [0x42f1dc], esi
jne 0x41515a
push str.history.dat
push 0x42eea0
lea eax, [ebp - 0x208]
push 0x42b43c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x415273
push dword [0x42f11c]
call fcn.004057ba
test eax, eax
pop ecx
jne 0x415217
mov edi, dword [0x42f11c]
push str.history.dat
push 0x42eea0
lea eax, [ebp - 0x208]
push 0x42b43c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x610]
mov word [ebp - 0x610], si
push eax
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.00404d3e
add esp, 0x1c
test eax, eax
jne 0x415264
cmp word [ebp - 0x610], si
je 0x415204
push dword [ebp + 8]
call fcn.00412d5a
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x610]
mov dword [esp], 0x42a45c
push eax
call esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x610]
push eax
call esi
push 0x10
lea eax, [ebp - 0x610]
push str.CLCL___Error
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp edi, dword [0x42f11c]
je 0x415213
push edi
call fcn.0040438f
pop ecx
xor eax, eax
jmp 0x415276
lea eax, [ebp - 0x610]
push eax
push dword [0x42f11c]
call fcn.00405841
mov edi, eax
pop ecx
cmp edi, esi
pop ecx
jne 0x415174
cmp word [ebp - 0x610], si
je 0x415174
push dword [ebp + 8]
call fcn.00412d5a
pop ecx
lea eax, [ebp - 0x610]
push 0x10
push str.CLCL___Error
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x415213
cmp edi, dword [0x42f11c]
je 0x415273
push edi
call fcn.0040438f
pop ecx
push 1
pop eax
pop edi
pop esi
leave
ret
Function at 0x4154a0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x6bc
and word [esp], 0
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.0040d86d
mov esi, dword [esp + 0x6d4]
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
pop ecx
mov ebp, str.CLCL___Error
push 0x10
test eax, eax
pop ebx
jne 0x4154ed
cmp word [esp + 0x10], 0
je 0x4154ed
push esi
call fcn.00412d5a
pop ecx
lea eax, [esp + 0x10]
push ebx
push ebp
push eax
push esi
call edi
lea eax, [esp + 0x10]
push eax
call fcn.0041a1b1
test eax, eax
pop ecx
jne 0x415514
cmp word [esp + 0x10], ax
je 0x415514
push esi
call fcn.00412d5a
pop ecx
lea eax, [esp + 0x10]
push ebx
push ebp
push eax
push esi
call edi
push 0
push esi
call fcn.00414f9e
pop ecx
test eax, eax
pop ecx
je 0x41552d
push esi
call fcn.00415060
test eax, eax
pop ecx
jne 0x415534
xor eax, eax
jmp 0x415647
push dword [0x42f134]
call fcn.0041b021
pop ecx
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
push 0
push ebx
push ebx
push 1
pop ebp
mov dword [0x42e2bc], eax
push ebp
push 0x33
push dword [0x42f134]
call edi
push 0
push ebx
push ebx
push ebp
push 0x34
mov dword [0x42e044], eax
push dword [0x42f134]
call edi
cmp dword [0x42f1c0], ebp
mov dword [0x42e048], eax
jne 0x415583
mov eax, dword [0x42e044]
push str.CLCL
push eax
push esi
mov dword [0x42e068], eax
call fcn.00414307
add esp, 0xc
push 0
push ebx
push ebx
push ebp
push 0x36
push dword [0x42f134]
call edi
mov dword [0x42ee84], eax
push 0x101
lea eax, [esp + 0x41c]
push 0x2b4
push eax
push ebx
push 0x42eea0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0x418]
cmp dword [0x42f1c0], ebp
mov dword [0x42f138], eax
jne 0x4155f9
push esi
call dword [sym.imp.USER32.dll_SetClipboardViewer]
push 0
push 0xea60
push 2
push esi
mov dword [0x42e2b4], eax
call dword [sym.imp.USER32.dll_SetTimer]
push ebp
push esi
call fcn.00415320
push esi
call fcn.00415652
push 0
push 0x40
push esi
call fcn.0041a713
add esp, 0x18
cmp dword [0x42f1cc], ebp
jne 0x41562e
push 0
push 0x9c42
push 0x111
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push str.CLCL
push str.CLCLMain
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call fcn.00413153
pop ecx
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6bc
ret