joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e928
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp + 1], cl
mov byte [esp], dl
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
mov eax, dword [0x4e3cd4]
cmp esi, dword [eax + 0x30]
jne 0x45e94f
or edi, 0x8000000
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x45e97e
mov eax, dword [0x4e3cd4]
cmp esi, dword [eax + 0x30]
jne 0x45e97a
mov eax, dword [0x4e3cd4]
cmp byte [eax + 0x5b], 0
jne 0x45e97e
xor eax, eax
jmp 0x45e980
mov al, 1
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
or al, bl
je 0x45e995
push 0
push esi
call sub.user32.dll_ShowWindow
cmp byte [esp], 0
je 0x45e9ac
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x45e9bb
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp + 1]
and al, byte [esp + 2]
jne 0x45e9ca
test bl, bl
je 0x45e9e0
test bl, bl
je 0x45e9d8
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x45e9e0
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x45ec84
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x45ecaa
mov eax, esp
push eax
push 0x45ec4c
call sub.user32.dll_EnumWindows
jmp 0x45ecbd
mov eax, esp
push eax
push 0x45ec2c
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x45ed64
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45edb8]
test si, 4
je 0x45ed79
or bl, 1
test si, 8
je 0x45ed83
or bl, 4
test si, 1
je 0x45ed8d
or bl, 8
test si, 2
je 0x45ed97
or bl, 0x10
test si, 0x10
je 0x45eda1
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45edb0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45edbc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45edf8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45edd6
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45ede5
or bl, 4
test esi, 0x20000000
je 0x45edf0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x466cc4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x466cd6
add esp, 0xfffffff0
call fcn.00404648
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422e68
mov eax, dword [0x4de6ac]
mov dword [eax + 4], ebx
mov dword [eax], 0x467068
mov eax, dword [0x4de6bc]
mov dword [eax + 4], ebx
mov dword [eax], 0x467074
mov eax, ebx
call fcn.00467080
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419568]
call fcn.004042f4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419568]
call fcn.004042f4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419568]
call fcn.004042f4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419568]
call fcn.004042f4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419568]
call fcn.004042f4
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, 0x462730
push eax
push 0
push 0
mov eax, dword [0x4de90c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426e14]
call fcn.00428668
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426e14]
call fcn.00428668
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426e14]
call fcn.00428668
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004674b0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x467380
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x467380
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x467380
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x466e13
call fcn.004046a0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x467164
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 0x46730f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4672f0
mov dl, 1
mov eax, dword [0x419bd4]
call fcn.004042f4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405224
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4672df
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.0045944c
test al, al
je 0x4672d2
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, 0x467320
lea eax, [ebp - 0x254]
call fcn.0040b220
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4672d2
xor eax, eax
push ebp
push 0x4672cb
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 0x467358
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4672b4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405494
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 0x4672b4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405494
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4672d2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4671d5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041e558
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 0x467316
lea eax, [ebp - 0x260]
call fcn.00405224
ret

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

Disassembly:
push ecx
mov eax, dword [0x4e3cd4]
cmp byte [eax + 0xad], 0
jne 0x467cf9
cmp dword [0x4e3cf0], 0
jne 0x467cba
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x467c44
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4e3cf0], eax
cmp dword [0x4e3cec], 0
jne 0x467cd5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4e3cec], eax
cmp dword [0x4e3cf4], 0
jne 0x467cf9
push esp
push 0
push 0
push 0x467be8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4e3cf4], eax
pop edx
ret
Function at 0x467ecc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x467ee3
add esp, 0xfffffff0
call fcn.00404648
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422e68
mov eax, dword [0x4de8e8]
cmp word [eax + 2], 0
jne 0x467f0b
mov eax, dword [0x4de8e8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00469ae4
mov eax, dword [0x4dea14]
cmp word [eax + 2], 0
jne 0x467f25
mov eax, dword [0x4dea14]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00469cf0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419568]
call fcn.004042f4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419568]
call fcn.004042f4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x419568]
call fcn.004042f4
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x427924]
call fcn.0042fbd0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4680dc
mov eax, dword [0x4de768]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ffa4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46a3c4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4de768]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040f118
test eax, eax
je 0x46802c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a828
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f14c
test eax, eax
je 0x468040
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00405494
mov byte [ebx + 0xd4], 0
push ebx
push 0x4695f4
call fcn.00423ff8
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4de538]
cmp byte [eax], 0
jne 0x468091
mov eax, ebx
call fcn.00468220
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0046a59c
mov eax, ebx
call fcn.0046b100
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4680d1
call fcn.004046a0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4684a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46853f
cmp dword [ebx + 0x94], 0
jne 0x468539
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x468428
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x468539
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 0x4684ff
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x468539
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.0041bc38
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46850e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x468758
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4e3cd4]
cmp dword [eax + 0x30], 0
je 0x4688b5
test bl, bl
jne 0x468806
cmp dword [esi + 0x9c], 0
jne 0x4687fb
mov eax, esi
call fcn.0046af7c
push eax
push 0x468684
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4687cc
mov eax, dword [0x4e3cd4]
call fcn.0046b65c
test al, al
je 0x4687cc
mov eax, dword [0x4e3cf8]
call fcn.004067a0
mov edi, eax
cmp edi, 0
jl 0x4687cc
push 0
mov eax, dword [0x4e3cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4687b6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4687fb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041bc38
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4687db
inc dword [esi + 0x9c]
jmp 0x4688b5
cmp dword [esi + 0x9c], 0
jle 0x4688b5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4688b5
cmp dword [esi + 0x44], 0
je 0x468861
mov eax, dword [0x4e3cd4]
call fcn.0046b65c
test al, al
je 0x468861
mov eax, dword [0x4e3cf8]
call fcn.004067a0
mov edi, eax
cmp edi, 0
jl 0x468861
push 5
mov eax, dword [0x4e3cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46884b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x468890
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041bc38
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x468870
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4e3cf8
mov ecx, 1
mov edx, dword [0x468664]
call fcn.00406954
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x469348
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4693b2
mov eax, ebx
call fcn.0046b65c
test al, al
jne 0x4693b2
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.00405314
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46939f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4693bf
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405278
jmp 0x4693bf
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405278
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46a780
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46a7ee
mov eax, esi
call fcn.004540a4
test al, al
je 0x46a7ee
mov eax, dword [ebx + 0x84]
call fcn.00453cf4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46a7ee
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46a7e2
push 0
mov eax, dword [ebx + 0x84]
call fcn.00453cf4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044bc7c
jmp 0x46a7ee
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046a5bc
pop esi
pop ebx
ret

Function at 0x472220
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 0x4722da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405a2c
mov eax, dword [0x4de614]
cmp byte [eax], 0
je 0x47228f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405dc0
mov eax, dword [ebx]
call fcn.00405bec
push eax
mov eax, dword [ebx]
call fcn.00405bdc
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405bec
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405dc0
jmp 0x4722c1
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.0040aa14
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405bcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4722e1
lea eax, [ebp - 0x3f0]
call fcn.00405224
ret

Function at 0x4722e8
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.0040aa14
add esp, 0x3ec
pop ebx
ret
Function at 0x4724a8
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 0x472570
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045edfc
mov ebx, eax
movzx edx, word [esi + 4]
mov eax, ebp
call fcn.00472164
mov edi, eax
test edi, edi
je 0x472509
movzx eax, byte [0x47257c]
cmp al, bl
jne 0x472509
mov edx, edi
mov eax, ebp
call fcn.0047209c
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x472570
cmp byte [ebp + 0x161], 2
jne 0x472534
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4deb4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.0044d04c
test eax, eax
jne 0x472570
jmp 0x47256b
mov edx, dword [0x4de9dc]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x47256b
test byte [eax + 0x358], 8
jne 0x47256b
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4de9dc]
mov eax, edx
mov edx, 0xb006
call fcn.0044d04c
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x478890
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 [0x4deb4c]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x478936
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 0x4788d5
cmp eax, dword [esp]
pop edx
pop eax
jae 0x478911
jmp 0x4788d9
pop edx
pop eax
jge 0x478911
mov eax, dword [0x4deb4c]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004732ac
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x478936
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x478936
cmp dword [ebx + 0x11c], 0
je 0x478936
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0043b428
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
Function at 0x47f7f0
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 0x47f8aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405a2c
mov eax, dword [0x4de614]
cmp byte [eax], 0
je 0x47f85f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405dc0
mov eax, dword [ebx]
call fcn.00405bec
push eax
mov eax, dword [ebx]
call fcn.00405bdc
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405bec
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405dc0
jmp 0x47f891
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.0040aa14
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405bcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f8b1
lea eax, [ebp - 0x3f0]
call fcn.00405224
ret

Function at 0x482a18
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x482a72
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x310], ecx
mov dword [esi + 0x314], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x304], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x310]
mov eax, esi
call fcn.00482a7c
mov eax, dword [esi + 0x310]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x6c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482a79
ret

Function at 0x4892d0
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 0x489306
jmp 0x4893ac
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 0x48934a
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x48934a
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x48935a
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x48935a
mov eax, dword [edx + 0x14]
test eax, eax
je 0x489373
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.00485c5c
jmp 0x4893ac
mov dl, 1
mov eax, dword [0x427178]
call fcn.004292f4
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00429cc8
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.00428e18
mov edx, esp
mov eax, esi
call fcn.00429a04
mov eax, esi
call fcn.00404324
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x48bbdc
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00453cf4
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x2c1], 0
xor edx, edx
mov eax, ebx
call fcn.0044bc7c
pop ebx
ret