joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d8f4
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 0x45d910
cmp dword [esi + 4], 0
je 0x45d93d
test byte [ebx + 0x55], 1
jne 0x45d92f
mov eax, ebx
call fcn.0045c494
test eax, eax
jne 0x45d92f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x45da4d
mov edx, esi
mov eax, ebx
call fcn.0045d418
jmp 0x45da4d
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 0x45da46
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045f764
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.0045a01c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0045d8f4
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.0045f764
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45da4d
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 0x464164
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x556150]
cmp byte [eax + 0xc], 0
je 0x4642d1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4642ca
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x557ba4], 0
jne 0x4641b8
push 0x4642d8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4642e0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x557ba4], eax
cmp dword [0x550f94], 0
jne 0x4642b3
push 0x4642f0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x550f94], eax
cmp dword [0x550f94], 0
je 0x4642b3
push 0x4642fc
mov eax, dword [0x550f94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x557ba8], eax
push 0x46430c
mov eax, dword [0x550f94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x557bac], eax
push 0x464320
mov eax, dword [0x550f94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x557bb0], eax
push 0x464338
mov eax, dword [0x550f94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x557bb4], eax
push 0x464350
mov eax, dword [0x550f94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x557bb8], eax
push 0x464364
mov eax, dword [0x550f94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x557bbc], eax
push 0x46437c
mov eax, dword [0x550f94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x557bc0], eax
push 0x464394
mov eax, dword [0x550f94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x557bc4], eax
push 0x4643b0
mov eax, dword [0x550f94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x557bc8], eax
push 0x4643bc
mov eax, dword [0x550f94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x557bcc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4642d1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x46872c
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.0040480c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x46877b
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.00404a7c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x470154
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4701a4]
test si, 4
je 0x470168
or bl, 1
test si, 8
je 0x470172
or bl, 4
test si, 1
je 0x47017c
or bl, 8
test si, 2
je 0x470186
or bl, 0x10
test si, 0x10
je 0x470190
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47019f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4701a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4701e0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4701c1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4701d0
or bl, 4
test esi, 0x20000000
je 0x4701db
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4768a4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4768b6
add esp, 0xfffffff0
call fcn.00403d14
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423234
mov eax, dword [0x555a8c]
mov dword [eax + 4], ebx
mov dword [eax], 0x476c48
mov eax, dword [0x555a9c]
mov dword [eax + 4], ebx
mov dword [eax], 0x476c54
mov eax, ebx
call fcn.00476c60
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4179fc]
call fcn.0040396c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4179fc]
call fcn.0040396c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4179fc]
call fcn.0040396c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4179fc]
call fcn.0040396c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4179fc]
call fcn.0040396c
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, 0x473078
push eax
push 0
push 0
mov eax, dword [0x555d58]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424ce0]
call fcn.004264e8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424ce0]
call fcn.004264e8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424ce0]
call fcn.004264e8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004770b0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x476f78
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x476f78
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x476f78
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4769f3
call fcn.00403d6c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x476d5c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x476f07
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x476ee8
mov dl, 1
mov eax, dword [0x418060]
call fcn.0040396c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040480c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x476ed7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004644c4
test al, al
je 0x476eca
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x476f18
lea eax, [ebp - 0x254]
call fcn.0040a244
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x476eca
xor eax, eax
push ebp
push 0x476ec3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x476f50
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x476eac
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a7c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
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 - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x476eac
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476eca
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x476dcd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c9f4
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 0x476f0e
lea eax, [ebp - 0x260]
call fcn.0040480c
ret

Function at 0x477850
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x557bf0]
cmp byte [eax + 0xa5], 0
jne 0x4778c1
cmp dword [0x557c08], 0
jne 0x477882
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47780c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x557c08], eax
cmp dword [0x557c04], 0
jne 0x47789d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x557c04], eax
cmp dword [0x557c0c], 0
jne 0x4778c1
push esp
push 0
push 0
push 0x4777b0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x557c0c], eax
pop edx
ret
Function at 0x477f54
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x557bf0]
cmp dword [eax + 0x30], 0
je 0x477ffe
cmp dword [ebx + 0x94], 0
jne 0x477ff8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x477ee4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x477ff8
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 0x477fbe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x477ff8
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.0041a3e8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x477fcd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x478b5c
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 0x478b91
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.004048fc
jmp 0x478b9e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404860
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x479d68
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x479da9
mov eax, esi
call fcn.0045fa68
test al, al
je 0x479da9
mov eax, dword [ebx + 0x84]
call fcn.0045f764
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x479da9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045f764
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47e46c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47e49a
mov eax, ebx
call fcn.0047ef20
cmp dword [ebx + 0x40], 0
je 0x47e493
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47e50b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47e4fd
cmp dword [ebx + 8], 0
je 0x47e4bc
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 0x47e4ce
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47e4fd
cmp dword [ebx + 8], 0
je 0x47e4af
cmp eax, 3
je 0x47e4e1
dec eax
jne 0x47e4af
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 0x47e4af
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47e4af
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47e529
cmp dword [ebx + 0x14], 0xcc
je 0x47e529
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.0047e534
pop ebx
ret
Function at 0x496ee4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x68], 0
jne 0x496efc
mov eax, ebx
call fcn.00496c34
cmp dword [ebx + 0x60], 0
jne 0x496f09
mov eax, ebx
call fcn.00496b8c
mov esi, dword [ebx + 0x68]
test esi, esi
je 0x4970b0
cmp dword [ebx + 0x60], 0
je 0x4970b0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x68]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.00496b10
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
mov eax, dword [esp]
cmp ecx, eax
je 0x496f7c
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
sar ecx, 1
jns 0x496f65
adc ecx, 0
push ecx
sub eax, edx
add eax, esi
sar eax, 1
jns 0x496f71
adc eax, 0
push eax
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0xe0]
test eax, eax
je 0x496f92
call fcn.0045f764
mov esi, eax
jmp 0x496f95
mov esi, dword [ebx + 0x48]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x496faa
or esi, 0xffffffff
jmp 0x496fb4
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x60]
call fcn.00458588
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x60]
call fcn.004585ac
mov edx, dword [esp]
mov eax, dword [ebx + 0x60]
call fcn.004585d4
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x60]
call fcn.004585f8
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00406c14
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x60]
call fcn.0045f764
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x60]
call fcn.0045f764
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x60]
call fcn.0045f764
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x68]
call fcn.0042bc28
call fcn.0042775c
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x60]
call fcn.0045f764
push eax
mov eax, dword [0x5559f4]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x60]
call fcn.0045f764
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4bc4b0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.004bc49c
test eax, eax
jne 0x4bc4d1
mov eax, esi
call fcn.0040480c
jmp 0x4bc562
mov eax, ebx
call fcn.004bc5f8
test al, al
je 0x4bc517
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.004048fc
test edi, edi
je 0x4bc50e
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4bc562
mov eax, esi
call fcn.0040480c
jmp 0x4bc562
mov ebp, dword [ebx + 0x78]
test ebp, ebp
je 0x4bc55b
mov eax, dword [ebp + 0x208]
call fcn.0041b140
test eax, eax
jle 0x4bc549
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x208]
mov edx, edi
call fcn.0043fd38
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.00404860
jmp 0x4bc562
mov eax, esi
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + 0x210]
call fcn.00404860
jmp 0x4bc562
mov eax, esi
call fcn.0040480c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4be24c
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push esi
mov ecx, 1
xor edx, edx
xor eax, eax
call fcn.00406bf8
push esi
push 0
push 0x419
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
pop esi
pop ebx
ret

Function at 0x4c3510
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 0x4c35ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404f18
mov eax, dword [0x55612c]
cmp dword [eax], 2
jne 0x4c357f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405160
mov eax, dword [ebx]
call fcn.00405084
push eax
mov eax, dword [ebx]
call fcn.00405074
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405084
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405160
jmp 0x4c35b1
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.00409dc4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405064
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c35d1
lea eax, [ebp - 0x3f0]
call fcn.0040480c
ret
Function at 0x4d096c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x557e74
test esi, esi
jne 0x4d0986
xor eax, eax
jmp 0x4d0a88
cmp dword [ebp], 0
jne 0x4d0991
call fcn.004d08fc
xor ebx, 0xffffffff
cmp edi, 8
jb 0x4d0a61
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x4d099d
test edi, edi
jbe 0x4d0a83
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x4d0a65
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x507978
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x507988
call sub.user32.dll_FindWindowA
ret
Function at 0x523a3c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x6c], 0
jne 0x523a54
mov eax, ebx
call fcn.005232c8
cmp dword [ebx + 0x68], 0
jne 0x523a61
mov eax, ebx
call fcn.00523224
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x523c14
cmp dword [ebx + 0x68], 0
je 0x523c14
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.00523094
lea eax, [esp + 0x14]
xor edx, edx
call fcn.00525778
cmp eax, dword [esp]
je 0x523ae3
lea eax, [esp + 0x14]
xor edx, edx
call fcn.0052578c
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x523abf
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.00525778
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x523ad8
adc edx, 0
push edx
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x523af6
mov eax, dword [eax + 0x18]
call fcn.0045f764
mov esi, eax
jmp 0x523af9
mov esi, dword [ebx + 0x50]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x523b0e
or esi, 0xffffffff
jmp 0x523b18
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.00458588
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x68]
call fcn.004585ac
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.004585d4
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.004585f8
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00406c14
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.0045f764
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.0045f764
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.0045f764
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x6c]
call fcn.0042bc28
call fcn.0042775c
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.0045f764
push eax
mov eax, dword [0x5559f4]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x68]
call fcn.0045f764
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret