joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461908
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 0x46192e
mov eax, esp
push eax
push 0x4618d0
call sub.user32.dll_EnumWindows
jmp 0x461941
mov eax, esp
push eax
push 0x4618b0
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 0x4619e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x461a3c]
test si, 4
je 0x4619fd
or bl, 1
test si, 8
je 0x461a07
or bl, 4
test si, 1
je 0x461a11
or bl, 8
test si, 2
je 0x461a1b
or bl, 0x10
test si, 0x10
je 0x461a25
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x461a34
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x461a40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x461a7c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x461a5a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x461a69
or bl, 4
test esi, 0x20000000
je 0x461a74
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x469ae8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x469afa
add esp, 0xfffffff0
call fcn.00403e24
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423df8
mov eax, dword [0x4dccf8]
mov dword [eax + 4], ebx
mov dword [eax], 0x469e8c
mov eax, dword [0x4dcd08]
mov dword [eax + 4], ebx
mov dword [eax], 0x469e98
mov eax, ebx
call fcn.00469ea4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417e64]
call fcn.00403a90
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417e64]
call fcn.00403a90
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417e64]
call fcn.00403a90
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417e64]
call fcn.00403a90
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417e64]
call fcn.00403a90
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, 0x46534c
push eax
push 0
push 0
mov eax, dword [0x4dcf5c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x427d34]
call fcn.00429588
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x427d34]
call fcn.00429588
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x427d34]
call fcn.00429588
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046a31c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46a1ec
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46a1ec
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46a1ec
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x469c37
call fcn.00403e7c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x469fd0
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 0x46a17b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46a15c
mov dl, 1
mov eax, dword [0x4184d0]
call fcn.00403a90
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a00
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46a14b
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.0045b310
test al, al
je 0x46a13e
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, 0x46a18c
lea eax, [ebp - 0x254]
call fcn.0040a4c0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46a13e
xor eax, eax
push ebp
push 0x46a137
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 0x46a1c4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46a120
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c70
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 0x46a120
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a13e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46a041
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041d148
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 0x46a182
lea eax, [ebp - 0x260]
call fcn.00404a00
ret

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

Disassembly:
push ecx
mov eax, dword [0x4e2cd0]
cmp byte [eax + 0xad], 0
jne 0x46ab65
cmp dword [0x4e2cec], 0
jne 0x46ab26
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46aab0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4e2cec], eax
cmp dword [0x4e2ce8], 0
jne 0x46ab41
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4e2ce8], eax
cmp dword [0x4e2cf0], 0
jne 0x46ab65
push esp
push 0
push 0
push 0x46aa54
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4e2cf0], eax
pop edx
ret
Function at 0x46ad68
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46ad7f
add esp, 0xfffffff0
call fcn.00403e24
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423df8
mov eax, dword [0x4dcf30]
cmp word [eax + 2], 0
jne 0x46ada7
mov eax, dword [0x4dcf30]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046ca70
mov eax, dword [0x4dd06c]
cmp word [eax + 2], 0
jne 0x46adc1
mov eax, dword [0x4dd06c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046cc7c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417e64]
call fcn.00403a90
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417e64]
call fcn.00403a90
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417e64]
call fcn.00403a90
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 [0x428844]
call fcn.00430844
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x46af78
mov eax, dword [0x4dcdb4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00430c18
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46d340
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4dcdb4]
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.0040e1f8
test eax, eax
je 0x46aec8
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409ac8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e22c
test eax, eax
je 0x46aedc
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.00404c70
mov byte [ebx + 0xd4], 0
push ebx
push 0x46c4e4
call fcn.00424f74
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4dcba4]
cmp byte [eax], 0
jne 0x46af2d
mov eax, ebx
call fcn.0046b0bc
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.0046d554
mov eax, ebx
call fcn.0046e0b8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46af6d
call fcn.00403e7c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46b33c
Capabilities:
Enumerate gui resources

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

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4e2cd0]
cmp dword [eax + 0x30], 0
je 0x46b751
test bl, bl
jne 0x46b6a2
cmp dword [esi + 0x9c], 0
jne 0x46b697
mov eax, esi
call fcn.0046df34
push eax
push 0x46b520
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x46b668
mov eax, dword [0x4e2cd0]
call fcn.0046e614
test al, al
je 0x46b668
mov eax, dword [0x4e2cf4]
call fcn.00405d94
mov edi, eax
cmp edi, 0
jl 0x46b668
push 0
mov eax, dword [0x4e2cf4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46b652
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46b697
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041a7dc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46b677
inc dword [esi + 0x9c]
jmp 0x46b751
cmp dword [esi + 0x9c], 0
jle 0x46b751
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x46b751
cmp dword [esi + 0x44], 0
je 0x46b6fd
mov eax, dword [0x4e2cd0]
call fcn.0046e614
test al, al
je 0x46b6fd
mov eax, dword [0x4e2cf4]
call fcn.00405d94
mov edi, eax
cmp edi, 0
jl 0x46b6fd
push 5
mov eax, dword [0x4e2cf4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46b6e7
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46b72c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041a7dc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46b70c
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4e2cf4
mov ecx, 1
mov edx, dword [0x46b500]
call fcn.00405f48
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46c238
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 0x46c2a2
mov eax, ebx
call fcn.0046e614
test al, al
jne 0x46c2a2
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.00404af0
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46c28f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46c2af
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a54
jmp 0x46c2af
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a54
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46d738
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46d7a6
mov eax, esi
call fcn.00455eb4
test al, al
je 0x46d7a6
mov eax, dword [ebx + 0x84]
call fcn.00455b14
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46d7a6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46d79a
push 0
mov eax, dword [ebx + 0x84]
call fcn.00455b14
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044d984
jmp 0x46d7a6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046d574
pop esi
pop ebx
ret

Function at 0x48c6a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x48c6fa
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0048c690
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00489f80
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00489a98
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c701
lea eax, [ebp - 4]
call fcn.00404a00
ret
Function at 0x4ab9ec
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 0x4abaa6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004051e0
mov eax, dword [0x4dcc6c]
cmp byte [eax], 0
je 0x4aba5b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405554
mov eax, dword [ebx]
call fcn.00405380
push eax
mov eax, dword [ebx]
call fcn.00405370
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405380
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405554
jmp 0x4aba8d
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.00409cb4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405360
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4abaad
lea eax, [ebp - 0x3f0]
call fcn.00404a00
ret

Function at 0x4abab4
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.00409cb4
add esp, 0x3ec
pop ebx
ret

Function at 0x4abc74
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 0x4abd3c
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00461a80
mov ebx, eax
movzx edx, word [esi + 4]
mov eax, ebp
call fcn.004ab930
mov edi, eax
test edi, edi
je 0x4abcd5
movzx eax, byte [0x4abd48]
cmp al, bl
jne 0x4abcd5
mov edx, edi
mov eax, ebp
call fcn.004ab868
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4abd3c
cmp byte [ebp + 0x161], 2
jne 0x4abd00
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4dd1a0]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.0044ed54
test eax, eax
jne 0x4abd3c
jmp 0x4abd37
mov edx, dword [0x4dd02c]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x4abd37
test byte [eax + 0x358], 8
jne 0x4abd37
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4dd02c]
mov eax, edx
mov edx, 0xb006
call fcn.0044ed54
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4b1db4
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 [0x4dd1a0]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x4b1e5a
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 0x4b1df9
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4b1e35
jmp 0x4b1dfd
pop edx
pop eax
jge 0x4b1e35
mov eax, dword [0x4dd1a0]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004aca70
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4b1e5a
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4b1e5a
cmp dword [ebx + 0x11c], 0
je 0x4b1e5a
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0043d3d8
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 0x4b8d14
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 0x4b8dce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004051e0
mov eax, dword [0x4dcc6c]
cmp byte [eax], 0
je 0x4b8d83
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405554
mov eax, dword [ebx]
call fcn.00405380
push eax
mov eax, dword [ebx]
call fcn.00405370
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405380
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405554
jmp 0x4b8db5
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.00409cb4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405360
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8dd5
lea eax, [ebp - 0x3f0]
call fcn.00404a00
ret

Function at 0x4bbebc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4bbf16
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.004bbf20
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 0x4bbf1d
ret
Function at 0x4c2398
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 0x4c23ce
jmp 0x4c2474
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 0x4c2412
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x17c], 0
je 0x4c2412
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x17c]
mov eax, dword [eax + 0x14]
jmp 0x4c2422
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x178]
test edx, edx
je 0x4c2422
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4c243b
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.004bed24
jmp 0x4c2474
mov dl, 1
mov eax, dword [0x428098]
call fcn.0042a298
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.0042ad34
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [esi + 0x10]
call fcn.00429d64
mov edx, esp
mov eax, esi
call fcn.0042a9a8
mov eax, esi
call fcn.00403ac0
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4c4ca4
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00455b14
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x2c1], 0
xor edx, edx
mov eax, ebx
call fcn.0044d984
pop ebx
ret
Function at 0x4cf31c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4cf48e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 0xc]
test byte [eax + 0x1c], 0x10
jne 0x4cf473
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 4]
lea eax, [ebp - 0x10d]
call fcn.00409cb4
mov dl, 1
mov eax, dword [0x4a5e6c]
call fcn.004a5ec4
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x4187d4]
call fcn.00403a90
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x94]
call fcn.004a5f40
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4cf46f
mov dl, 1
mov eax, dword [0x4a7408]
call fcn.004a7470
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x34], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x94]
mov edx, 0x4cf4a4
call fcn.004a66b4
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404d18
xor eax, eax
push ebp
push 0x4cf468
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.004a7778
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004cf4ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cf46f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x94]
call fcn.00403ac0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.00403ac0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.00403ac0
ret
movzx ebx, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cf495
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a24
ret