joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a68c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x44a6a8
cmp dword [esi + 4], 0
je 0x44a6d5
test byte [ebx + 0x55], 1
jne 0x44a6c7
mov eax, ebx
call fcn.0044922c
test eax, eax
jne 0x44a6c7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x44a7e5
mov edx, esi
mov eax, ebx
call fcn.0044a1b0
jmp 0x44a7e5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
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 eax, eax
push ebp
push 0x44a7de
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044c524
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00446eb4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0044a68c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044c524
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a7e5
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 0x450f74
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x512f90]
cmp byte [eax + 0xc], 0
je 0x4510e1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4510da
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x513b28], 0
jne 0x450fc8
push 0x4510e8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4510f0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513b28], eax
cmp dword [0x50fe94], 0
jne 0x4510c3
push 0x451100
call sub.kernel32.dll_LoadLibraryA
mov dword [0x50fe94], eax
cmp dword [0x50fe94], 0
je 0x4510c3
push 0x45110c
mov eax, dword [0x50fe94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513b2c], eax
push 0x45111c
mov eax, dword [0x50fe94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513b30], eax
push 0x451130
mov eax, dword [0x50fe94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513b34], eax
push 0x451148
mov eax, dword [0x50fe94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513b38], eax
push 0x451160
mov eax, dword [0x50fe94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513b3c], eax
push 0x451174
mov eax, dword [0x50fe94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513b40], eax
push 0x45118c
mov eax, dword [0x50fe94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513b44], eax
push 0x4511a4
mov eax, dword [0x50fe94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513b48], eax
push 0x4511c0
mov eax, dword [0x50fe94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513b4c], eax
push 0x4511cc
mov eax, dword [0x50fe94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x513b50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4510e1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x455554
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040464c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4555a3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004048bc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45cd98
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45cde8]
test si, 4
je 0x45cdac
or bl, 1
test si, 8
je 0x45cdb6
or bl, 4
test si, 1
je 0x45cdc0
or bl, 8
test si, 2
je 0x45cdca
or bl, 0x10
test si, 0x10
je 0x45cdd4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45cde3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45cdec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45ce24]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45ce05
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45ce14
or bl, 4
test esi, 0x20000000
je 0x45ce1f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x463500
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x463512
add esp, 0xfffffff0
call fcn.00403af8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425ae8
mov eax, dword [0x51296c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4638a4
mov eax, dword [0x512980]
mov dword [eax + 4], ebx
mov dword [eax], 0x4638b0
mov eax, ebx
call fcn.004638bc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41c2dc]
call fcn.00403780
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41c2dc]
call fcn.00403780
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41c2dc]
call fcn.00403780
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41c2dc]
call fcn.00403780
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41c2dc]
call fcn.00403780
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45fcd4
push eax
push 0
push 0
mov eax, dword [0x512bf8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x427bd0]
call fcn.00429368
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x427bd0]
call fcn.00429368
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x427bd0]
call fcn.00429368
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00463d30
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x463bf8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x463bf8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x463bf8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46364f
call fcn.00403b50
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4639b8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x463b88
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x463b69
mov dl, 1
mov eax, dword [0x41caec]
call fcn.00403780
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040464c
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x463b58
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.004512d4
test al, al
jne 0x463a55
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x463b4b
xor edx, edx
push ebp
push 0x463b44
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x463a75
mov ebx, dword [ebp - 0x10]
jmp 0x463a77
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x463b98
lea eax, [ebp - 0x258]
call fcn.0040a49c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x463b2d
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x463bd0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x463b2d
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.004048bc
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x463b2d
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.004048bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463b4b
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x463a36
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00421a68
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463b8f
lea eax, [ebp - 0x264]
call fcn.0040464c
ret
Function at 0x4644d0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x513b74]
cmp byte [eax + 0xa5], 0
jne 0x464541
cmp dword [0x513b8c], 0
jne 0x464502
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46448c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x513b8c], eax
cmp dword [0x513b88], 0
jne 0x46451d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x513b88], eax
cmp dword [0x513b90], 0
jne 0x464541
push esp
push 0
push 0
push 0x464430
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x513b90], eax
pop edx
ret

Function at 0x464bd4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x513b74]
cmp dword [eax + 0x30], 0
je 0x464c7e
cmp dword [ebx + 0x94], 0
jne 0x464c78
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x464b64
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x464c78
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x464c3e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x464c78
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041ec68
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x464c4d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4657dc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x465811
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040473c
jmp 0x46581e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046a0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4669d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x466a19
mov eax, esi
call fcn.0044c828
test al, al
je 0x466a19
mov eax, dword [ebx + 0x84]
call fcn.0044c524
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x466a19
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044c524
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46abd4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0046a810
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404b0c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46ac32
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x512c08]
mov dl, 1
mov eax, dword [0x46a708]
call fcn.0040db84
call fcn.00404024
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46ac3c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404b0c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46ac94
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x512f9c]
mov dl, 1
mov eax, dword [0x46a708]
call fcn.0040db84
call fcn.00404024
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0046a840
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46dbd4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46dc02
mov eax, ebx
call fcn.0046e688
cmp dword [ebx + 0x40], 0
je 0x46dbfb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46dc73
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46dc65
cmp dword [ebx + 8], 0
je 0x46dc24
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46dc36
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46dc65
cmp dword [ebx + 8], 0
je 0x46dc17
cmp eax, 3
je 0x46dc49
dec eax
jne 0x46dc17
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46dc17
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46dc17
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46dc91
cmp dword [ebx + 0x14], 0xcc
je 0x46dc91
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046dc9c
pop ebx
ret
Function at 0x485834
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 0x4858ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404d58
mov eax, dword [0x5128e0]
cmp byte [eax], 0
je 0x4858a3
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004051ec
mov eax, dword [ebx]
call fcn.00404f20
push eax
mov eax, dword [ebx]
call fcn.00404f10
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404f20
mov edx, eax
dec edx
mov eax, ebx
call fcn.004051ec
jmp 0x4858d5
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.0040a01c
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404f00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4858f5
lea eax, [ebp - 0x3f0]
call fcn.0040464c
ret

Function at 0x488b84
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x488bde
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.00488be8
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 0x488be5
ret

Function at 0x48f418
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 0x48f44e
jmp 0x48f4f4
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 0x48f492
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x48f492
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x48f4a2
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x48f4a2
mov eax, dword [edx + 0x14]
test eax, eax
je 0x48f4bb
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.0048bda4
jmp 0x48f4f4
mov dl, 1
mov eax, dword [0x427f10]
call fcn.00429e78
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.0042a8e8
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.00429a28
mov edx, esp
mov eax, esi
call fcn.0042a57c
mov eax, esi
call fcn.004037b0
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x491cf8
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0044c524
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.00445c14
pop ebx
ret
Function at 0x49829c
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 0x498356
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404d58
mov eax, dword [0x5128e0]
cmp byte [eax], 0
je 0x49830b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004051ec
mov eax, dword [ebx]
call fcn.00404f20
push eax
mov eax, dword [ebx]
call fcn.00404f10
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404f20
mov edx, eax
dec edx
mov eax, ebx
call fcn.004051ec
jmp 0x49833d
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.0040a01c
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404f00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49835d
lea eax, [ebp - 0x3f0]
call fcn.0040464c
ret

Function at 0x498364
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.0040a01c
add esp, 0x3ec
pop ebx
ret

Function at 0x498524
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 0x4985ea
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045ce28
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.004981e0
mov edi, eax
test edi, edi
je 0x498583
mov al, byte [0x4985f8]
cmp al, bl
jne 0x498583
mov edx, edi
mov eax, ebp
call fcn.00498118
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4985ea
cmp byte [ebp + 0x161], 2
jne 0x4985ae
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x512e70]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.00446eb4
test eax, eax
jne 0x4985ea
jmp 0x4985e5
mov edx, dword [0x512cec]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x4985e5
test byte [eax + 0x2f4], 8
jne 0x4985e5
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x512cec]
mov eax, edx
mov edx, 0xb006
call fcn.00446eb4
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x49e8ec
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 [0x512e70]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x49e992
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 0x49e931
cmp eax, dword [esp]
pop edx
pop eax
jae 0x49e96d
jmp 0x49e935
pop edx
pop eax
jge 0x49e96d
mov eax, dword [0x512e70]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00499318
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x49e992
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x49e992
cmp dword [ebx + 0x11c], 0
je 0x49e992
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0043d7c8
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