joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405754
Capabilities:
Clear file content

Disassembly:
add esp, 0xffffffe4
push 0x1c
lea edx, [esp + 4]
push edx
push eax
call sub.KERNEL32.DLL_SetEndOfFile
cmp dword [esp + 0x10], 0x1000
jne 0x405774
mov eax, dword [esp + 4]
jmp 0x405776
xor eax, eax
add esp, 0x1c
ret

Function at 0x405840
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
push 0x4059f4
call sub.KERNEL32.DLL_LeaveCriticalSection
mov esi, eax
test esi, esi
je 0x4058ac
push 0x405a04
push esi
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4058ac
push 0x105
lea eax, [ebp - 0x25b]
push eax
mov eax, dword [ebp - 4]
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4058ac
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x25b]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_MultiByteToWideChar
jmp 0x4059e8
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x4058f5
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x5c
jne 0x4059e8
mov eax, dword [ebp - 4]
add eax, 2
call fcn.00405814
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
je 0x4059e8
mov eax, dword [ebp - 0x10]
inc eax
call fcn.00405814
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
je 0x4059e8
jmp 0x4058fe
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
sub ebx, dword [ebp - 4]
lea eax, [ebx + 1]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x25b]
push eax
call sub.KERNEL32.DLL_MultiByteToWideChar
jmp 0x4059c8
mov eax, dword [ebp - 0x10]
inc eax
call fcn.00405814
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x14]
sub edi, dword [ebp - 0x10]
mov eax, edi
add eax, ebx
inc eax
cmp eax, 0x105
jg 0x4059e8
inc edi
push edi
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x25b]
add eax, ebx
push eax
call sub.KERNEL32.DLL_MultiByteToWideChar
lea eax, [ebp - 0x156]
push eax
lea eax, [ebp - 0x25b]
push eax
call sub.KERNEL32.DLL_GlobalHandle
mov esi, eax
cmp esi, 0xffffffff
je 0x4059e8
push esi
call sub.KERNEL32.DLL_GlobalLock
lea eax, [ebp - 0x12a]
push eax
call sub.KERNEL32.DLL_ReadFile
lea edx, [ebx + 1]
add eax, edx
inc eax
cmp eax, 0x105
jg 0x4059e8
mov byte [ebp + ebx - 0x25b], 0x5c
mov eax, 0x105
sub eax, ebx
dec eax
push eax
lea eax, [ebp - 0x12a]
push eax
lea eax, [ebp - 0x25b]
add eax, ebx
inc eax
push eax
call sub.KERNEL32.DLL_MultiByteToWideChar
lea eax, [ebp - 0x12a]
push eax
call sub.KERNEL32.DLL_ReadFile
inc eax
add ebx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
jne 0x40591d
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x25b]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_MultiByteToWideChar
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4085ae
Capabilities:
Get keyboard layout

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00404620
push eax
mov eax, esi
call fcn.00404820
push eax
mov eax, ebx
call fcn.00404620
push eax
mov eax, ebx
call fcn.00404820
push eax
push 0
push 0x400
call sub.user32.dll_GetKeyboardLayoutList
sub eax, 2
pop esi
pop ebx
ret

Function at 0x4085c0
Capabilities:
Get keyboard layout

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00404620
push eax
mov eax, esi
call fcn.00404820
push eax
mov eax, ebx
call fcn.00404620
push eax
mov eax, ebx
call fcn.00404820
push eax
push 1
push 0x400
call sub.user32.dll_GetKeyboardLayoutList
sub eax, 2
pop esi
pop ebx
ret

Function at 0x408610
Capabilities:
Get keyboard layout

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
push ebx
push edi
push ebx
push esi
push 1
push 0x400
call sub.user32.dll_GetKeyboardLayoutList
sub eax, 2
pop edi
pop esi
pop ebx
ret

Function at 0x40861d
Capabilities:
Get keyboard layout

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
push ebx
push edi
push ebx
push esi
push 1
push 0x400
call sub.user32.dll_GetKeyboardLayoutList
sub eax, 2
pop edi
pop esi
pop ebx
ret

Function at 0x40c960
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40ca36
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004043f8
lea eax, [ebp - 8]
call fcn.00404870
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404820
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ca20
mov eax, ebx
call fcn.00402aa8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ca19
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404820
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ca03
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ca48
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ca03
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ca20
mov eax, dword [ebp - 0x10]
call fcn.00402ad8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ca3d
lea eax, [ebp - 8]
call fcn.00404360
ret
Function at 0x40cec0
Capabilities:
Get keyboard layout

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov edi, edx
mov ebp, eax
xor eax, eax
mov dword [esp], eax
test ebp, ebp
je 0x40cf73
cmp byte [ebp], 0
je 0x40cf73
test edi, edi
je 0x40cf73
cmp byte [edi], 0
je 0x40cf73
mov eax, ebp
call fcn.00408fbc
mov dword [esp + 4], eax
mov eax, edi
call fcn.00408fbc
mov esi, eax
mov edx, edi
mov eax, ebp
call fcn.00409170
mov dword [esp], eax
jmp 0x40cf59
mov edx, dword [esp]
sub edx, ebp
mov eax, ebp
call fcn.0040cae8
mov ebx, eax
cmp bl, 2
je 0x40cf41
push esi
push edi
push esi
mov eax, dword [esp + 0xc]
push eax
push 0
push 0x400
call sub.user32.dll_GetKeyboardLayoutList
cmp eax, 2
je 0x40cf73
cmp bl, 1
jne 0x40cf49
inc dword [esp]
inc dword [esp]
mov edx, edi
mov eax, dword [esp]
call fcn.00409170
mov dword [esp], eax
cmp dword [esp], 0
je 0x40cf6e
mov eax, dword [esp]
sub eax, ebp
mov edx, dword [esp + 4]
sub edx, eax
cmp esi, edx
jbe 0x40cf15
xor eax, eax
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40da2c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
test dl, dl
je 0x40da3a
add esp, 0xfffffff0
call fcn.00403868
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.00403500
mov dword [esi + 0xc], 0xffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
call sub.user32.dll_GetKeyboardState
mov dword [esi + 0x10], eax
push 0
push 0
push 0
push 0
call sub.user32.dll_GetKeyboardState
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0xffffffff
mov dl, 1
mov eax, dword [0x40817c]
call fcn.00403500
mov dword [esi + 0x20], eax
mov eax, esi
test bl, bl
je 0x40da99
call fcn.004038c0
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
ret
Function at 0x41eb64
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 4], edx
call sub.user32.dll_GetWindowDC
mov edx, dword [0x476cb0]
cmp eax, dword [edx]
jne 0x41eb8b
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call dword [ebx + 8]
jmp 0x41ec9e
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.user32.dll_GetKeyboardState
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x41ec86
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x47786c
call sub.user32.dll_GetMenuItemID
xor eax, eax
push ebp
push 0x41ec68
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4753f8], 0
jne 0x41ebdb
mov dl, 1
mov eax, dword [0x415bcc]
call fcn.00403500
mov dword [0x4753f8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0xc]
mov eax, dword [0x4753f8]
call fcn.00418128
call fcn.0041e6f8
cmp word [0x4753e6], 0
je 0x41ec0e
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov eax, dword [0x4753e8]
call dword [0x4753e4]
push 0x47786c
call sub.user32.dll_PostQuitMessage
xor eax, eax
push ebp
push 0x41ec49
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetForegroundWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ec50
push 0x47786c
call sub.user32.dll_GetMenuItemID
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4213e8
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 0x4213ee
ret

Function at 0x422bec
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x422c89
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x422c89
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x10]
mov dl, byte [0x422c94]
mov eax, ebx
call fcn.00423054
mov eax, dword [ebx + 0x14]
call fcn.004228ec
call fcn.00421c68
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_FillRect
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x18]
call fcn.00421c68
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetClipboardData
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
add ecx, edi
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00416e50
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4230f0
Capabilities:
Enumerate gui resources
Read clipboard data

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0xc]
call fcn.0042213c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x18]
call fcn.00421c68
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetClipboardData
pop ebx
ret
Function at 0x42311c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x10]
call fcn.0042263c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x10]
movzx eax, byte [eax + 0x18]
movzx eax, word [eax*2 + 0x4756b8]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetClassNameA
pop ebx
ret

Function at 0x42314c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x14]
call fcn.00422928
push eax
call sub.user32.dll_GetDesktopWindow
mov eax, dword [ebx + 0x14]
call fcn.00422928
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x14]
call fcn.00422a08
test al, al
jne 0x42319f
mov eax, dword [ebx + 0x14]
call fcn.004228ec
call fcn.00421c68
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_FillRect
push 2
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_FindWindowA
pop ebx
ret
mov eax, dword [ebx + 0x14]
call fcn.004228ec
call fcn.00421c68
not eax
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_FillRect
push 1
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_FindWindowA
pop ebx
ret
Function at 0x423388
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x18], eax
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4234d6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
push eax
push 0x18
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_DefMDIChildProcA
test bl, bl
je 0x4233ea
push 0
push 1
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateBitmap
mov dword [ebp - 0x10], eax
jmp 0x42344c
push 0
call fcn.00406dc8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4233ff
call fcn.004232d0
xor eax, eax
push ebp
push 0x423445
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42342c
call fcn.004232d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42344c
mov eax, dword [ebp - 0x14]
push eax
push 0
call fcn.00407010
ret
cmp dword [ebp - 0x10], 0
je 0x4234b6
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_EnumWindows
mov ebx, eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_EnumWindows
mov esi, eax
push 0xcc0020
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_GetDCEx
test ebx, ebx
je 0x4234a8
push ebx
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_EnumWindows
test esi, esi
je 0x4234b6
push esi
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_EnumWindows
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4234dd
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_ActivateKeyboardLayout
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_ActivateKeyboardLayout
ret
Function at 0x423a74
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffbfc
mov edi, eax
xor esi, esi
mov word [esp], 0x300
test edi, edi
je 0x423ac3
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov ebx, eax
push edi
push ebx
call sub.user32.dll_EnumWindows
mov edi, eax
lea eax, [esp + 4]
push eax
push 0x100
push 0
push ebx
call sub.user32.dll_CallWindowProcA
mov word [esp + 2], ax
push edi
push ebx
call sub.user32.dll_EnumWindows
push ebx
call sub.user32.dll_ActivateKeyboardLayout
jmp 0x423ad6
mov word [esp + 2], cx
mov eax, edx
lea edx, [esp + 4]
shl ecx, 2
call fcn.00402cc8
cmp word [esp + 2], 0
je 0x423b09
cmp word [esp + 2], 0x10
jne 0x423af1
mov eax, esp
call fcn.004239dc
test al, al
jne 0x423aff
movzx edx, word [esp + 2]
lea eax, [esp + 4]
call fcn.0042386c
mov eax, esp
push eax
call sub.gdi32.dll_CreatePalette
mov esi, eax
mov eax, esi
add esp, 0x404
pop edi
pop esi
pop ebx
ret
Function at 0x425c1c
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, esi
call fcn.00425ab8
lea edx, [ebp - 0x22]
mov ecx, 0x16
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x22], 0x9ac6cdd7
jne 0x425c5e
lea eax, [ebp - 0x22]
call fcn.004240e0
cmp ax, word [ebp - 0xe]
je 0x425c63
call fcn.00423270
sub dword [ebp - 8], 0x16
mov eax, dword [ebp - 8]
call fcn.00402aa8
mov dword [ebp - 0xc], eax
mov ebx, dword [esi + 0x28]
xor eax, eax
push ebp
push 0x425d8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [esi + 0x28]
mov dx, word [ebp - 0x14]
mov word [eax + 0x18], dx
cmp word [ebp - 0x14], 0
jne 0x425ca9
mov word [ebp - 0x14], 0x60
movzx eax, word [ebp - 0x14]
push eax
push 0x9ec
movsx eax, word [ebp - 0x18]
movsx edx, word [ebp - 0x1c]
sub eax, edx
push eax
call sub.user32.dll_RegisterClipboardFormatA
mov dword [ebx + 0xc], eax
movzx eax, word [ebp - 0x14]
push eax
push 0x9ec
movsx eax, word [ebp - 0x16]
movsx edx, word [ebp - 0x1a]
sub eax, edx
push eax
call sub.user32.dll_RegisterClipboardFormatA
mov dword [ebx + 0x10], eax
mov dword [ebp - 0x32], 8
xor eax, eax
mov dword [ebp - 0x2e], eax
xor eax, eax
mov dword [ebp - 0x2a], eax
xor eax, eax
mov dword [ebp - 0x26], eax
lea eax, [ebp - 0x32]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetCursorPos
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x425d1a
call fcn.00423270
lea eax, [ebp - 0x96]
push eax
push 0x64
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_CreatePopupMenu
mov dword [ebp - 0x32], 8
mov eax, dword [ebp - 0x76]
mov dword [ebp - 0x2e], eax
mov eax, dword [ebp - 0x72]
mov dword [ebp - 0x2a], eax
xor eax, eax
mov dword [ebp - 0x26], eax
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_AdjustWindowRectEx
lea eax, [ebp - 0x32]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetCursorPos
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x425d6e
call fcn.00423270
mov byte [esi + 0x2c], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425d92
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00402ad8
ret
Function at 0x426900
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
test esi, esi
je 0x4269b6
cmp word [ecx + 0x26], 8
ja 0x4269b6
lea edx, [ebp - 0x410]
mov ecx, 0xff
mov eax, dword [ebp - 4]
call fcn.00423b18
mov ebx, eax
test ebx, ebx
je 0x4269b6
push 0
call fcn.00406dc8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_EnumWindows
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4269af
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x410]
push eax
push ebx
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetActiveWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4269b6
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_ActivateKeyboardLayout
mov eax, dword [ebp - 8]
push eax
push 0
call fcn.00407010
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4385b0
Capabilities:
Read clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, edx
mov esi, eax
cmp dword [esi + 0x180], 0
je 0x4386a8
mov edi, dword [ebx]
cmp edi, 0x7b
jne 0x4385f0
cmp dword [esi + 0x30], 0
je 0x4385f0
mov eax, dword [ebx + 8]
push eax
mov ecx, dword [ebx + 4]
mov edx, edi
mov eax, dword [esi + 0x30]
call fcn.004354f0
mov ebp, eax
mov dword [ebx + 0xc], ebp
test ebp, ebp
jne 0x4386b1
mov edi, dword [ebx]
mov eax, edi
add eax, 0xfffffece
sub eax, 7
jb 0x43860a
add eax, 0xffff4407
sub eax, 7
jb 0x438624
jmp 0x438663
mov ebp, dword [ebx + 8]
push ebp
mov eax, dword [ebx + 4]
push eax
add edi, 0xbc00
push edi
push ebp
call fcn.00407038
mov dword [ebx + 0xc], eax
jmp 0x43868f
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x18]
call fcn.00421c68
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetClipboardData
mov eax, dword [esi + 0x170]
call fcn.004228ec
call fcn.00421c68
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_FillRect
mov eax, dword [esi + 0x170]
call fcn.00422928
mov dword [ebx + 0xc], eax
jmp 0x43868f
cmp edi, dword [0x477b30]
jne 0x438670
mov dword [ebx + 0xc], esi
jmp 0x43868f
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push eax
push edi
mov eax, dword [esi + 0x180]
push eax
mov eax, dword [esi + 0x174]
push eax
call fcn.00406c70
mov dword [ebx + 0xc], eax
mov eax, dword [ebx]
cmp eax, 0xc
jne 0x4386b1
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00433f24
jmp 0x4386b1
mov edx, ebx
mov eax, esi
call fcn.00435750
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x438bc8
Capabilities:
Enumerate gui resources

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 0x438be4
cmp dword [esi + 4], 0
je 0x438c11
test byte [ebx + 0x55], 1
jne 0x438c03
mov eax, ebx
call fcn.004377d4
test eax, eax
jne 0x438c03
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x438d21
mov edx, esi
mov eax, ebx
call fcn.004386ec
jmp 0x438d21
push 0
call fcn.00406dc8
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 fcn.00407010
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.user32.dll_EnumWindows
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x438d1a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043aa70
push eax
call fcn.00406c60
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004354f0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00438bc8
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.0043aa70
push eax
call fcn.00406d50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438d21
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ActivateKeyboardLayout
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_CharToOemA
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e6f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff0
mov ebx, eax
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x43e7d3
mov eax, dword [esi + 0x14]
cmp byte [eax + 0x10], 1
jne 0x43e74e
mov edx, 2
mov eax, esi
call fcn.0043c724
mov dword [esp], eax
mov eax, dword [ebx + 0xc]
sar eax, 1
jns 0x43e724
adc eax, 0
mov edx, dword [ebx + 0x54]
sub edx, eax
mov dword [esp + 4], edx
mov edx, 2
mov eax, dword [ebx + 0x60]
call fcn.0043c790
add eax, dword [esp]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
add eax, dword [ebx + 0xc]
mov dword [esp + 0xc], eax
jmp 0x43e78f
mov eax, dword [ebx + 0xc]
sar eax, 1
jns 0x43e758
adc eax, 0
mov edx, dword [ebx + 0x50]
sub edx, eax
mov dword [esp], edx
mov edx, 1
mov eax, esi
call fcn.0043c724
mov dword [esp + 4], eax
mov eax, dword [esp]
add eax, dword [ebx + 0xc]
mov dword [esp + 8], eax
mov edx, 1
mov eax, dword [ebx + 0x60]
call fcn.0043c790
add eax, dword [esp + 4]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x10]
call fcn.00422928
push eax
mov eax, dword [ebx + 0x58]
push eax
call sub.user32.dll_EnumWindows
mov esi, eax
push 0x5a0049
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
sub ecx, edx
push ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
sub ecx, eax
push ecx
push edx
push eax
mov eax, dword [ebx + 0x58]
push eax
call sub.user32.dll_DrawTextA
push esi
mov eax, dword [ebx + 0x58]
push eax
call sub.user32.dll_EnumWindows
add esp, 0x10
pop esi
pop ebx
ret