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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488538
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x48833b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00487da0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e46c
cmp al, 1
jne 0x48833b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004880b8
test al, al
je 0x4884c7
cmp dword [ebp - 8], 0
jge 0x488359
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00487da0
mov eax, dword [ebp - 0x210]
call fcn.00404a90
cmp ebx, eax
jge 0x4883a3
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00487da0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x56f834]
and eax, 0xff
bt dword [edx], eax
jae 0x4883a3
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4883b7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004882b4
cmp ebx, dword [ebp - 8]
je 0x4884b9
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4883e3
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a88
and eax, 0x7f
movzx eax, word [eax*2 + 0x56da78]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4884a6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a88
and eax, 0x7f
movzx eax, word [eax*2 + 0x56da78]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00452e6c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a88
and eax, 0x7f
movzx eax, word [eax*2 + 0x56da78]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00452e6c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4884ad
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x48851a
cmp dword [ebp - 8], 0
jge 0x4884d2
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00487da0
mov eax, dword [ebp - 0x218]
call fcn.00404a90
cmp eax, dword [ebp - 8]
jg 0x48850c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00487da0
mov eax, dword [ebp - 0x21c]
call fcn.00404a90
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004882b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48853f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004047f4
ret
Function at 0x4ac0d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ac259
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x56de74], 0
jne 0x4ac236
push 0x570c8c
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x4ac22f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x56de74], 0
jne 0x4ac217
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404e1c
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404c90
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00409190
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x4ac270
call fcn.0040a90c
mov eax, dword [ebp - 0xc]
call fcn.00404c90
push eax
push 0x80000000
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x4ac198
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404e1c
jmp 0x4ac1cf
lea eax, [ebp - 8]
mov edx, 0x4ac290
call fcn.00404868
xor eax, eax
push ebp
push 0x4ac1c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00490098
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ac1cf
mov eax, dword [ebp - 8]
call fcn.00404c90
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x56de74], eax
cmp dword [0x56de74], 0
jne 0x4ac202
mov ecx, dword [0x56f30c]
mov dl, 1
mov eax, dword [0x408514]
call fcn.0040db1c
call fcn.00404124
push 0x4ac29c
mov eax, dword [0x56de74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x570ca4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac236
push 0x570c8c
call sub.kernel32.dll_LeaveCriticalSection_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac260
lea eax, [ebp - 0x18]
call fcn.004047d0
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004047f4
ret
Function at 0x4b8020
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x87], 0
je 0x4b805b
cmp dword [ebx + 0x5c], 0
je 0x4b805b
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb8]
mov edx, eax
mov eax, esi
call fcn.004b0118
xor eax, eax
mov dword [ebx + 0x5c], eax
mov byte [ebx + 0x87], 0
cmp dword [ebx + 0x5c], 0
jne 0x4b81a6
cmp dword [ebx + 0x7c], 0
jne 0x4b8081
mov dl, 1
mov eax, dword [0x41c624]
call fcn.00403850
mov dword [ebx + 0x7c], eax
cmp dword [ebx + 0xc], 0
je 0x4b817f
mov eax, dword [ebx + 0xc]
push eax
mov al, byte [0x4b81ac]
push eax
mov al, byte [0x4b81b0]
push eax
push 0
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [0x56f34c]
push eax
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x4a7f58]
call fcn.004a9ea8
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4b8178
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.004b0118
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc0]
mov edx, eax
mov eax, esi
call fcn.004b0118
mov eax, dword [ebx + 0x40]
push eax
lea eax, [ebx + 0x70]
mov ecx, 1
mov edx, dword [0x4ad710]
call fcn.00405f98
add esp, 4
mov eax, dword [ebx + 0x30]
cmp eax, 0x1a
jge 0x4b814b
mov edx, dword [0x56f6dc]
mov al, byte [edx + eax]
mov byte [ebx + 0x74], al
jmp 0x4b815c
cmp eax, 0x1007
jne 0x4b8158
mov byte [ebx + 0x74], 0x18
jmp 0x4b815c
mov byte [ebx + 0x74], 0
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b81a6
mov eax, dword [ebp - 4]
call fcn.00403880
ret
lea eax, [ebx + 0x5c]
push eax
push 0
push 0
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.004b0118
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4c91cc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x4c91e6
add esp, 0xfffffff0
call fcn.00403bf8
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4c9283
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.00403850
mov dword [edi + 0x20], esi
mov dl, 1
mov eax, dword [0x429fc4]
call fcn.0042b75c
mov esi, eax
mov dword [edi + 0x10], esi
mov eax, edi
call fcn.004c9618
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi + 0x10]
mov dword [eax + 0xc], edi
mov dword [eax + 8], 0x4c94bc
mov dl, 1
mov eax, dword [0x41cbcc]
call fcn.00403850
mov dword [edi + 4], eax
lea eax, [ebp - 0x10]
call fcn.00419e10
lea edx, [ebp - 0x10]
lea eax, [edi + 0x30]
call fcn.00411df4
mov byte [edi + 0x28], 1
mov dl, byte [0x4c92a8]
mov ax, 0x2e
call fcn.0045bff0
mov word [edi + 0x26], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c928a
lea eax, [ebp - 0x10]
call fcn.004119c8
ret

Function at 0x4ca310
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
test dl, dl
je 0x4ca328
push 5
mov eax, ebx
call fcn.00452e6c
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
push 0
mov eax, ebx
call fcn.00452e6c
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x4d62ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x308], 0
jne 0x4d634c
mov esi, dword [ebx + 0x338]
test esi, esi
je 0x4d62d8
mov ecx, ebx
mov dl, 1
mov eax, esi
call dword [eax + 0x2c]
mov dword [ebx + 0x308], eax
jmp 0x4d62ec
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4c5b1c]
call fcn.004cb0b0
mov dword [ebx + 0x308], eax
xor edx, edx
mov eax, dword [ebx + 0x308]
call fcn.0044c4e8
mov dl, 1
mov eax, dword [ebx + 0x308]
call fcn.00452fac
mov edx, ebx
mov eax, dword [ebx + 0x308]
mov ecx, dword [eax]
call dword [ecx + 0x68]
push 0
mov eax, dword [ebx + 0x308]
call fcn.00452e6c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x308]
mov dword [eax + 0xe4], ebx
mov dword [eax + 0xe0], 0x4d6380
mov dword [eax + 0x2ac], ebx
mov dword [eax + 0x2a8], 0x4d6358
mov eax, dword [ebx + 0x308]
pop esi
pop ebx
ret
Function at 0x4f07bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4f07f4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4f07d2
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4f07e1
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4f07f0
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0x508024
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
mov edi, dword [ebp + 8]
add edi, 0xfffffff8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov word [eax], 0
test dl, dl
je 0x50805e
test bl, bl
je 0x50804f
mov eax, dword [edi]
mov esi, dword [eax + 0x21c]
jmp 0x508059
mov eax, dword [edi]
movzx esi, byte [eax + 0x405]
dec esi
xor bl, 1
jmp 0x50806f
mov eax, dword [edi]
mov edx, dword [eax + 0x420]
mov eax, dword [edi]
call fcn.004f9448
mov esi, eax
mov eax, esi
test bl, bl
je 0x508078
inc esi
jmp 0x508079
dec esi
mov edx, dword [edi]
cmp esi, dword [edx + 0x21c]
jl 0x50808e
mov edx, dword [edi]
movzx esi, byte [edx + 0x405]
jmp 0x5080ae
mov edx, dword [edi]
movzx edx, byte [edx + 0x405]
cmp esi, edx
jge 0x5080ae
mov edx, dword [edi]
mov esi, dword [edx + 0x21c]
mov edx, dword [edi]
movzx edx, byte [edx + 0x405]
sub esi, edx
cmp eax, esi
je 0x5080f2
jmp 0x5080ca
test bl, bl
je 0x5080bb
inc esi
jmp 0x5080bc
dec esi
test esi, esi
jl 0x5080f2
mov eax, dword [edi]
cmp esi, dword [eax + 0x21c]
jge 0x5080f2
mov eax, dword [edi]
mov edx, esi
call fcn.004f943c
mov edx, eax
mov eax, dword [edi]
call fcn.00507014
test al, al
je 0x5080b4
mov eax, dword [edi]
mov edx, esi
call fcn.004f943c
mov edx, eax
mov eax, dword [edi]
call fcn.005070e8
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x50902c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.004c2d78
test al, al
jne 0x5091d8
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14c]
test al, al
je 0x509066
cmp byte [0x570d9c], 0
jne 0x509066
mov byte [ebx + 0x43c], 1
cmp byte [ebx + 0x43c], 0
je 0x509075
cmp dword [esi + 4], 0
je 0x5090a2
test byte [ebx + 0x55], 1
jne 0x509094
mov eax, ebx
call fcn.0044fb18
test eax, eax
jne 0x509094
mov edx, esi
mov eax, ebx
call fcn.00454bc0
jmp 0x5091d8
mov edx, esi
mov eax, ebx
call fcn.00450a9c
jmp 0x5091d8
push 0
call sub.user32.dll_GetDC
mov edi, eax
mov eax, ebx
call fcn.0044c010
push eax
mov eax, ebx
call fcn.0044bfcc
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x5091d1
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x50]
push eax
mov eax, ebx
call fcn.00452e6c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.004b9218
push eax
mov ecx, eax
mov edx, 0x14
mov eax, ebx
call fcn.0044d7a0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0050902c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x60]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x54]
push eax
lea edx, [ebp - 0x70]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x68]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x50]
push eax
mov eax, ebx
call fcn.00452e6c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5091d8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x512a74
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x512a8e
add esp, 0xfffffff0
call fcn.00403bf8
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x512b1c
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.00403850
mov dword [edi + 4], esi
lea eax, [edi + 0x40]
call fcn.004e4a90
mov byte [edi + 0x34], 1
mov dl, 1
mov eax, dword [0x41cbcc]
call fcn.00403850
mov dword [edi + 0x28], eax
mov dl, 1
mov eax, dword [0x41cbcc]
call fcn.00403850
mov dword [edi + 0x14], eax
mov dl, 1
mov eax, dword [0x4a76e8]
call fcn.004a7888
mov esi, eax
mov dword [edi + 0x30], esi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], 0x51344c
lea eax, [ebp - 0x10]
call fcn.00419e10
lea edx, [ebp - 0x10]
lea eax, [edi + 0x18]
call fcn.00411df4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x512b23
lea eax, [ebp - 0x10]
call fcn.004119c8
ret

