joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4450f0
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 0x44510c
cmp dword [esi + 4], 0
je 0x445139
test byte [ebx + 0x55], 1
jne 0x44512b
mov eax, ebx
call fcn.00443c90
test eax, eax
jne 0x44512b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x445249
mov edx, esi
mov eax, ebx
call fcn.00444c14
jmp 0x445249
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 0x445242
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00446f60
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.00441918
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004450f0
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.00446f60
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445249
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 0x44b96c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x51fa98]
cmp byte [eax + 0xc], 0
je 0x44bad9
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44bad2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x520b28], 0
jne 0x44b9c0
push 0x44bae0
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x44bae8
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x520b28], eax
cmp dword [0x512d7c], 0
jne 0x44babb
push 0x44baf8
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x512d7c], eax
cmp dword [0x512d7c], 0
je 0x44babb
push 0x44bb04
mov eax, dword [0x512d7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x520b2c], eax
push 0x44bb14
mov eax, dword [0x512d7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x520b30], eax
push 0x44bb28
mov eax, dword [0x512d7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x520b34], eax
push 0x44bb40
mov eax, dword [0x512d7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x520b38], eax
push 0x44bb58
mov eax, dword [0x512d7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x520b3c], eax
push 0x44bb6c
mov eax, dword [0x512d7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x520b40], eax
push 0x44bb84
mov eax, dword [0x512d7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x520b44], eax
push 0x44bb9c
mov eax, dword [0x512d7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x520b48], eax
push 0x44bbb8
mov eax, dword [0x512d7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x520b4c], eax
push 0x44bbc4
mov eax, dword [0x512d7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x520b50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bad9
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44fec8
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.00404698
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44ff17
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.00404908
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4578f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x457940]
test si, 4
je 0x457904
or bl, 1
test si, 8
je 0x45790e
or bl, 4
test si, 1
je 0x457918
or bl, 8
test si, 2
je 0x457922
or bl, 0x10
test si, 0x10
je 0x45792c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45793b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x457944
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45797c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45795d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45796c
or bl, 4
test esi, 0x20000000
je 0x457977
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45e040
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45e052
add esp, 0xfffffff0
call fcn.00403c44
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042005c
mov eax, dword [0x51f4d4]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e3e4
mov eax, dword [0x51f4ec]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e3f0
mov eax, ebx
call fcn.0045e3fc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417654]
call fcn.004038dc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417654]
call fcn.004038dc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417654]
call fcn.004038dc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417654]
call fcn.004038dc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417654]
call fcn.004038dc
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, 0x45a814
push eax
push 0
push 0
mov eax, dword [0x51f70c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421b3c]
call fcn.00423344
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421b3c]
call fcn.00423344
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421b3c]
call fcn.00423344
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045e84c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e714
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e714
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e714
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45e18f
call fcn.00403c9c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45e4f8
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 0x45e6a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45e684
mov dl, 1
mov eax, dword [0x417bfc]
call fcn.004038dc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404698
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45e673
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.0044bccc
test al, al
je 0x45e666
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, 0x45e6b4
lea eax, [ebp - 0x254]
call fcn.0040a188
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45e666
xor eax, eax
push ebp
push 0x45e65f
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 0x45e6ec
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45e648
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404908
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 0x45e648
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e666
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45e569
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c084
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 0x45e6aa
lea eax, [ebp - 0x260]
call fcn.00404698
ret

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

Disassembly:
push ecx
mov eax, dword [0x520b74]
cmp byte [eax + 0xa5], 0
jne 0x45f05d
cmp dword [0x520b8c], 0
jne 0x45f01e
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x45efa8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x520b8c], eax
cmp dword [0x520b88], 0
jne 0x45f039
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x520b88], eax
cmp dword [0x520b90], 0
jne 0x45f05d
push esp
push 0
push 0
push 0x45ef4c
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread_1
mov dword [0x520b90], eax
pop edx
ret
Function at 0x45f6f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x520b74]
cmp dword [eax + 0x30], 0
je 0x45f79a
cmp dword [ebx + 0x94], 0
jne 0x45f794
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45f680
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45f794
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 0x45f75a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45f794
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.00419bcc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45f769
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4602f8
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 0x46032d
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.00404788
jmp 0x46033a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046ec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x461504
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x461545
mov eax, esi
call fcn.00447264
test al, al
je 0x461545
mov eax, dword [ebx + 0x84]
call fcn.00446f60
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x461545
push 0
mov eax, dword [ebx + 0x84]
call fcn.00446f60
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x47a694
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 0x47a6ac
mov eax, ebx
call fcn.0047a3f4
cmp dword [ebx + 0x60], 0
jne 0x47a6b9
mov eax, ebx
call fcn.0047a34c
mov esi, dword [ebx + 0x68]
test esi, esi
je 0x47a85d
cmp dword [ebx + 0x60], 0
je 0x47a85d
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.0047a2d0
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
mov eax, dword [esp]
cmp ecx, eax
je 0x47a72c
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
sar ecx, 1
jns 0x47a715
adc ecx, 0
push ecx
sub eax, edx
add eax, esi
sar eax, 1
jns 0x47a721
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 0x47a742
call fcn.00446f60
mov esi, eax
jmp 0x47a745
mov esi, dword [ebx + 0x48]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x47a75a
or esi, 0xffffffff
jmp 0x47a764
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.0043feb0
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x60]
call fcn.0043fed4
mov edx, dword [esp]
mov eax, dword [ebx + 0x60]
call fcn.0043fefc
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x60]
call fcn.0043ff20
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00406c0c
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.00446f60
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.00446f60
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.00446f60
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.00428a7c
call fcn.004245b0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x60]
call fcn.00446f60
push eax
call dword [0x5228ac]
push 4
mov eax, dword [ebx + 0x60]
call fcn.00446f60
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 0x47b054
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47b0c5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x5164f0]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x47b0af
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0047b044
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x47ae1c]
call fcn.0047b0ec
mov dword [0x516554], eax
mov eax, dword [ebp - 4]
call fcn.0047aff4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b0cc
lea eax, [ebp - 8]
call fcn.004063e0
ret

Function at 0x47b2c7
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffea0
mov eax, esp
xor ecx, ecx
mov edx, 0x160
call fcn.00403314
push 0x4001
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x47b33c
call sub.shell32.dll_SHGetFileInfoA
mov dword [0x5164e8], eax
cmp dword [0x5164e8], 0
je 0x47b334
cmp dword [0x5164ec], 0
jne 0x47b334
xor ecx, ecx
mov dl, 1
mov eax, dword [0x48356c]
call fcn.00483cb4
mov dword [0x5164ec], eax
mov edx, dword [0x5164e8]
mov eax, dword [0x5164ec]
call fcn.0044d854
mov eax, dword [0x5164ec]
mov byte [eax + 0x42], 1
mov dl, 1
mov eax, dword [0x5164ec]
call fcn.004853ec
push 0xffffffffffffffff
mov eax, dword [0x5164ec]
call fcn.0044d890
push eax
call sub.comctl32.dll_ImageList_SetBkColor
add esp, 0x160
ret
Function at 0x4a0298
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.004a0284
test eax, eax
jne 0x4a02b9
mov eax, esi
call fcn.00404698
jmp 0x4a034a
mov eax, ebx
call fcn.004a03e0
test al, al
je 0x4a02ff
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.00404788
test edi, edi
je 0x4a02f6
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 0x4a034a
mov eax, esi
call fcn.00404698
jmp 0x4a034a
mov ebp, dword [ebx + 0x78]
test ebp, ebp
je 0x4a0343
mov eax, dword [ebp + 0x208]
call fcn.0041a950
test eax, eax
jle 0x4a0331
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x208]
mov edx, edi
call fcn.00471098
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.004046ec
jmp 0x4a034a
mov eax, esi
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + 0x210]
call fcn.004046ec
jmp 0x4a034a
mov eax, esi
call fcn.00404698
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a20b0
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.00406bf0
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 0x4a7c7c
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 0x4a7d36
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404da4
mov eax, dword [0x51fa78]
cmp dword [eax], 2
jne 0x4a7ceb
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404fec
mov eax, dword [ebx]
call fcn.00404f10
push eax
mov eax, dword [ebx]
call fcn.00404f00
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404f10
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404fec
jmp 0x4a7d1d
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.00409d08
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404ef0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7d3d
lea eax, [ebp - 0x3f0]
call fcn.00404698
ret
Function at 0x4b5130
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, 0x52289c
test esi, esi
jne 0x4b514a
xor eax, eax
jmp 0x4b524c
cmp dword [ebp], 0
jne 0x4b5155
call fcn.004b50c0
xor ebx, 0xffffffff
cmp edi, 8
jb 0x4b5225
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 0x4b5161
test edi, edi
jbe 0x4b5247
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 0x4b5229
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4e793c
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x4e794c
call sub.user32.dll_FindWindowA
ret
Function at 0x503d28
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 0x503d40
mov eax, ebx
call fcn.005035a4
cmp dword [ebx + 0x68], 0
jne 0x503d4d
mov eax, ebx
call fcn.00503500
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x503efd
cmp dword [ebx + 0x68], 0
je 0x503efd
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.00503370
lea eax, [esp + 0x14]
xor edx, edx
call fcn.00505b04
cmp eax, dword [esp]
je 0x503dcf
lea eax, [esp + 0x14]
xor edx, edx
call fcn.00505b18
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x503dab
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.00505b04
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x503dc4
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 0x503de2
mov eax, dword [eax + 0x18]
call fcn.00446f60
mov esi, eax
jmp 0x503de5
mov esi, dword [ebx + 0x50]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x503dfa
or esi, 0xffffffff
jmp 0x503e04
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.0043feb0
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x68]
call fcn.0043fed4
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.0043fefc
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.0043ff20
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00406c0c
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.00446f60
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.00446f60
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.00446f60
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.00428a7c
call fcn.004245b0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.00446f60
push eax
call dword [0x5228ac]
push 4
mov eax, dword [ebx + 0x68]
call fcn.00446f60
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