joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47cd90
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x47cdb5
or esi, 1
push 1
call edi
test ax, ax
jns 0x47cdc1
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x47cdcd
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x47cdd9
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x47fd40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
lea ecx, [ebx + 0xe0]
call fcn.00478770
mov edi, dword [ebp + 8]
test eax, eax
jle 0x47fd9b
nop
push esi
lea ecx, [ebx + 0xe0]
mov byte [ebp + 0xb], 0
call fcn.00477bc0
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x47fecc
lea ecx, [ebx + 0xe0]
inc esi
call fcn.00478770
cmp esi, eax
jl 0x47fd60
sub edi, 0x100
je 0x47fe61
sub edi, 4
je 0x47fe02
sub edi, 2
jne 0x47fe56
push dword [ebp + 0xc]
mov dword [ebp + 8], edi
call fcn.0054121f
mov ecx, dword [ebx + 0x58]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push reloc.OLEAUT32.dll_VariantCopyInd
push edx
push 0x482a10
call dword [eax + 0x14c]
mov esi, eax
test esi, esi
je 0x47fe56
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x13c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebx + 0x5c], 0
je 0x47fe56
xor eax, eax
mov dword [ebp - 0x20], 6
mov word [ebp - 2], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [ebx + 0x70]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x74]
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0xa], xmm0
mov dword [ebp - 0x10], eax
call fcn.0047cd90
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x5c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x158]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x47fe56
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x47feb3
mov eax, dword [ecx]
mov eax, dword [eax + 0x110]
call eax
test al, al
je 0x47feb3
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x11c]
call eax
test al, al
je 0x47feb3
mov ecx, dword [ebx + 0x5c]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.00525ae9
add esp, 8
test eax, eax
je 0x47feb3
mov ecx, dword [ebx + 0x5c]
call fcn.00495ac0
test al, al
jne 0x47fe56
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.00481f60
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x483c30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x483c75
cmp byte [ebp + 8], 0
je 0x483c69
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x498230
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x594], 0
je 0x49829d
cmp dword [ebp + 8], 0x100
jne 0x49828d
cmp word [ebp + 0xc], 0xd
jne 0x49828d
cmp byte [esi + 0x59a], 0
je 0x49826e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x49828d
cmp byte [esi + 0x59b], 0
jne 0x49828d
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x498286
push 0
push 0
push 0
push str.return
push esi
call fcn.00481170
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x594]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x49a000
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x655494]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x21c], ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x218], esi
test ebx, ebx
je 0x49a1d0
cmp dword [ebx], 2
jne 0x49a1d0
cmp dword [esi + 0x14], 8
jb 0x49a046
mov esi, dword [esi]
mov dword [ebp - 0x218], esi
cmp dword [ebx + 0x10], 0
je 0x49a060
xor esi, esi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468f28
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x49a04c
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49a07b
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x49a04c
mov ecx, dword [ebx + 0x20]
mov eax, 0x532ae21d
push edi
mov edi, dword [ebx + 0x1c]
mov esi, 1
sub ecx, edi
mov dword [ebp - 0x210], 0
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x49a1bd
mov dword [ebp - 0x214], 0
nop dword [eax]
nop dword [eax + eax]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005245e0
mov eax, dword [ebp - 0x214]
add esp, 0xc
add eax, 4
add eax, edi
push eax
push dword [ebp - 0x218]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49a100
sub eax, edx
xor ecx, ecx
sar eax, 1
je 0x49a13e
lea ebx, [ecx + 0x5c]
nop word [eax + eax]
cmp word [ebp + ecx*2 - 0x20c], 0x2f
jne 0x49a133
mov word [ebp + ecx*2 - 0x20c], bx
inc ecx
cmp ecx, eax
jb 0x49a120
mov ebx, dword [ebp - 0x21c]
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebp - 0x214]
mov eax, dword [eax + edi]
test byte [eax + 0x26], 0x10
je 0x49a161
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
jmp 0x49a186
test esi, esi
je 0x49a184
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
push dword [ebp - 0x210]
call fcn.0049a3e0
test eax, eax
je 0x49a184
mov esi, 1
jmp 0x49a186
xor esi, esi
mov ecx, dword [ebx + 0x20]
add edi, 0x314
inc dword [ebp - 0x210]
mov eax, 0x532ae21d
mov dword [ebp - 0x214], edi
mov edi, dword [ebx + 0x1c]
sub ecx, edi
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [ebp - 0x210], ecx
jb 0x49a0c0
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468f28
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00468f28
mov esp, ebp
pop ebp
ret
Function at 0x49aa80
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x65f204
push 0x34
call fcn.0046a85b
mov esi, eax
add esp, 8
mov dword [ebp - 4], esi
test esi, esi
je 0x49aaf9
mov dword [esi], 2
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
jmp 0x49aafb
xor esi, esi
push ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x49ab08
mov edi, dword [edi]
xor ebx, ebx
test edi, edi
je 0x49ab7f
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49ab7f
push ebx
push 0x80
push 3
push ebx
push 1
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x49ab7f
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x14], eax
cmp eax, 0x16
jb 0x49ab7f
push ebx
push ebx
push ebx
push 2
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
test eax, eax
je 0x49ab7f
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
je 0x49ab7f
push dword [esi + 0x14]
mov ecx, esi
push eax
call fcn.00499a20
mov ebx, eax
test ebx, ebx
jne 0x49abad
mov eax, dword [esi + 0xc]
test eax, eax
je 0x49ab94
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0xc], 0
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x49abb3
push eax
call edi
mov dword [esi + 8], 0
jmp 0x49abb3
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x49abc5
push eax
call edi
mov dword [esi + 4], 0xffffffff
pop edi
test ebx, ebx
pop ebx
jne 0x49abe4
mov ecx, esi
call fcn.004988d0
push 0x34
push esi
call fcn.00468f39
add esp, 8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a0530
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
push 0x65f204
cmp al, 6
jb 0x4a056d
push 0x18
call fcn.0046a85b
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x4a05a9
mov ecx, eax
call fcn.004a05c0
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x14
call fcn.0046a85b
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x4a05a9
mov dword [eax], vtable.CGDIPlusImageImpl.0
mov dword [eax + 4], 6
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a2b70
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db078
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x655494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4a2d1e
cmp ebx, 7
jb 0x4a2d1e
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x4a2c78
test esi, esi
je 0x4a2bdc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x28]
push eax
call fcn.004fd3c0
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a2c2b
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.00410740
mov eax, esi
jmp 0x4a2d20
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push ebx
push dword [ebp - 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov esi, eax
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.00410740
mov eax, esi
jmp 0x4a2d20
push ebx
push dword [ebp - 0x2c]
push eax
call fcn.00524cd0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x4a2ca0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x10], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [ebp - 0x30]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x4a2ce6
lea eax, [ebp - 0x2c]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push ebx
mov dword [ebp - 0x2c], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 4], eax
jmp 0x4a2ce8
xor esi, esi
mov dword [edi + 0x10], esi
test esi, esi
je 0x4a2d0b
mov ecx, esi
call fcn.004a2670
mov ecx, dword [edi + 0x10]
mov dword [edi + 8], eax
call fcn.004a2610
mov dword [edi + 0xc], eax
mov esi, 1
jmp 0x4a2d0d
xor esi, esi
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x4a2d1a
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
jmp 0x4a2d20
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00468f28
mov esp, ebp
pop ebp
ret 8

Function at 0x4a39a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x10], 0
jne 0x4a39af
xor eax, eax
pop ebp
ret 4
pop ebp
jmp fcn.004a2230
Function at 0x4bd6e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
test edx, edx
je 0x4bd7df
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4bd7df
mov eax, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x4bd7b7
push edi
mov edi, esi
shr edi, 3
nop
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x605140]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x605140]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x605140]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x605140]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x605140]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x605140]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x605140]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x605140]
sub edi, 1
jne 0x4bd710
pop edi
test esi, esi
je 0x4bd7da
nop dword [eax + eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x605140]
sub esi, 1
jne 0x4bd7c0
not eax
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x10]
pop esi
pop ebp
ret

Function at 0x4bd7f0
Capabilities:
Check os version
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
push 0
cmp al, 6
mov dword [ebp - 4], 0
mov ecx, 0x5fb568
lea eax, [ebp - 4]
push 0x18
mov esi, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider__Prototype_
cmovae esi, ecx
push esi
push str.SMTContainer
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4bd83d
push 8
push 0x18
push esi
push str.SMTContainer
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4bd850
Capabilities:
Encrypt data using aes via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x655494]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
jne 0x4bd87c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468f28
mov esp, ebp
pop ebp
ret
test ecx, ecx
mov dword [ebp - 0x40], 0x208
push ebx
push esi
mov esi, 0x20
mov dword [ebp - 0x3c], 0x6610
cmovne esi, dword [ebp + 0x10]
mov edx, str.vc8v7vghw7v278vn2v8239vh29vh890m
cmovne edx, ecx
mov ebx, 0x10
test eax, eax
mov ecx, str.aqkeezgxijvlm2op
cmovne ebx, dword [ebp + 0x18]
cmovne ecx, eax
cmp esi, 0x20
mov dword [ebp - 0x50], ecx
mov eax, 0x20
cmova esi, eax
mov dword [ebp - 0x38], eax
cmp esi, 0x10
ja 0x4bd8d6
mov dword [ebp - 0x3c], 0x660e
mov dword [ebp - 0x38], 0x10
push esi
push edx
xorps xmm0, xmm0
lea eax, [ebp - 0x34]
push 0x20
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call fcn.004bdc70
add esp, 0x10
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x44]
push eax
mov eax, 0x10
cmp eax, esi
push 0
sbb eax, eax
and eax, 0x10
push 0
add eax, 0x1c
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
mov eax, dword [ebp - 0x44]
je 0x4bd987
test eax, eax
je 0x4bd987
mov esi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
lea ecx, [ebp - 0x48]
push 0
push ecx
push 4
push eax
mov dword [ebp - 0x48], 1
call esi
push 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 1
push eax
push 3
push dword [ebp - 0x44]
call esi
mov eax, 0x10
cmp ebx, 0x10
xorps xmm0, xmm0
cmova ebx, eax
push ebx
push dword [ebp - 0x50]
movups xmmword [ebp - 0x14], xmm0
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004bdc70
add esp, 0x10
lea eax, [ebp - 0x14]
push 0
push eax
push 1
push dword [ebp - 0x44]
call esi
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00468f28
mov esp, ebp
pop ebp
ret
Function at 0x4c0000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db80b
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x655494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], eax
mov dword [edi + 0x14], eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004bf7e0
mov ecx, dword [edi + 0x14]
mov edx, 0x40000080
movups xmm0, xmmword [ebp - 0xa8]
push 0
sub esp, 0x10
cmp byte [ecx + 0x5a1], 0
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, 0x400000a0
cmove eax, edx
push eax
mov eax, dword [ecx]
push 0
mov eax, dword [eax + 0x20]
call eax
mov ecx, eax
call fcn.0047c830
push eax
mov ecx, edi
call fcn.00482f90
cmp byte [ebp + 0xc], 0
je 0x4c009c
push dword [ebp + 0x10]
push dword [edi + 4]
call dword [sym.imp.SHLWAPI.dll_SHAutoComplete]
mov esi, dword [edi + 0x14]
mov ecx, esi
call fcn.004be200
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x20]
call eax
mov ecx, eax
call fcn.0047c2c0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov eax, dword [edi + 0x14]
push 0
push dword [eax + 0x59c]
push 0xc5
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x14]
cmp byte [ecx + 0x5a1], 0
je 0x4c0100
movzx eax, word [ecx + 0x5a2]
push 0
push eax
push 0xcc
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [eax + 0x2c]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00477c40
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00477760
push 0
push 0
push 0xb9
push dword [edi + 4]
call esi
push 0
push 3
push 0xd3
mov ecx, edi
call fcn.00483a80
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x11c]
call eax
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x14]
xor ecx, ecx
push 0
cmp byte [eax + 0x5a0], 1
sete cl
push ecx
push 0xcf
push dword [edi + 4]
call esi
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp - 0x98]
mov ecx, dword [ecx + 0x7bc]
or ecx, eax
push ecx
push 0xfffffffffffffff0
mov ecx, edi
call fcn.004832f0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x1c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00468f28
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4c0220
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x655494]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x1c], 0
je 0x4c028e
cmp dword [esi + 0x14], 0
je 0x4c028e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004694d0
mov ebx, esp
test ebx, ebx
je 0x4c028e
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x14]
push ebx
add ecx, 0x1d4
call fcn.00477a10
mov ecx, dword [esi + 0x14]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x20]
mov ecx, eax
call fcn.00481170
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468f28
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d2580
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
push 0x11
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4d2608
mov eax, dword [edi - 0x60]
lea ebx, [edi - 0x60]
mov ecx, ebx
xor esi, esi
call dword [eax + 0xc]
test eax, eax
jle 0x4d25fa
cmp esi, dword [ebp + 8]
je 0x4d25eb
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax]
test eax, eax
je 0x4d25eb
mov edx, dword [eax]
mov ecx, eax
push str.ListItem
call dword [edx + 0x14]
mov edi, eax
test edi, edi
je 0x4d25eb
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x10]
call edx
test al, al
je 0x4d25eb
mov eax, dword [edi]
mov ecx, edi
push 0
push 0
call dword [eax + 0x14]
mov eax, dword [ebx]
mov ecx, ebx
inc esi
call dword [eax + 0xc]
cmp esi, eax
jl 0x4d25b1
mov edi, dword [ebp - 4]
lea esi, [edi + 8]
or eax, 0xffffffff
mov dword [esi], 0xffffffff
jmp 0x4d260e
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp ebx, eax
je 0x4d26de
test ebx, ebx
js 0x4d26e9
mov eax, dword [edi - 0x60]
lea ecx, [edi - 0x60]
push ebx
call dword [eax]
mov edi, eax
test edi, edi
je 0x4d26e9
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x110]
call edx
test al, al
je 0x4d26e9
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x11c]
call eax
test al, al
je 0x4d26e9
mov eax, dword [edi]
mov ecx, edi
push str.ListItem
call dword [eax + 0x14]
test eax, eax
je 0x4d26e9
mov ecx, dword [ebp - 4]
add ecx, 0xfffffa48
mov dword [esi], ebx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x218]
cmp byte [ebp + 0xc], 0
je 0x4d2693
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x13c]
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov ecx, dword [ebx - 0x574]
test ecx, ecx
je 0x4d26b9
push 0
push edi
push dword [esi]
lea eax, [ebx - 0x5b8]
push str.itemselect
push eax
call fcn.00481170
cmp edi, 0xffffffff
jne 0x4d26c9
mov ecx, dword [ebx + 0x4c0]
call fcn.004d6940
push dword [ebp + 0xc]
mov ecx, dword [ebx + 0x4c0]
lea eax, [ebp - 0xc]
push esi
push 0
push eax
call fcn.004cba90
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4e3fd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x24], 1
jne 0x4e4010
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebx
mov ecx, dword [esi + 0x1c]
mov edi, eax
call fcn.00487210
call ebx
sub eax, edi
xor ecx, ecx
mov edi, dword [esi + 0x28]
sub edi, eax
cmp eax, dword [esi + 0x28]
cmovl ecx, edi
push ecx
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x24], 1
je 0x4e3fe1
pop edi
pop ebx
pop esi
ret