joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471400
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 0x4715ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47158c
mov dl, 1
mov eax, dword [0x41cda8]
call fcn.004038e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404848
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x47157b
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.0045ed98
test al, al
je 0x47156e
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, 0x4715bc
lea eax, [ebp - 0x254]
call fcn.0040a99c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47156e
xor eax, eax
push ebp
push 0x471567
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 0x4715f4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x471550
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ab8
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 0x471550
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ab8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47156e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x471471
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004221b4
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 0x4715b2
lea eax, [ebp - 0x260]
call fcn.00404848
ret

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

Disassembly:
push ecx
mov eax, dword [0x5abbec]
cmp byte [eax + 0xa5], 0
jne 0x471f65
cmp dword [0x5abc04], 0
jne 0x471f26
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x471eb0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5abc04], eax
cmp dword [0x5abc00], 0
jne 0x471f41
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5abc00], eax
cmp dword [0x5abc08], 0
jne 0x471f65
push esp
push 0
push 0
push 0x471e54
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5abc08], eax
pop edx
ret
Function at 0x4725f8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5abbec]
cmp dword [eax + 0x30], 0
je 0x4726a2
cmp dword [ebx + 0x94], 0
jne 0x47269c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x472588
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47269c
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 0x472662
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47269c
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.0041f0d0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x472671
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x473200
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 0x473235
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.00404938
jmp 0x473242
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040489c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4743fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47443d
mov eax, esi
call fcn.0045a218
test al, al
je 0x47443d
mov eax, dword [ebx + 0x84]
call fcn.00459f14
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47443d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00459f14
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x477b28
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x477b56
mov eax, ebx
call fcn.004785dc
cmp dword [ebx + 0x40], 0
je 0x477b4f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x477bc7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x477bb9
cmp dword [ebx + 8], 0
je 0x477b78
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 0x477b8a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x477bb9
cmp dword [ebx + 8], 0
je 0x477b6b
cmp eax, 3
je 0x477b9d
dec eax
jne 0x477b6b
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 0x477b6b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x477b6b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x477be5
cmp dword [ebx + 0x14], 0xcc
je 0x477be5
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.00477bf0
pop ebx
ret
Function at 0x48959c
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 0x4897fc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4895ff
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00489064
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e5c8
cmp al, 1
jne 0x4895ff
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0048937c
test al, al
je 0x48978b
cmp dword [ebp - 8], 0
jge 0x48961d
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.00489064
mov eax, dword [ebp - 0x210]
call fcn.00404b08
cmp ebx, eax
jge 0x489667
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00489064
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5aa5fc]
and eax, 0xff
bt dword [edx], eax
jae 0x489667
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x48967b
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00489578
cmp ebx, dword [ebp - 8]
je 0x48977d
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 0x4896a7
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b20
and eax, 0x7f
movzx eax, word [eax*2 + 0x5a8a88]
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 0x48976a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b20
and eax, 0x7f
movzx eax, word [eax*2 + 0x5a8a88]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00459f14
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b20
and eax, 0x7f
movzx eax, word [eax*2 + 0x5a8a88]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00459f14
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489771
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 0x4897de
cmp dword [ebp - 8], 0
jge 0x489796
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00489064
mov eax, dword [ebp - 0x218]
call fcn.00404b08
cmp eax, dword [ebp - 8]
jg 0x4897d0
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00489064
mov eax, dword [ebp - 0x21c]
call fcn.00404b08
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00489578
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489803
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.0040486c
ret
Function at 0x4ad4b4
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 0x4ad635
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5a8e84], 0
jne 0x4ad612
push 0x5abc94
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x4ad60b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5a8e84], 0
jne 0x4ad5f3
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404e94
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d08
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.004091e8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x4ad64c
call fcn.0040aa34
mov eax, dword [ebp - 0xc]
call fcn.00404d08
push eax
push 0x80000000
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x4ad574
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404e94
jmp 0x4ad5ab
lea eax, [ebp - 8]
mov edx, 0x4ad66c
call fcn.004048e0
xor eax, eax
push ebp
push 0x4ad5a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00490f20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ad5ab
mov eax, dword [ebp - 8]
call fcn.00404d08
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x5a8e84], eax
cmp dword [0x5a8e84], 0
jne 0x4ad5de
mov ecx, dword [0x5aa0b0]
mov dl, 1
mov eax, dword [0x40856c]
call fcn.0040dc78
call fcn.004041bc
push 0x4ad678
mov eax, dword [0x5a8e84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5abcac], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad612
push 0x5abc94
call sub.kernel32.dll_LeaveCriticalSection_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad63c
lea eax, [ebp - 0x18]
call fcn.00404848
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040486c
ret
Function at 0x4b93e8
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 0x4b9423
cmp dword [ebx + 0x5c], 0
je 0x4b9423
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.004b14e8
xor eax, eax
mov dword [ebx + 0x5c], eax
mov byte [ebx + 0x87], 0
cmp dword [ebx + 0x5c], 0
jne 0x4b956e
cmp dword [ebx + 0x7c], 0
jne 0x4b9449
mov dl, 1
mov eax, dword [0x41c800]
call fcn.004038e8
mov dword [ebx + 0x7c], eax
cmp dword [ebx + 0xc], 0
je 0x4b9547
mov eax, dword [ebx + 0xc]
push eax
mov al, byte [0x4b9574]
push eax
mov al, byte [0x4b9578]
push eax
push 0
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [0x5aa0f4]
push eax
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x4a9334]
call fcn.004ab284
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4b9540
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.004b14e8
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.004b14e8
mov eax, dword [ebx + 0x40]
push eax
lea eax, [ebx + 0x70]
mov ecx, 1
mov edx, dword [0x4aeae0]
call fcn.00405ff8
add esp, 4
mov eax, dword [ebx + 0x30]
cmp eax, 0x1a
jge 0x4b9513
mov edx, dword [0x5aa498]
mov al, byte [edx + eax]
mov byte [ebx + 0x74], al
jmp 0x4b9524
cmp eax, 0x1007
jne 0x4b9520
mov byte [ebx + 0x74], 0x18
jmp 0x4b9524
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 0x4b956e
mov eax, dword [ebp - 4]
call fcn.00403918
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.004b14e8
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4ca594
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 0x4ca5ae
add esp, 0xfffffff0
call fcn.00403c90
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4ca64b
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.004038e8
mov dword [edi + 0x20], esi
mov dl, 1
mov eax, dword [0x42a2f0]
call fcn.0042ba88
mov esi, eax
mov dword [edi + 0x10], esi
mov eax, edi
call fcn.004ca9e0
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], 0x4ca884
mov dl, 1
mov eax, dword [0x41cda8]
call fcn.004038e8
mov dword [edi + 4], eax
lea eax, [ebp - 0x10]
call fcn.00419f94
lea edx, [ebp - 0x10]
lea eax, [edi + 0x30]
call fcn.00411f88
mov byte [edi + 0x28], 1
mov dl, byte [0x4ca670]
mov ax, 0x2e
call fcn.00462f34
mov word [edi + 0x26], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca652
lea eax, [ebp - 0x10]
call fcn.00411b5c
ret

Function at 0x4cb6d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
test dl, dl
je 0x4cb6f0
push 5
mov eax, ebx
call fcn.00459f14
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
push 0
mov eax, ebx
call fcn.00459f14
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x4d7674
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x308], 0
jne 0x4d7714
mov esi, dword [ebx + 0x338]
test esi, esi
je 0x4d76a0
mov ecx, ebx
mov dl, 1
mov eax, esi
call dword [eax + 0x2c]
mov dword [ebx + 0x308], eax
jmp 0x4d76b4
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4c6ee4]
call fcn.004cc478
mov dword [ebx + 0x308], eax
xor edx, edx
mov eax, dword [ebx + 0x308]
call fcn.0045346c
mov dl, 1
mov eax, dword [ebx + 0x308]
call fcn.0045a054
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.00459f14
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x308]
mov dword [eax + 0xe4], ebx
mov dword [eax + 0xe0], 0x4d7748
mov dword [eax + 0x2ac], ebx
mov dword [eax + 0x2a8], 0x4d7720
mov eax, dword [ebx + 0x308]
pop esi
pop ebx
ret
Function at 0x4f1ba4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4f1bdc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4f1bba
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4f1bc9
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4f1bd8
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0x5096d0
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 0x50970a
test bl, bl
je 0x5096fb
mov eax, dword [edi]
mov esi, dword [eax + 0x21c]
jmp 0x509705
mov eax, dword [edi]
movzx esi, byte [eax + 0x405]
dec esi
xor bl, 1
jmp 0x50971b
mov eax, dword [edi]
mov edx, dword [eax + 0x420]
mov eax, dword [edi]
call fcn.004fa830
mov esi, eax
mov eax, esi
test bl, bl
je 0x509724
inc esi
jmp 0x509725
dec esi
mov edx, dword [edi]
cmp esi, dword [edx + 0x21c]
jl 0x50973a
mov edx, dword [edi]
movzx esi, byte [edx + 0x405]
jmp 0x50975a
mov edx, dword [edi]
movzx edx, byte [edx + 0x405]
cmp esi, edx
jge 0x50975a
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 0x50979e
jmp 0x509776
test bl, bl
je 0x509767
inc esi
jmp 0x509768
dec esi
test esi, esi
jl 0x50979e
mov eax, dword [edi]
cmp esi, dword [eax + 0x21c]
jge 0x50979e
mov eax, dword [edi]
mov edx, esi
call fcn.004fa824
mov edx, eax
mov eax, dword [edi]
call fcn.005086c0
test al, al
je 0x509760
mov eax, dword [edi]
mov edx, esi
call fcn.004fa824
mov edx, eax
mov eax, dword [edi]
call fcn.00508794
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x50a6d8
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.004c4140
test al, al
jne 0x50a884
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14c]
test al, al
je 0x50a712
cmp byte [0x5abda4], 0
jne 0x50a712
mov byte [ebx + 0x43c], 1
cmp byte [ebx + 0x43c], 0
je 0x50a721
cmp dword [esi + 4], 0
je 0x50a74e
test byte [ebx + 0x55], 1
jne 0x50a740
mov eax, ebx
call fcn.00456bc0
test eax, eax
jne 0x50a740
mov edx, esi
mov eax, ebx
call fcn.0045bc68
jmp 0x50a884
mov edx, esi
mov eax, ebx
call fcn.00457b44
jmp 0x50a884
push 0
call sub.user32.dll_GetDC
mov edi, eax
mov eax, ebx
call fcn.00452f94
push eax
mov eax, ebx
call fcn.00452f50
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 0x50a87d
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x50]
push eax
mov eax, ebx
call fcn.00459f14
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.004ba5e0
push eax
mov ecx, eax
mov edx, 0x14
mov eax, ebx
call fcn.00454748
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.0050a6d8
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.00459f14
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50a884
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 0x514120
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 0x51413a
add esp, 0xfffffff0
call fcn.00403c90
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5141c8
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.004038e8
mov dword [edi + 4], esi
lea eax, [edi + 0x40]
call fcn.004e5e58
mov byte [edi + 0x34], 1
mov dl, 1
mov eax, dword [0x41cda8]
call fcn.004038e8
mov dword [edi + 0x28], eax
mov dl, 1
mov eax, dword [0x41cda8]
call fcn.004038e8
mov dword [edi + 0x14], eax
mov dl, 1
mov eax, dword [0x4a853c]
call fcn.004a86dc
mov esi, eax
mov dword [edi + 0x30], esi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], 0x514af8
lea eax, [ebp - 0x10]
call fcn.00419f94
lea edx, [ebp - 0x10]
lea eax, [edi + 0x18]
call fcn.00411f88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5141cf
lea eax, [ebp - 0x10]
call fcn.00411b5c
ret

Function at 0x5521c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
mov esi, ecx
mov ebx, eax
mov al, byte [ebx + 0x61c]
test al, al
jne 0x5521e8
cmp dword [ebx + 0x420], 0
jne 0x5521e8
mov byte [ebp - 1], 1
jmp 0x552270
mov byte [ebp - 1], 0
test al, al
jne 0x5521f8
mov esi, dword [ebx + 0x420]
jmp 0x552213
cmp al, 1
jne 0x552204
mov esi, dword [ebx + 0x424]
jmp 0x552213
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
mov eax, ebx
call fcn.0055202c
mov esi, eax
cmp dword [ebx + 0x41c], 0
jne 0x552255
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x41c], eax
jmp 0x552255
push 0
push 0x20a
push 0x200
mov eax, ebx
call fcn.00459f14
push eax
lea eax, [ebp - 0x1d]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x552270
mov eax, ebx
call fcn.0055227c
test al, al
jne 0x552270
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x41c]
cmp esi, eax
ja 0x552229
xor eax, eax
mov dword [ebx + 0x41c], eax
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x571c1c
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call sub.user32.dll_GetCursorPos
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
test bl, bl
jne 0x571c57
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00571878
jmp 0x571c97
cmp bl, 1
jne 0x571c6b
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00571980
jmp 0x571c97
cmp bl, 3
jne 0x571c82
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00571a34
jmp 0x571c97
cmp bl, 2
jne 0x571c97
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00571afc
lea eax, [ebp - 0xc]
push eax
call sub.user32.dll_GetCursorPos
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00453090
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push eax
push edi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.0055c6a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4