joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba998
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4baa40
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4baa13
mov edx, ebx
mov eax, dword [0x454374]
call fcn.0045c72c
test al, al
je 0x4baa03
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0045c644
call fcn.0040616c
jmp 0x4baa47
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4ba9cb
mov ecx, dword [0x59a4d4]
mov dl, 1
mov eax, dword [0x4ba320]
call fcn.00421928
call fcn.00406078
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4baa47
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4baa50
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4baaac
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov dx, 2
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4baab3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4baabc
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x4bab11
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bab18
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4bab88
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4babfd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004ba40c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0045c708
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4babe7
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bac04
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4bac0c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4bac81
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004ba40c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x68]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4bac6b
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bac88
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4bacdc
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4bad20
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bad27
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4c20cc
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 0x4c20ed
test edi, 0x40000
je 0x4c2107
test bl, bl
jne 0x4c2188
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4c2188
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 0x4c213a
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4c214f
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x4c215e
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4c216f
cmp byte [esp + 2], 0
je 0x4c2188
cmp byte [esp + 2], 0
je 0x4c2180
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4c2188
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4c2434
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 0x4c245a
mov eax, esp
push eax
push 0x4c23fc
call sub.user32.dll_EnumWindows
jmp 0x4c246d
mov eax, esp
push eax
push 0x4c23dc
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 0x4c2530
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4c2580]
test bl, 4
je 0x4c2544
or si, 1
test bl, 8
je 0x4c254d
or si, 4
test bl, 1
je 0x4c2556
or si, 8
test bl, 2
je 0x4c255f
or si, 0x10
test bl, 0x10
je 0x4c2568
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c2578
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4c2584
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4c25c0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c259f
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c25af
or bx, 4
test esi, 0x20000000
je 0x4c25bb
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4cb0b8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4cb0ca
add esp, 0xfffffff0
call fcn.00405438
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044a6c0
mov eax, dword [0x59a514]
mov dword [eax + 4], ebx
mov dword [eax], 0x4cb4f4
mov eax, dword [0x59a528]
mov dword [eax + 4], ebx
mov dword [eax], 0x4cb500
mov eax, ebx
call fcn.004cb50c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x432b54]
call fcn.00404ed8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x432b54]
call fcn.00404ed8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x432b54]
call fcn.00404ed8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x432b54]
call fcn.00404ed8
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x432b54]
call fcn.00404ed8
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, 0x4c5f30
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4516c0]
call fcn.00457c24
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4516c0]
call fcn.00457c24
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4516c0]
call fcn.00457c24
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x4516c0]
call fcn.00457c24
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4516c0]
call fcn.00457c24
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004cba64
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4cb8d4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4cb8d4
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4cb8d4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4cb8d4
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4cb8d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4cb241
call fcn.00405490
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4cb674
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 0x4cb81f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4cb800
mov dl, 1
mov eax, dword [0x435468]
call fcn.00441f10
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00406928
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4cb7ef
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.0048438c
test al, al
je 0x4cb7e2
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, 0x4cb830
lea eax, [ebp - 0x394]
call fcn.0041dbbc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4cb7e2
xor eax, eax
push ebp
push 0x4cb7db
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4cb8a0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4cb7c4
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407414
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 0x4cb7c4
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407414
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb7e2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4cb6e5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.00441e4c
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 0x4cb826
lea eax, [ebp - 0x3a0]
call fcn.00406928
ret

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

Disassembly:
push ecx
mov eax, dword [0x5a0284]
cmp byte [eax + 0xad], 0
jne 0x4cc3ee
cmp dword [0x5a029c], 0
jne 0x4cc3ae
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x5977f4]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5a029c], eax
cmp dword [0x5a0298], 0
jne 0x4cc3c9
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [0x5a0298], eax
cmp dword [0x5a02a0], 0
jne 0x4cc3ee
push esp
push 0
push 0
mov eax, dword [0x5977f0]
push eax
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x5a02a0], eax
pop edx
ret
Function at 0x4cc704
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4cc71b
add esp, 0xfffffff0
call fcn.00405438
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044a6c0
mov eax, dword [0x59a2a0]
cmp byte [eax], 0
jne 0x4cc748
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x59a8cc]
cmp word [eax + 2], 0
jne 0x4cc762
mov eax, dword [0x59a8cc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ce7cc
mov eax, dword [0x59aafc]
cmp word [eax + 2], 0
jne 0x4cc77c
mov eax, dword [0x59aafc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ce9d0
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x4516c0]
call fcn.00457c24
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4cef48
mov dl, 1
mov eax, dword [0x432b54]
call fcn.00404ed8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x432b54]
call fcn.00404ed8
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 [0x455dbc]
call fcn.00461144
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4cc95c
mov eax, dword [0x59a644]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004615d8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4cf230
mov dl, 1
mov eax, dword [0x432b54]
call fcn.00404ed8
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x59a644]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041d9bc
test eax, eax
je 0x4cc88d
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041d6f4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041d9a0
test eax, eax
je 0x4cc8a5
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, pe_nt_image_headers32
call fcn.00407414
push ebx
push 0x4ce1b8
call fcn.004c2514
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x59a2a0]
cmp byte [eax], 0
jne 0x4cc8f6
mov eax, ebx
call fcn.004ccad0
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.004cf45c
mov eax, ebx
call fcn.004d008c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4cc953
call fcn.00405490
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ccd9c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4cce3e
cmp dword [ebx + 0x94], 0
jne 0x4cce38
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4ccce8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4cce38
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 0x4ccdfe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4cce38
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.0043dff8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4cce0d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5a0284]
cmp dword [eax + 0x170], 0
je 0x4cd1c1
test bl, bl
jne 0x4cd10f
cmp dword [esi + 0x9c], 0
jne 0x4cd104
mov eax, esi
call fcn.004cfedc
push eax
push 0x4ccf68
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4cd0d5
mov eax, dword [0x5a0284]
cmp byte [eax + 0xd3], 0
je 0x4cd0d5
mov eax, dword [esi + 0xd8]
call fcn.00408340
mov edi, eax
cmp edi, 0
jl 0x4cd0d5
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 0x4cd0be
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4cd104
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043dff8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4cd0e4
inc dword [esi + 0x9c]
jmp 0x4cd1c1
cmp dword [esi + 0x9c], 0
jle 0x4cd1c1
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4cd1c1
cmp dword [esi + 0x44], 0
je 0x4cd16c
mov eax, dword [0x5a0284]
cmp byte [eax + 0xd3], 0
je 0x4cd16c
mov eax, dword [esi + 0xd8]
call fcn.00408340
mov edi, eax
cmp edi, 0
jl 0x4cd16c
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 0x4cd155
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4cd19b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043dff8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4cd17b
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 [0x4c03ec]
call fcn.00408500
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4cde04
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 0x4cde6f
cmp byte [ebx + 0xd3], 0
jne 0x4cde6f
push pe_nt_image_headers32
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.00406a90
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4cde5c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4cde7c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ce8
jmp 0x4cde7c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ce8
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4cf644
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4cf6b2
mov eax, esi
call fcn.0047e310
test al, al
je 0x4cf6b2
mov eax, dword [ebx + 0x84]
call fcn.0047df64
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4cf6b2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4cf6a6
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047df64
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00474ee0
jmp 0x4cf6b2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004cf47c
pop esi
pop ebx
ret
Function at 0x4d360c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4d388a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0xc0], 0
jne 0x4d3861
mov eax, dword [edi + 0x34]
test eax, eax
je 0x4d3665
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4d3685
mov eax, dword [edi + 0x38]
test eax, eax
je 0x4d3675
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4d3685
mov eax, edi
call fcn.004d3940
jmp 0x4d3861
cmp dword [edi + 0xc4], 0
jne 0x4d36d4
lea eax, [ebp - 0x108]
mov edx, dword [edi + 0x34]
mov ecx, 0
call fcn.0040716c
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.0041d79c
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5a02ac]
call fcn.004d30ac
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xc4], eax
cmp dword [edi + 0xc8], 0
jne 0x4d3723
lea eax, [ebp - 0x10c]
mov edx, dword [edi + 0x38]
mov ecx, 0
call fcn.0040716c
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x101]
call fcn.0041d79c
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5a02ac]
call fcn.004d30ac
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xc8], eax
mov ecx, dword [edi + 0xc8]
mov edx, dword [edi + 0xc4]
mov eax, edi
call fcn.004d3980
mov ebx, eax
test bl, bl
jne 0x4d3816
mov eax, dword [edi + 0x34]
test eax, eax
je 0x4d374c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4d3766
mov eax, dword [edi + 0xb8]
test eax, eax
je 0x4d375f
sub eax, 4
mov eax, dword [eax]
test eax, eax
sete al
jmp 0x4d3768
xor eax, eax
test al, al
jne 0x4d3816
mov eax, dword [edi + 0xb8]
test eax, eax
je 0x4d377f
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x4d37ac
lea eax, [ebp - 0x110]
mov edx, dword [edi + 0xb8]
mov ecx, 0
call fcn.0040716c
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 0x101]
call fcn.0041d79c
jmp 0x4d37ee
push dword [edi + 0x34]
push 0x4d38a8
push dword [edi + 0x38]
lea eax, [ebp - 0x118]
mov edx, 3
call fcn.0040764c
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0x114]
mov ecx, 0
call fcn.0040716c
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 0x101]
call fcn.0041d79c
push 7
lea eax, [ebp - 0x101]
push eax
call sub.KERNEL32.DLL_WinExec
cmp eax, 0x20
jb 0x4d3816
mov ecx, dword [edi + 0xc8]
mov edx, dword [edi + 0xc4]
mov eax, edi
call fcn.004d3980
mov ebx, eax
test bl, bl
jne 0x4d3823
mov eax, edi
call fcn.004d3940
jmp 0x4d3861
mov eax, dword [edi + 0x58]
test eax, eax
je 0x4d3832
mov dword [edi + 0xa0], eax
jmp 0x4d383c
mov dword [edi + 0xa0], 1
mov eax, edi
call fcn.004d3a04
test al, al
je 0x4d3861
mov eax, edi
mov si, 0xffef
call fcn.00405190
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.004d3ee8
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3891
lea eax, [ebp - 0x118]
call fcn.00406928
lea eax, [ebp - 0x114]
mov edx, 4
call fcn.004069b8
ret