joyce8/EMBER2024-capa huggingface dataset:
Function at 0x488884
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00458e38
push 0
mov eax, esi
movzx eax, al
push eax
call sub.USER32.DLL_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x4888cb
push 0x100
lea edx, [esp + 4]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, 0x100
call fcn.00459048
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x48e0c8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48e201
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.USER32.DLL_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x42e064]
call fcn.0042f7c8
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x48e1d7
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, SysReAllocStringLen
mov eax, dword [ebp - 0xc]
call fcn.0042f8b0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00459048
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x48e21c
call fcn.0045931c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0042fb2c
test al, al
je 0x48e1c1
lea ecx, [ebp - 4]
mov edx, 0x48e290
mov eax, dword [ebp - 0xc]
call fcn.00430428
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00446698
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x48e1ba
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x48e2a8
mov eax, dword [ebp - 8]
push eax
call fcn.0040c54c
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x6a4448]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e1c1
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e1de
mov eax, dword [ebp - 0xc]
call fcn.004570c8
ret

Function at 0x48e30c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x48e353
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x48e336
add bx, 0x2000
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x48e347
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x48e353
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x4a35b4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4a35ba
ret
Function at 0x4aebd8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4aed95
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x4aed71
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x4aed71
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4aeba4]
call fcn.0045a864
add esp, 4
lea eax, [ebp - 4]
call fcn.0045bbfc
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x6b0cb8]
push eax
call fcn.0069d308
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.0045a69c
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x2c
call fcn.004568fc
mov dword [ebp - 0x38], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
mov dl, 1
mov eax, dword [0x4a1ef4]
call fcn.004ab564
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x4aed4f
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.004ad1e0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
call fcn.004abe84
call fcn.004a65ec
push eax
call sub.GDI32.DLL_SetDIBits
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.004ac1f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aed71
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aed9c
lea eax, [ebp - 8]
mov edx, dword [0x4aeba4]
call fcn.0045a870
lea eax, [ebp - 4]
call fcn.0045bbfc
ret
Function at 0x4b8c70
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongW
mov edi, eax
test bl, bl
je 0x4b8c91
test edi, 0x40000
je 0x4b8cab
test bl, bl
jne 0x4b8d2c
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4b8d2c
push esi
call sub.USER32.DLL_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.USER32.DLL_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x4b8cde
push 0
push esi
call sub.USER32.DLL_ShowWindow
test bl, bl
je 0x4b8cf3
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_SetWindowLongW
jmp 0x4b8d02
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4b8d13
cmp byte [esp + 2], 0
je 0x4b8d2c
cmp byte [esp + 2], 0
je 0x4b8d24
push 6
push esi
call sub.USER32.DLL_ShowWindow
jmp 0x4b8d2c
push 5
push esi
call sub.USER32.DLL_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4b8fd8
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 0x4b8ffe
mov eax, esp
push eax
push 0x4b8fa0
call sub.USER32.DLL_EnumWindows
jmp 0x4b9011
mov eax, esp
push eax
push 0x4b8f80
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
call sub.USER32.DLL_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x4b90d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4b9124]
test bl, 4
je 0x4b90e8
or si, 1
test bl, 8
je 0x4b90f1
or si, 4
test bl, 1
je 0x4b90fa
or si, 8
test bl, 2
je 0x4b9103
or si, 0x10
test bl, 0x10
je 0x4b910c
or si, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4b911c
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4b9128
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4b9164]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4b9143
or bx, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4b9153
or bx, 4
test esi, 0x20000000
je 0x4b915f
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4c2290
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4c22a2
add esp, 0xfffffff0
call fcn.004575fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042a4c8
mov eax, dword [0x6b074c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4c26ec
mov eax, dword [0x6b0750]
mov dword [eax + 4], ebx
mov dword [eax], 0x4c26f8
mov eax, ebx
call fcn.004c2704
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x413644]
call fcn.00457098
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x413644]
call fcn.00457098
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x413644]
call fcn.00457098
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x413644]
call fcn.00457098
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x413644]
call fcn.00457098
mov dword [ebx + 0x78], eax
push 0
call sub.USER32.DLL_GetDC
mov esi, eax
push 0x5a
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x4bcf84
push eax
push 0
push 0
mov eax, dword [0x6b08e0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x49e388]
call fcn.004a46a4
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x49e388]
call fcn.004a46a4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x49e388]
call fcn.004a46a4
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x49e388]
call fcn.004a46a4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x49e388]
call fcn.004a46a4
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004c2c64
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c2ad4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c2ad4
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c2ad4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c2ad4
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c2ad4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4c241d
call fcn.00457654
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4c2874
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c2a21
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4c2a02
mov dl, 1
mov eax, dword [0x415d44]
call fcn.00421e64
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00458e38
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4c29f1
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.004f6484
test al, al
je 0x4c29e4
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4c2a30
lea eax, [ebp - 0x394]
call fcn.0043fcc8
push eax
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x4c29e4
xor eax, eax
push ebp
push 0x4c29dd
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 - 0x314]
push eax
push 0
push 0
push 0x4c2aa0
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x4c29c6
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.00459048
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x4c29c6
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.00459048
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c29e4
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4c28e7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00421da0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2a28
lea eax, [ebp - 0x3a0]
call fcn.00458e28
ret

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

Disassembly:
push ecx
mov eax, dword [0x6b6084]
cmp byte [eax + 0xad], 0
jne 0x4c35f2
cmp dword [0x6b609c], 0
jne 0x4c35b2
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x6a4854]
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExW
mov dword [0x6b609c], eax
cmp dword [0x6b6098], 0
jne 0x4c35cd
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [0x6b6098], eax
cmp dword [0x6b60a0], 0
jne 0x4c35f2
push esp
push 0
push 0
mov eax, dword [0x6a495c]
push eax
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x6b60a0], eax
pop edx
ret
Function at 0x4c3918
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4c392f
add esp, 0xfffffff0
call fcn.004575fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042a4c8
mov eax, dword [0x6b0724]
cmp byte [eax], 0
jne 0x4c395c
push 0
call sub.OLE32.DLL_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x6b0754]
cmp word [eax + 2], 0
jne 0x4c3976
mov eax, dword [0x6b0754]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004c5a10
mov eax, dword [0x6b0758]
cmp word [eax + 2], 0
jne 0x4c3990
mov eax, dword [0x6b0758]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004c5c20
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x49e388]
call fcn.004a46a4
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4c61d0
mov dl, 1
mov eax, dword [0x413644]
call fcn.00457098
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x413644]
call fcn.00457098
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 [0x4a2820]
call fcn.004adb7c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4c3b70
mov eax, dword [0x6b071c]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004ae010
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4c64b8
mov dl, 1
mov eax, dword [0x413644]
call fcn.00457098
mov dword [ebx + 0x98], eax
push 0x100
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x6b071c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0043fb00
test eax, eax
je 0x4c3aa1
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0043f8e4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0043fae4
test eax, eax
je 0x4c3ab9
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.USER32.DLL_CharNextW
push eax
call sub.USER32.DLL_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, 0x100
call fcn.00459048
push ebx
push 0x4c53e0
call fcn.004b90b8
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x6b0724]
cmp byte [eax], 0
jne 0x4c3b0a
mov eax, ebx
call fcn.004c3ce4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004c66e4
mov eax, ebx
call fcn.004c7318
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4c3b67
call fcn.00457654
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c3fb8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4c405a
cmp dword [ebx + 0x94], 0
jne 0x4c4054
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4c3f04
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4c4054
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_GetWindowLongW
test al, 8
je 0x4c401a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4c4054
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.0041e578
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4c4029
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x6b6084]
cmp dword [eax + 0x170], 0
je 0x4c43dd
test bl, bl
jne 0x4c432b
cmp dword [esi + 0x9c], 0
jne 0x4c4320
mov eax, esi
call fcn.004c7168
push eax
push 0x4c4184
call sub.USER32.DLL_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4c42f1
mov eax, dword [0x6b6084]
cmp byte [eax + 0xd3], 0
je 0x4c42f1
mov eax, dword [esi + 0xd8]
call fcn.0045a6a4
mov edi, eax
cmp edi, 0
jl 0x4c42f1
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4c42da
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4c4320
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041e578
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4c4300
inc dword [esi + 0x9c]
jmp 0x4c43dd
cmp dword [esi + 0x9c], 0
jle 0x4c43dd
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4c43dd
cmp dword [esi + 0x44], 0
je 0x4c4388
mov eax, dword [0x6b6084]
cmp byte [eax + 0xd3], 0
je 0x4c4388
mov eax, dword [esi + 0xd8]
call fcn.0045a6a4
mov edi, eax
cmp edi, 0
jl 0x4c4388
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4c4371
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4c43b7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041e578
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4c4397
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4b6f90]
call fcn.0045a864
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4c502c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4c5097
cmp byte [ebx + 0xd3], 0
jne 0x4c5097
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.USER32.DLL_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00458f74
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4c5084
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4c50a4
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00458e38
jmp 0x4c50a4
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00458e38
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4c68cc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4c693a
mov eax, esi
call fcn.004f0400
test al, al
je 0x4c693a
mov eax, dword [ebx + 0x84]
call fcn.004f0054
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4c693a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4c692e
push 0
mov eax, dword [ebx + 0x84]
call fcn.004f0054
push eax
call sub.USER32.DLL_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004e702c
jmp 0x4c693a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004c6704
pop esi
pop ebx
ret
Function at 0x4d638c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00458e20
xor eax, eax
push ebp
push 0x4d6521
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x4d64ef
xor edx, edx
push ebp
push 0x4d64e8
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00458e8c
mov eax, dword [ebp - 8]
test eax, eax
je 0x4d63fb
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4d63fb
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.0045846c
test eax, eax
je 0x4d6404
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4d64bd
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x4d64ac
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00458e8c
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4d6466
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4d6466
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.0045846c
test eax, eax
je 0x4d646f
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.00458ec4
lea ecx, [esi + 2]
mov edx, ebx
call fcn.004563b0
call sub.USER32.DLL_EmptyClipboard
mov eax, dword [ebp - 0x10]
push eax
push 0xd
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d64b3
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x6b0b58]
mov dl, 1
mov eax, dword [0x439054]
call fcn.00443acc
call fcn.00457ba0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6528
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00458e30
ret