Function at 0x52c0f4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x52c1ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404edc
mov eax, dword [0x56ef10]
cmp byte [eax], 0
je 0x52c163
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405334
mov eax, dword [ebx]
call fcn.00405068
push eax
mov eax, dword [ebx]
call fcn.00405058
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405068
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405334
jmp 0x52c195
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a3f4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405048
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c1b5
lea eax, [ebp - 0x3f0]
cld
invalid
invalid
call fcn.004047d0
ret

Function at 0x52f444
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x52f49e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.0052f4a8
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52f4a5
ret
Function at 0x535cd8
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x535d0e
jmp 0x535db4
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x535d52
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x535d52
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x535d62
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x535d62
mov eax, dword [edx + 0x14]
test eax, eax
je 0x535d7b
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.00532664
jmp 0x535db4
mov dl, 1
mov eax, dword [0x42a304]
call fcn.0042c28c
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.0042ce58
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.0042be1c
mov edx, esp
mov eax, esi
call fcn.0042c9d8
mov eax, esi
call fcn.00403880
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x5385b8
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00452e6c
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.0044c4e8
pop ebx
ret
Function at 0x53eb5c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x53ec16
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404edc
mov eax, dword [0x56ef10]
cmp byte [eax], 0
je 0x53ebcb
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405334
mov eax, dword [ebx]
call fcn.00405068
push eax
mov eax, dword [ebx]
call fcn.00405058
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405068
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405334
jmp 0x53ebfd
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a3f4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405048
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53ec1d
lea eax, [ebp - 0x3f0]
call fcn.004047d0
ret

Function at 0x53ec24
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.0040a3f4
add esp, 0x3ec
pop ebx
ret

Function at 0x53ede4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x53eeaa
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00463968
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.0053eaa0
mov edi, eax
test edi, edi
je 0x53ee43
mov al, byte [0x53eeb8]
cmp al, bl
jne 0x53ee43
mov edx, edi
mov eax, ebp
call fcn.0053e9d8
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x53eeaa
cmp byte [ebp + 0x161], 2
jne 0x53ee6e
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x56f6fc]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.0044d7a0
test eax, eax
jne 0x53eeaa
jmp 0x53eea5
mov edx, dword [0x56f4dc]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x53eea5
test byte [eax + 0x2f4], 8
jne 0x53eea5
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x56f4dc]
mov eax, edx
mov edx, 0xb006
call fcn.0044d7a0
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5451a8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x56f6fc]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x54524e
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x5451ed
cmp eax, dword [esp]
pop edx
pop eax
jae 0x545229
jmp 0x5451f1
pop edx
pop eax
jge 0x545229
mov eax, dword [0x56f6fc]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0053fbd8
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x54524e
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x54524e
cmp dword [ebx + 0x11c], 0
je 0x54524e
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00443660
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret