joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a2bb0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040503c
xor eax, eax
push ebp
push 0x4a2dac
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 0xc]
call fcn.00409be4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4a2c04
sub eax, 4
mov eax, dword [eax]
lea edx, [ebp - 0xc]
xchg edx, eax
call fcn.004052dc
mov eax, dword [ebp - 4]
call fcn.0040304c
call fcn.00403010
lea eax, [ebp - 0x14c]
push eax
push 0x4a2dbc
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x4a2d40
lea eax, [ebp - 8]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404e2c
mov eax, dword [ebp - 8]
mov edx, 0x4a2dc8
call fcn.00404fe4
je 0x4a2c67
mov eax, dword [ebp - 8]
mov edx, 0x4a2dd4
call fcn.00404fe4
jne 0x4a2c78
test bl, bl
jne 0x4a2c6f
xor eax, eax
jmp 0x4a2c71
mov al, 1
mov ebx, eax
jmp 0x4a2d1d
xor ebx, ebx
cmp dword [ebp - 0x14c], 0x10
jne 0x4a2cef
mov eax, dword [ebp - 4]
test eax, eax
je 0x4a2c8f
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x4a2cc1
push dword [ebp - 4]
push 0x4a2de0
push dword [ebp - 8]
lea eax, [ebp - 0x150]
mov edx, 3
call fcn.00404f50
mov eax, dword [ebp - 0x150]
call fcn.004a2bb0
jmp 0x4a2cdd
lea eax, [ebp - 0x154]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404ed4
mov eax, dword [ebp - 0x154]
call fcn.004a2bb0
mov eax, dword [ebp - 8]
call fcn.0040504c
push eax
call sub.kernel32.dll_RemoveDirectoryA
test eax, eax
jmp 0x4a2d1d
mov eax, dword [ebp - 8]
call fcn.0040504c
mov edx, eax
lea eax, [ebp - 0x158]
call fcn.00404db4
mov eax, dword [ebp - 0x158]
call fcn.0040504c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
lea eax, [ebp - 0x14c]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4a2c36
push esi
call sub.kernel32.dll_FindClose_1
jmp 0x4a2d51
mov eax, dword [ebp - 0xc]
call fcn.0040304c
call fcn.00403010
xor ebx, ebx
jmp 0x4a2d81
test bl, bl
je 0x4a2d72
mov eax, 0x4a2dec
call fcn.0040304c
call fcn.00403010
mov eax, dword [ebp - 4]
call fcn.0040504c
push eax
call sub.kernel32.dll_RemoveDirectoryA
mov eax, dword [ebp - 0xc]
call fcn.0040304c
call fcn.00403010
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2db3
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.00404be0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404be0
ret

Function at 0x4a2e64
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov edi, eax
call sub.kernel32.dll_GetTickCount
mov esi, eax
mov eax, dword [0x4a9384]
mov eax, dword [eax]
call fcn.0045e8bc
call sub.kernel32.dll_GetTickCount
mov ebx, eax
sub ebx, esi
cmp edi, ebx
jge 0x4a2e70
pop edi
pop esi
pop ebx
ret
Function at 0x55e750
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x101000]
push edi
jmp 0x55e76a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x55e771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55e760
mov eax, 1
add ebx, ebx
jne 0x55e783
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x55e794
jne 0x55e7b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55e7b3
dec eax
add ebx, ebx
jne 0x55e7a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x55e778
add ebx, ebx
jne 0x55e7af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x55e805
xor ecx, ecx
sub eax, 3
jb 0x55e7cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x55e83a
sar eax, 1
mov ebp, eax
jmp 0x55e7d6
add ebx, ebx
jne 0x55e7d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55e7a4
inc ecx
add ebx, ebx
jne 0x55e7e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55e7a4
add ebx, ebx
jne 0x55e7f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x55e7e6
jne 0x55e802
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x55e7e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x55e824
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x55e816
jmp 0x55e766
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x55e824
add edi, ecx
jmp 0x55e766
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x55e842
cmp byte [edi], 0x11
jne 0x55e842
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x55e847
lea edi, [esi + 0x157000]
mov eax, dword [edi]
or eax, eax
je 0x55e8bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d7bc0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d7d3c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x55e874
mov ecx, edi
jns 0x55e8a3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1d7d40]
or eax, eax
je 0x55e8b9
mov dword [ebx], eax
add ebx, 4
jmp 0x55e891
call dword [esi + 0x1d7d50]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x55e8f0
cmp al, 0xef
ja 0x55e8e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x55e8c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x55e8d2
mov ebp, dword [esi + 0x1d7d44]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x55e924
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x401120
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5705b1
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0xfd2698]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.CAmkProgDlg.0
mov dword [ebp - 4], 2
mov ecx, dword [0xfd4690]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [0xfd4690]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
add ecx, 0xe4
call fcn.00515d34
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xd0
call fcn.004286c0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x7c
call fcn.00515bb8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
call fcn.00515169
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4018d0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5706a8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0xfd2698]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp + 8]
mov dword [0xfd46a8], eax
cmp dword [0xfd4698], 0
je 0x401931
cmp dword [0xfd488c], 0
je 0x401931
cmp dword [0xfd46a8], 0
je 0x401927
push 8
mov ecx, dword [ebp - 0x64]
call fcn.0051bf23
jmp 0x401931
push 0
mov ecx, dword [ebp - 0x64]
call fcn.0051bf23
cmp dword [0xfd46a8], 0
je 0x401a34
mov ecx, dword [0xfd4690]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
call fcn.0042f410
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0xdc], eax
mov dword [ecx + 0xe0], edx
mov edx, dword [ebp - 0x64]
add edx, 0xd4
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x64]
add eax, 0xd0
push eax
mov ecx, dword [0xfd4324]
add ecx, 0x7c
call fcn.00519913
lea ecx, [ebp - 0x18]
call fcn.00427e60
mov dword [ebp - 4], 0
push 2
push 0x50
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0x588fa4
call fcn.0041da00
add esp, 0x14
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.0041cab0
add esp, 0xc
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00402530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004286c0
lea ecx, [ebp - 0x10]
call fcn.00427e60
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
push edx
push 0x589028
lea eax, [ebp - 0x10]
push eax
call fcn.00402ac0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x64]
add ecx, 0x7c
call fcn.0051be81
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004286c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004286c0
jmp 0x401a95
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x64]
add ecx, 0x7c
call fcn.0051be81
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0xd8]
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0xd4]
push edx
call dword [sym.imp.USER32.dll_SetCursorPos]
call fcn.0042f410
mov ecx, dword [ebp - 0x64]
sub eax, dword [ecx + 0xdc]
sbb edx, dword [ecx + 0xe0]
mov dword [0xfd4970], eax
mov dword [0xfd4974], edx
mov edx, dword [0xfd4690]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x401ea0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0xfd4324], 0
push 0
push 0
push 0
push 0x401ef0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [0xfd4324], 0
jne 0x401ee2
push 0xfd467c
push 0x32
push 0xa
call fcn.004057a0
add esp, 0xc
jmp 0x401ec6
mov esp, ebp
pop ebp
ret
Function at 0x403210
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40327c
lea ecx, [ebp - 0x1c]
push ecx
push 0x5896fc
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 2
push 0
push 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40327c
xor eax, eax
jmp 0x403294
push 0x80020003
mov eax, dword [ebp + 8]
or eax, 0x10
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret

Function at 0x4046e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570a88
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0xfd2698]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x10]
call fcn.00427e60
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4047b0
mov eax, dword [0xfd46fc]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4047aa
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
movsx eax, byte [edx]
test eax, eax
je 0x4047a0
xor ecx, ecx
mov word [ebp - 0x20], cx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00404320
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x40477e
movzx ecx, word [ebp - 0x20]
test ecx, ecx
jne 0x404780
jmp 0x4047a0
mov dx, word [ebp - 0x20]
mov word [ebp - 0x4e], dx
movzx eax, word [ebp - 0x4e]
push eax
lea ecx, [ebp - 0x10]
call fcn.00428760
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
jmp 0x40474d
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00402890
add esp, 4
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
or ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004286c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40b650
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f2ab
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0xfd2698]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
push 0xa4
call fcn.005150e6
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x40b6a2
mov ecx, dword [ebp - 0x18]
call fcn.0040b2e0
mov dword [ebp - 0x70], eax
jmp 0x40b6a9
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0040b720
mov eax, dword [ebp - 0x10]
add eax, 0x30
mov dword [ebp - 0x68], eax
push 1
mov ecx, dword [ebp - 0x68]
call fcn.0041ebf0
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x68]
mov dword [edx + 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0x30
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x30
call fcn.004056a0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41c200
Capabilities:
Acquire debug privileges
Allocate thread local storage
Get common file path
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572636
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0xfd2698]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf4], ecx
push 0
push 0xfd4470
call fcn.0041c0e0
add esp, 8
push 0xfd4470
mov ecx, 0xfd4868
call fcn.00427f30
push 0
push 0x1a
push 0x104
mov ecx, 0xfd47bc
call fcn.00428380
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, 0xfd47bc
call fcn.00427d00
push 1
push 0x58bc3c
call fcn.0041c170
add esp, 8
mov dword [0xfd4358], 0x114
push 0xfd4358
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.00520fbb
mov eax, dword [eax + 4]
mov dword [ebp - 0xcc], eax
call fcn.00520fbb
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xd0], ecx
mov edx, 0x80
movzx eax, dx
push eax
mov ecx, dword [ebp - 0xd0]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0xfd4354], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xf4]
add eax, 0xa4
push eax
call sub.gdiplus.dll_GdiplusStartup
push 0
call fcn.0052018e
add esp, 4
push 0
lea ecx, [ebp - 0x98]
push ecx
call fcn.0042e930
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x98]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0xd4], eax
xor ecx, ecx
cmp dword [ebp - 0xd4], 0
sete cl
movzx edx, cl
test edx, edx
jne 0x41c357
mov eax, dword [ebp - 0x98]
push eax
call fcn.004304c0
add esp, 4
jmp 0x41c364
push 0x58bc00
call fcn.004304c0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.004286c0
mov dword [ebp - 0xb4], vtable.VObj.0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xb4], vtable.ExprItem.0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xb4], vtable.AnyArray.0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xdc]
mov dword [edx], 0
mov eax, dword [ebp - 0xdc]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0xdc]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx + 4]
mov dword [0xfd4350], eax
lea ecx, [ebp - 0xb4]
call fcn.0041c4d0
push 0
call fcn.00536e2d
add esp, 4
push eax
call fcn.00534f31
add esp, 4
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ecx + 0x44]
push edx
call fcn.004dc250
add esp, 4
call fcn.004723f0
call fcn.004bc410
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0xfd4684], eax
push 0
lea ecx, [ebp - 0x94]
call fcn.00429d90
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xf4]
lea ecx, [ebp - 0x94]
mov dword [eax + 0x20], ecx
push 0
mov edx, 0x66
movzx eax, dx
push eax
lea ecx, [ebp - 0x94]
call fcn.00515b20
push 0
lea ecx, [ebp - 0x94]
call fcn.0051822f
mov ecx, dword [0xfd4684]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0xfd4684], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00515169
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41c9b0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572668
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0xfd2698]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 0
je 0x41ca00
mov ecx, dword [ebp - 0x14]
or ecx, 0x1000000
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x1c]
call fcn.00427e60
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x40
mov edx, dword [ebp - 0x18]
shl edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00427c70
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00427d00
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x18]
je 0x41ca16
mov eax, dword [ebp - 0x1c]
sub eax, 0x10
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00402890
add esp, 4
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
or ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004286c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x42b670
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572f78
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0xfd2698]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42b74f
push 8
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x42b749
push 8
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42b749
mov eax, dword [ebp - 0x14]
push eax
call fcn.0042b850
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42b749
mov dword [ebp - 0x20], vtable.CGdiObject.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], vtable.CBitmap.0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0051d54b
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004392c0
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax + 4], 0
sete cl
neg ecx
sbb ecx, ecx
add ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], vtable.CBitmap.0
lea ecx, [ebp - 0x20]
call fcn.00402bc0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42b770
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0xfd2698]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax + 4], 0
sete cl
test ecx, ecx
je 0x42b7ac
xor eax, eax
jmp 0x42b832
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42b830
mov dword [ebp - 0x14], vtable.CGdiObject.0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], vtable.CBitmap.0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.004390c0
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [ebp - 0x14]
test eax, eax
jne 0x42b7f6
mov dword [ebp - 0x1c], 0
jmp 0x42b7fc
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], vtable.CBitmap.0
lea ecx, [ebp - 0x14]
call fcn.00402bc0
mov eax, dword [ebp - 0x18]
jmp 0x42b832
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x42be10
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e440
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0xfd2698]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x14]
call fcn.00427e60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00427e60
mov byte [ebp - 4], 1
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42beb9
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42be8a
mov dword [ebp - 0x3c], 0
jmp 0x42be99
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0053461f
add esp, 4
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.004025f0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [ebp - 0x14]
sub edx, 0x10
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
push eax
call fcn.00402890
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0x10
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x20]
or eax, 1
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004286c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004286c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret