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

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 6
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push ecx
call edi
pop edi
pop esi
ret

Function at 0x4bcb80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dbb73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004d3600
lea edi, [esi + 0x28]
mov dword [esp + 0x14], 0
mov ecx, edi
call fcn.004c6070
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.004ac570
mov ecx, dword [esp + 0xc]
mov eax, 0xd3d3d3
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
or eax, 0xffffffff
mov dword [edi], 0x4df5b8
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
mov dword [esi], 0x4df5ac
mov dword [esi + 0x2c], 0x14
mov word [esi + 0x58], 0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4bcc30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4dbbaf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0x28]
mov dword [esi], 0x4df5ac
mov dword [edi], 0x4df5b8
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], 1
call fcn.004ac5b0
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004c60a0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004d36b0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4bddc0
Capabilities:
Check os version

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
cmp al, 5
call esi
push 4
mov dword [0x740020], eax
call esi
push 0x15
mov dword [0x740040], eax
call esi
push 4
mov dword [0x74003c], eax
call esi
push 7
mov dword [0x740038], eax
call esi
push 0xe
mov dword [0x740034], eax
call esi
push 0x11
mov dword [0x740030], eax
call esi
push 0x10
mov dword [0x74002c], eax
call esi
push 0x10
mov dword [0x740028], eax
call esi
push 4
mov dword [0x740024], eax
call esi
mov dword [0x74001c], eax
mov eax, 0x10
mov ecx, eax
mov dword [0x740010], eax
mov eax, 2
mov dword [0x740014], ecx
mov dword [0x740008], eax
mov dword [0x73fff8], eax
mov edx, 1
mov ecx, 3
xor eax, eax
mov dword [0x740018], edx
mov dword [0x740000], edx
mov dword [0x740004], ecx
mov dword [0x73fff0], ecx
mov dword [0x73fff4], 0x16
mov dword [0x73ffe8], eax
mov dword [0x73ffe4], edx
mov dword [0x73ffd4], eax
pop esi
ret
Function at 0x4c12d0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4dbcbf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d3600
lea ebp, [esi + 0x28]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.004c6070
mov dword [esi + 0x2c], 0x4de4f0
mov dword [esi + 0x30], 0x64
lea ecx, [esi + 0x44]
mov byte [esp + 0x18], 2
call fcn.004ac570
lea ecx, [esi + 0x5c]
mov byte [esp + 0x18], 3
call fcn.004ac570
lea ecx, [esi + 0x74]
mov byte [esp + 0x18], 4
call fcn.004ac570
lea ecx, [esi + 0x8c]
mov byte [esp + 0x18], 5
call fcn.004ac570
or eax, 0xffffffff
mov dword [esi + 0x34], edi
mov dword [esi + 0xac], edi
mov word [esi + 0xa04], di
mov word [esi + 0xa44], di
mov word [esi + 0x984], di
mov word [esi + 0x9c4], di
mov dword [esi + 0xb8], eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x980], edi
mov dword [esi + 0xa88], edi
mov dword [esi + 0xa90], edi
mov dword [esi + 0xa94], edi
mov dword [esi + 0xa98], edi
mov dword [esi + 0xa9c], edi
mov dword [esi + 0xaa4], eax
mov dword [esi + 0xaac], eax
mov dword [esi + 0xab4], eax
mov dword [esi + 0xabc], edi
mov ecx, 0x220
xor eax, eax
lea edi, [esi + 0xc0]
mov dword [esi], 0x4df650
mov dword [ebp], 0x4df64c
mov dword [esi + 0x2c], 0x4df644
mov dword [esi + 0xa84], 6
mov dword [esi + 0xaa0], 1
mov dword [esi + 0xa8c], 5
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4c4520
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push 0
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x124c]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
xor ebx, ebx
mov dword [esi + 0x1250], 0xffffffff
test eax, eax
jbe 0x4c45a1
push edi
lea edi, [esi + 0xb0c]
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 8]
cmp ecx, eax
jne 0x4c458b
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x4c458b
mov ecx, dword [edi]
push 5
push ecx
call ebp
mov edx, dword [edi]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [edi + 0x14]
lea ecx, [esi + 0x129c]
push eax
push 1
call fcn.004d0f40
mov dword [esi + 0x1250], ebx
jmp 0x4c4592
mov ecx, dword [edi]
push 0
push ecx
call ebp
mov eax, dword [esi + 0x124c]
inc ebx
add edi, 0x74
cmp ebx, eax
jb 0x4c4550
pop edi
cmp dword [esi + 0x1250], 0xffffffff
jne 0x4c45d3
mov edx, dword [esi + 0xb0c]
push 5
push edx
call ebp
lea eax, [esi + 0xb20]
lea ecx, [esi + 0x129c]
push eax
push 1
call fcn.004d0f40
mov dword [esi + 0x1250], 0
mov eax, dword [esi + 0x2070]
cmp eax, 1
jne 0x4c45f6
mov edx, dword [esi + 4]
lea ecx, [esi + 0x2084]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebp
pop ebx
ret 8
cmp eax, 2
jne 0x4c460e
mov ecx, dword [esi + 4]
lea eax, [esi + 0x2094]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebp
pop ebx
ret 8

Function at 0x4c5680
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x20
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
cmp edi, 0xffffffff
mov dword [esp + 0xc], esi
je 0x4c5783
cmp edi, dword [esi + 0x124c]
jae 0x4c5783
mov eax, dword [esi + 4]
push ebx
push ebp
push eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [edi*8]
push eax
sub ecx, edi
mov dword [esp + 0x14], eax
lea edx, [edi + ecx*4]
mov edi, dword [esi + edx*4 + 0xb68]
mov ecx, dword [esi + edx*4 + 0xb60]
mov ebx, dword [esi + edx*4 + 0xb6c]
mov ebp, dword [esi + edx*4 + 0xb64]
lea esi, [esi + edx*4]
sub edi, ecx
sub ebx, ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
mov eax, dword [esp + 0x10]
push ebx
push edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebp
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x20]
mov dword [esp + 0x18], eax
push ecx
mov ecx, dword [esp + 0x18]
xor eax, eax
push edx
push ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
call fcn.004c51e0
mov eax, dword [esi + 0xb64]
mov ecx, dword [esi + 0xb60]
mov esi, dword [esp + 0x10]
push 0xcc0020
push 0
push 0
push ebp
push ebx
push edi
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x18]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x14]
push esi
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x4c5790
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x20
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
cmp edi, 0xffffffff
mov dword [esp + 0xc], esi
je 0x4c5893
cmp edi, dword [esi + 0x124c]
jae 0x4c5893
mov eax, dword [esi + 4]
push ebx
push ebp
push eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [edi*8]
push eax
sub ecx, edi
mov dword [esp + 0x14], eax
lea edx, [edi + ecx*4]
mov edi, dword [esi + edx*4 + 0xb78]
mov ecx, dword [esi + edx*4 + 0xb70]
mov ebx, dword [esi + edx*4 + 0xb7c]
mov ebp, dword [esi + edx*4 + 0xb74]
lea esi, [esi + edx*4]
sub edi, ecx
sub ebx, ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
mov eax, dword [esp + 0x10]
push ebx
push edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebp
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x20]
mov dword [esp + 0x18], eax
push ecx
mov ecx, dword [esp + 0x18]
xor eax, eax
push edx
push ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
call fcn.004c5e20
mov eax, dword [esi + 0xb74]
mov ecx, dword [esi + 0xb70]
mov esi, dword [esp + 0x10]
push 0xcc0020
push 0
push 0
push ebp
push ebx
push edi
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x18]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x14]
push esi
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x4c5ff0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb08], eax
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x4c8300
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, 0x400
xor eax, eax
lea edi, [esi + 0x6c8]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x271c]
test eax, eax
je 0x4c842e
mov eax, dword [esi + 0x2714]
test eax, eax
jne 0x4c83ba
mov ecx, dword [esi + 0xac]
mov eax, dword [esi + 0x2dbc]
lea edi, [esi + 0x2dbc]
push ecx
mov ecx, edi
mov dword [esi + 0x2718], 1
call dword [eax + 0xc]
push 5
push 0x500df0
push 0x500df0
push str.IMG_PROGRESS
push 0x500df0
mov ecx, edi
call fcn.004c0a50
mov edx, dword [esi + 0xe0]
mov eax, dword [esi + 8]
push 0
push 1
push 0
push 0
push 2
push edx
push eax
push str.ProgressBar
mov ecx, edi
call fcn.004ce860
push 0
push 0x64
push 0
mov ecx, edi
call fcn.004c0a00
test edi, edi
je 0x4c83b1
mov ecx, dword [esi + 0x2dc4]
lea eax, [esi + 0x2dc0]
push 0
push ecx
jmp 0x4c8428
xor eax, eax
push eax
mov ecx, dword [eax + 4]
push ecx
jmp 0x4c8428
mov eax, dword [esi + 8]
mov dword [esi + 0x2718], 0
mov edx, dword [0x73ff2c]
push 0
push edx
push 2
push eax
push 0
push 0
push 0
push 0
push 0x44000001
push str.ProgressBar
push 0x4f0c74
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x640000
push 0
push 0x401
push eax
mov dword [esi + 0x3530], eax
call edi
mov ecx, dword [esi + 0x3530]
push 0
push 0
push 0x409
push ecx
call edi
mov edx, dword [esi + 0x3530]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 8]
push 0
push 0x1f4
push 0xc1c
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret
Function at 0x4cbe20
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esi + 0x15134], edi
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
mov dword [esp + 8], ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 8]
mov dword [esp + 0xc], edx
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push edx
lea ecx, [esi + 0xa14]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4cbe8d
mov ecx, esi
mov dword [esi + 0x1512c], 1
mov dword [esi + 0x15124], edi
call fcn.004cbff0
pop edi
pop esi
add esp, 8
ret
mov edx, dword [esi + 0x15110]
push ebx
push ebp
push 0x11
mov ebp, dword [esi + edx*4 + 0x14cf0]
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
mov ebx, 1
je 0x4cbedc
cmp dword [esi + 0x15108], ebx
jle 0x4cbedc
mov eax, dword [esi + 0x10dc]
cmp dword [eax + 0x78], edi
je 0x4cbedc
mov ecx, esi
call fcn.004cccb0
pop ebp
pop ebx
mov dword [esi + 0x15138], 0
pop edi
pop esi
add esp, 8
ret
lea ecx, [esi + 0x6fc]
push ecx
mov ecx, esi
call fcn.004cb680
mov edi, eax
cmp edi, 0xffffffff
je 0x4cbf52
cmp edi, ebp
je 0x4cbf0d
push 0
push edi
mov ecx, esi
mov dword [esi + 0x15134], ebx
call fcn.004cbad0
mov dword [esi + 0x1516c], ebx
jmp 0x4cbf45
mov eax, dword [esi + 0x10dc]
mov dword [esi + 0x1516c], ebx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4cbf45
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4cbf45
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
push edi
mov ecx, esi
call fcn.004cdc80
test eax, eax
je 0x4cbf45
push edi
mov ecx, esi
call fcn.004cc670
lea ecx, [esi + 0x6f0]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
pop ebp
pop ebx
mov dword [esi + 0x15138], 0
pop edi
pop esi
add esp, 8
ret
Function at 0x4cbff0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi + 0x1513c], 1
call dword [sym.imp.USER32.dll_GetMessagePos]
mov edi, eax
mov eax, dword [esi + 0x15124]
cmp eax, edi
je 0x4cc1ba
push 2
mov ecx, esi
mov dword [esi + 0x15124], edi
call fcn.004d3910
mov eax, dword [esi + 0x15108]
test eax, eax
jle 0x4cc1ba
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.004cb680
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4cc174
mov eax, dword [esi + 0x10dc]
movsx ecx, di
shr edi, 0x10
movsx edx, di
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 0x34]
xor edi, edi
cmp ecx, edi
je 0x4cc0ce
cmp dword [esi + 0x1512c], edi
jne 0x4cc0ce
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x4cc0ce
mov eax, dword [esi + 0x6f0]
cmp eax, 0xffffffff
je 0x4cc0ce
cmp eax, dword [esp + 0x10]
jne 0x4cc0a2
mov ecx, dword [esi + 0x6f4]
mov eax, dword [esp + 0x14]
cmp ecx, eax
je 0x4cc0ce
mov edx, dword [esp + 0xc]
mov ecx, esi
push edx
mov dword [esi + 0x1516c], 1
mov dword [esi + 0x10ec], 1
call fcn.004cc1d0
mov dword [esi + 0x10ec], edi
mov dword [esi + 0x1516c], edi
mov ecx, dword [esi + 4]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edi, dword [esi + 0x1511c]
cmp edi, ebx
je 0x4cc124
mov eax, dword [esi + 0x10dc]
mov dword [esi + 0x1511c], ebx
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x4cc10c
mov edx, dword [eax + 0x70]
mov eax, dword [esi + 4]
push 0
push edx
push 0xa
push eax
call dword [sym.imp.USER32.dll_SetTimer]
cmp edi, 0xffffffff
je 0x4cc11b
push edi
push 0
mov ecx, esi
call fcn.004ca880
mov ecx, dword [esi + 0x1511c]
push ecx
jmp 0x4cc18a
mov edx, dword [esi + 0x15110]
cmp edi, dword [esi + edx*4 + 0x14cf0]
jne 0x4cc193
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
lea edx, [esi + 0xa14]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, dword [esi + 0x1512c]
test ecx, ecx
je 0x4cc15e
mov ecx, dword [esi + 0x15130]
test ecx, ecx
jne 0x4cc166
cmp dword [esi + 0x15130], eax
je 0x4cc193
mov dword [esi + 0x15130], eax
mov eax, dword [esi + 0x1511c]
jmp 0x4cc189
mov eax, dword [esi + 0x1511c]
mov dword [esi + 0x1511c], 0xffffffff
cmp eax, 0xffffffff
je 0x4cc193
push eax
push 0
mov ecx, esi
call fcn.004ca880
cmp dword [esi + 0x10d8], ebx
je 0x4cc1ba
mov ecx, dword [esi + 4]
lea edi, [esi + 0x38]
push ecx
mov ecx, edi
mov dword [esi + 0x10d8], ebx
call fcn.004d25b0
mov edx, dword [esi + 4]
mov ecx, edi
push edx
call fcn.004d2560
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x4cc1d0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4dc13e
push eax
mov eax, 0x1280
mov dword fs:[0], esp
call fcn.004d4ce0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
push 0xc
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
xor ebp, ebp
add esp, 4
cmp ebx, ebp
je 0x4cc256
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
mov dword [ebx], 0x4ddc04
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
push 0x24
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x3c], eax
cmp eax, ebp
mov dword [esp + 0x1298], ebp
je 0x4cc240
push ebx
mov ecx, eax
call fcn.004a8360
mov esi, eax
jmp 0x4cc242
xor esi, esi
or edi, 0xffffffff
cmp esi, ebp
mov dword [esp + 0x1298], edi
jne 0x4cc25d
mov ecx, dword [ebx]
push ebx
call dword [ecx + 8]
xor eax, eax
jmp 0x4cc3a4
mov edx, dword [esi]
push esi
call dword [edx + 4]
xor eax, eax
mov edx, dword [str.XTabDrag]
mov dword [esp + 0x28], eax
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [0x4fff20]
mov dword [esp + 0x34], eax
mov eax, dword [0x4fff1c]
mov dword [esp + 0x40], edx
mov edx, dword [0x4fff24]
mov dword [esp + 0x44], eax
mov ax, word [0x4fff28]
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], ecx
mov word [esp + 0x50], ax
mov ecx, 0x48f
xor eax, eax
lea edi, [esp + 0x52]
mov dword [esp + 0x4c], edx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push 0
mov ebp, 1
push ecx
mov ecx, dword [esp + 0x1c]
push 0xfc5
mov word [esp + 0x30], 0xd
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x24], ebp
stosw word es:[edi], ax
mov dword [esp + 0x1c], 0
call fcn.004ccad0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4cc32b
push eax
push str.XTabDrag:_s
lea edx, [esp + 0x48]
push 0x928
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [esp + 0x20]
push eax
call fcn.004d4cc1
add esp, 0x14
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea edx, [eax + eax + 2]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [esp + 0x40]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov edx, dword [esp + 0x24]
add esp, 8
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ebp
lea edx, [esp + 0x28]
push ecx
push edx
push esi
call dword [eax + 0x1c]
lea eax, [esp + 0x38]
push eax
push 2
push ebx
push esi
call dword [sym.imp.ole32.dll_DoDragDrop]
mov ecx, dword [ebx]
push ebx
mov edi, eax
call dword [ecx + 8]
mov edx, dword [esi]
push esi
call dword [edx + 8]
xor eax, eax
cmp edi, 0x40100
sete al
mov ecx, dword [esp + 0x1290]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128c
ret 4
Function at 0x4ce260
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x238
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xac]
mov edi, dword [esp + 0x24c]
test eax, eax
je 0x4ce2e2
mov eax, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x20]
push edx
push eax
call ebx
mov edx, dword [esi + 8]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call ebx
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x10]
sub eax, ebp
mov ebp, dword [esp + 0x14]
sub ecx, edx
add ecx, ebp
add eax, ebx
push ecx
mov ecx, dword [esi + 0xac]
push eax
lea eax, [esp + 0x18]
push eax
push edi
call fcn.004c1d10
mov ecx, dword [esi + 0xe0]
push 0
push 0
push 0x7f
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x698], 3
test eax, eax
lea ebx, [edx + 3]
je 0x4ce332
mov ecx, dword [esp + 0x14]
push 3
push 0
push 0
push 0x10
push 0x10
push eax
mov eax, dword [esp + 0x34]
sub eax, ecx
sub eax, 0x10
cdq
sub eax, edx
sar eax, 1
add eax, ecx
push eax
push ebx
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
mov eax, dword [esi + 0x698]
mov ecx, dword [esp + 0x18]
sub ecx, 0x10
lea eax, [eax + ebx + 0x10]
mov dword [esp + 0x18], ecx
cmp ecx, eax
mov dword [esp + 0x10], eax
jge 0x4ce353
mov dword [esp + 0x18], eax
mov edx, dword [esi + 0xe0]
lea ecx, [esp + 0x40]
push 0x104
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 2
mov ecx, esi
call fcn.004c6130
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call ebx
mov ebp, eax
call fcn.004bbe60
test eax, eax
je 0x4ce39a
mov eax, dword [esi + 0x3ec]
push eax
jmp 0x4ce3a1
mov ecx, dword [esi + 0x69c]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea edx, [esp + 0x10]
push 0x48824
push edx
lea eax, [esp + 0x48]
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
push ebp
push edi
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x238
ret 4
Function at 0x4ce440
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4dc1ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004c6070
lea ebx, [esi + 4]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x1c], edi
call fcn.004d3600
mov dword [esi + 0x2c], 0x4de4f0
mov dword [esi + 0x30], 0x64
lea ebp, [esi + 0x34]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call fcn.004d24f0
lea ecx, [esi + 0x58]
mov byte [esp + 0x1c], 3
call fcn.004a89c0
lea ecx, [esi + 0x2f8]
mov byte [esp + 0x1c], 4
call fcn.004ac570
mov dword [esi + 0x1b4], edi
mov dword [esi + 0x2f4], edi
mov dword [esi + 0x354], edi
lea ecx, [esi + 0x620]
mov byte [esp + 0x1c], 5
call fcn.004ac570
lea ecx, [esi + 0x638]
mov byte [esp + 0x1c], 6
call fcn.004ac570
lea ecx, [esi + 0x650]
mov byte [esp + 0x1c], 7
call fcn.004ac570
lea ecx, [esi + 0x668]
mov byte [esp + 0x1c], 8
call fcn.004ac570
lea ecx, [esi + 0x680]
mov byte [esp + 0x1c], 9
call fcn.004ac570
mov dword [esi], 0x4df788
mov dword [ebx], 0x4df77c
mov dword [esi + 0x2c], 0x4df774
or eax, 0xffffffff
mov dword [ebp], 0x4df770
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x80], edi
mov dword [esi + 0xa8], edi
mov ecx, 0xa
mov dword [esi + 0x414], 0x808080
mov dword [esi + 0x400], ecx
mov dword [esi + 0x404], ecx
mov dword [esi + 0x84], edi
mov dword [esi + 0x38], edi
mov ecx, 1
mov dword [esi + 0x88], edi
mov dword [esi + 0x94], ecx
mov dword [esi + 0x98], eax
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xa0], eax
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd0], edi
mov word [esi + 0xe4], di
mov word [esi + 0x124], di
mov word [esi + 0x35c], di
mov dword [esi + 0x3e8], edi
mov dword [esi + 0x3ec], edi
mov dword [esi + 0x3f0], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0x618], edi
mov dword [esi + 0x61c], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0x3f4], edi
mov dword [esi + 0x3f8], edi
mov dword [esi + 0x3fc], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x2f4], edi
mov dword [esi + 0x318], eax
mov dword [esi + 0x310], eax
mov dword [esi + 0x48], edi
mov dword [esi + 0x410], ecx
mov dword [esi + 0xc0], 0x64
mov dword [esi + 0xa4], ecx
mov dword [esi + 0x40c], ecx
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret