joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49d970
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, ecx
push esi
push edi
cmp byte [ebx + 0xb4], 0
je 0x49daeb
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x49d9e8
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push ecx
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push eax
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x34]
je 0x49dacc
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x30]
je 0x49dacc
push dword [ebx + 0xbc]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xbc], 0
push dword [ebx + 0xb8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x49daeb
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push dword [ebx + 0xb8]
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromFile]
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.gdiplus.dll_GdipGetImagePixelFormat]
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 4]
sub ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
push edx
push 0
push dword [ebp - 8]
mov dword [ebp - 0x20], vtable.Gdiplus::Bitmap.0
push 0
push ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromScan0]
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 4]
mov esi, dword [ebp + 0x14]
sub edi, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
push ecx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
mov eax, dword [ebp - 4]
push 7
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.gdiplus.dll_GdipSetInterpolationMode]
push esi
mov esi, dword [ebp - 8]
push edi
mov edi, dword [ebp - 0x10]
push 0
push 0
push edi
push esi
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
push ecx
mov edx, 1
lea ecx, [ebp - 0x20]
call fcn.004999d0
add esp, 4
mov dword [ebx + 0xbc], eax
push esi
test eax, eax
je 0x49dad7
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
call esi
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
call esi
push edi
call esi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4a1100
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61c496
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6b1a94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CXElement.0
call fcn.00403fe0
mov ecx, eax
test ecx, ecx
jne 0x4a1147
push 0x80004005
call fcn.00403d40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00403fe0
mov ecx, eax
test ecx, ecx
jne 0x4a116e
push 0x80004005
call fcn.00403d40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a0690
mov dword [esi], eax
xorps xmm0, xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
call fcn.004b5290
mov dword [edi + 0x30], eax
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x4a1730
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4a3850
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
mov esi, ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0xd0]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x14]
sub eax, dword [esi + 0x5c]
mov ebx, dword [esp + 0x10]
sub ebx, dword [esi + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [eax], 0
mov eax, 0x2e8ba2e9
mov ecx, dword [esi + 0x168]
sub ecx, dword [esi + 0x164]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4a3966
xor edi, edi
nop dword [eax + eax]
mov eax, dword [esi + 0x164]
push dword [esp + 0x14]
add eax, 8
push ebx
add eax, edi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4a392b
mov eax, dword [esi + 0x164]
cmp dword [eax + edi + 0x20], 0
je 0x4a392b
mov eax, dword [ebp + 0x14]
push 1
push 0
push 0
mov dword [eax], 1
mov eax, dword [esi + 0x164]
push dword [eax + edi + 0x24]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esi + 0x168]
mov eax, 0x2e8ba2e9
sub ecx, dword [esi + 0x164]
add edi, 0x2c
mov ebx, dword [esp + 0xc]
imul ecx
inc ebx
sar edx, 3
mov eax, edx
mov dword [esp + 0xc], ebx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x4a395e
mov ebx, dword [esp + 0x10]
jmp 0x4a38e0
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jne 0x4a3973
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x384
call dword [eax + 0x2c]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4aa540
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6b1a94]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x1cc]
test ecx, ecx
je 0x4aa569
mov eax, dword [ecx]
call dword [eax + 4]
push 0x104
lea eax, [ebp - 0x20c]
mov dword [esi + 0x18c], 1
push eax
push dword [esi + 0x16c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x198]
lea ecx, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4aa5bd
test dx, dx
je 0x4aa5b9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4aa5bd
add eax, 4
add ecx, 4
test dx, dx
jne 0x4aa597
xor eax, eax
jmp 0x4aa5c2
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4aa5dd
push 0x678c3c
push dword [esi + 0x16c]
mov dword [esi + 0x194], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x1fc
call dword [eax + 0x2c]
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [edi], 0
xor ecx, ebp
pop edi
pop esi
call fcn.005c8db3
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4ab0f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
jne 0x4ab106
mov eax, dword [esi]
push 0
call dword [eax + 0x128]
push dword [ebp + 8]
mov ecx, esi
call fcn.004a5950
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd8]
test eax, eax
mov ecx, esi
mov eax, dword [esi]
je 0x4ab138
push 5
call dword [eax + 0x138]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 0
call dword [eax + 0x138]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x4ab580
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x4ab5fc
mov esi, dword [ebp + 8]
mov ecx, 1
mov eax, dword [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x4ab5b5
push edi
mov ecx, esi
call fcn.004034b0
push edi
push dword [esi]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x4ab5dd
mov ecx, dword [esi]
test ecx, ecx
je 0x4ab5e1
push dword [ecx - 8]
push ecx
call fcn.005eb845
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x4ab5fc
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4ab5fc
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.00403d40
int3
Function at 0x4ac200
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x94]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x6c37cc]
add esi, 0x10
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x6c3564]
lea eax, [ebp - 4]
push eax
call fcn.004ac990
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jne 0x4ac252
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0x128]
mov dword [ebp - 4], eax
lea ecx, [ebx + 4]
lea eax, [ebp - 4]
push eax
call fcn.004ac910
test eax, eax
je 0x4ac29b
push 0
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x140]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ac29b
push 0
push 0
push 0x793a
push dword [edi + 0x140]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ac2b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x6b1a94]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push dword [edi + 0x38]
mov dword [edi + 0x140], esi
call ebx
test eax, eax
jne 0x4ac306
sub esp, 8
mov eax, esp
push 0
push SysReAllocStringLen
push 0
push ecx
mov dword [eax], 0
mov ecx, edi
mov eax, esp
push esi
mov dword [eax], 0
call fcn.00495b10
cmp byte [ebp + 0x1c], 0
je 0x4ac318
mov ecx, dword [edi + 0x30]
lea eax, [ebp + 0xc]
push eax
call fcn.004b5370
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [eax + 0x98]
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
add eax, edx
push 1
sub eax, edx
push eax
mov eax, dword [ebp + 0x14]
sub eax, ecx
push eax
push edx
push ecx
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [edi + 0xe4], 0
je 0x4ac3c0
mov eax, dword [edi + 0xe0]
test eax, eax
je 0x4ac3c0
push dword [eax + 0x38]
call ebx
test eax, eax
je 0x4ac3c0
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
push dword [edi + 0x38]
movups xmmword [esp + 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
add eax, 7
mov ecx, dword [esp + 0x24]
sub edx, 3
mov esi, dword [esp + 0x1c]
add ecx, 5
push 1
mov dword [esp + 0x2c], eax
sub esi, 5
sub eax, edx
mov dword [esp + 0x28], ecx
push eax
mov eax, dword [edi + 0xe0]
sub ecx, esi
push ecx
push edx
push esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp + 0x20], 0
je 0x4ac3db
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x90]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x6c37cc]
add esi, 0x10
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x6c3564]
lea eax, [esp + 0x10]
push eax
call fcn.004ac990
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
test ebx, ebx
je 0x4ac44a
mov edx, dword [ebx + 8]
add edi, 0x128
mov dword [esp + 0x10], edi
test edx, edx
jle 0x4ac43b
mov ecx, dword [ebx + 4]
cmp dword [ecx], edi
je 0x4ac436
inc eax
add ecx, 4
cmp eax, edx
jl 0x4ac428
jmp 0x4ac43b
cmp eax, 0xffffffff
jne 0x4ac448
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 4]
call fcn.004ac890
xor eax, eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005c8db3
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4b8610
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x258]
test eax, eax
je 0x4b86ff
cmp byte [eax + 0x220], 0
je 0x4b86ff
cmp byte [ebp + 0xc], 0
je 0x4b8655
mov eax, edi
mov dword [ebx + 0x254], eax
mov eax, dword [ebx]
call dword [eax + 0xcc]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
mov esi, dword [eax + 0x1e8]
lea ecx, [eax + 0x1e4]
mov eax, dword [ecx]
sub esi, eax
sar esi, 2
mov dword [ebp + 0xc], ecx
test esi, esi
je 0x4b86ff
cmp edi, 3
jne 0x4b86d5
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xff00
test cx, ax
jne 0x4b86ff
cmp dword [ebx + 0x258], 0
je 0x4b86ff
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 4]
mov esi, dword [eax]
cmp esi, edi
je 0x4b86b9
nop
mov ecx, dword [esi]
cmp ecx, ebx
je 0x4b86af
push 1
push 0
call fcn.004b8610
add esi, 4
cmp esi, edi
jne 0x4b86a0
mov eax, dword [ebp + 0xc]
mov ecx, eax
call fcn.00498830
mov ecx, dword [ebx + 0x258]
push 1
mov dword [ebx + 0x254], 3
push ebx
jmp 0x4b8738
test edi, edi
jne 0x4b86ff
xor edx, edx
test esi, esi
je 0x4b86ff
mov ecx, eax
cmp dword [ecx], ebx
je 0x4b86ef
inc edx
add ecx, 4
cmp edx, esi
jb 0x4b86e1
jmp 0x4b86ff
mov ecx, dword [ebp + 0xc]
lea eax, [eax + edx*4]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004baae0
mov eax, dword [ebx + 0x254]
cmp eax, edi
je 0x4b8747
mov dword [ebx + 0x254], edi
cmp edi, 3
jne 0x4b8723
mov ecx, dword [ebx + 0x258]
test ecx, ecx
je 0x4b873d
push 0
push ebx
jmp 0x4b8738
test edi, edi
jne 0x4b873d
cmp eax, 3
jne 0x4b873d
mov ecx, dword [ebx + 0x258]
test ecx, ecx
je 0x4b873d
push edi
push edi
call fcn.004b6590
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xcc]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x4c11c0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x6b1a94]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
mov eax, dword [esi + 0x174]
test eax, eax
je 0x4c1232
lea ecx, [esp + 0x14]
xorps xmm0, xmm0
push ecx
movups xmmword [esp + 0x18], xmm0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
jmp 0x4c1273
cmp dword [esi + 0x224], 0
je 0x4c1277
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 0x224]
test ecx, ecx
je 0x4c12af
mov eax, dword [ecx]
lea edx, [esp + 0xc]
push edx
mov eax, dword [eax + 8]
call eax
xor ecx, ecx
test al, al
sete cl
test ecx, ecx
je 0x4c1287
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x1a8]
call dword [eax + 0xa8]
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x643
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [edi], 0
pop edi
pop esi
xor ecx, esp
call fcn.005c8db3
mov esp, ebp
pop ebp
ret 0x10
call fcn.005c5ff8
int3

Function at 0x4c1eb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push 0x2c
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], 0x30
push 0
push eax
call fcn.005e27b0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x1c], eax
call fcn.004c22f0
test eax, eax
mov dword [ebp - 0x28], 0x4c1d40
mov ecx, 0x6c2ed0
cmove ecx, dword [ebp - 8]
push 0
mov dword [ebp - 8], ecx
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [ebp - 0x1c]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push str.TimerWin1
push dword [ebp - 8]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x6c2ec8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x6c36ac]
mov eax, 0x2aaaaaab
sub ecx, dword [0x6c36a8]
imul ecx
mov dword [0x6b2684], 0
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4c1f7d
push 0
push 0x32
push 1
push dword [0x6c2ec8]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x6b2684], 1
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4ca4c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61dffa
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6b1a94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004a4680
mov dword [ebp - 4], 0
mov dword [edi], vtable.CXVScrollBar.0
mov dword [edi + 0x150], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x158], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x168], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x170], 0
xorps xmm0, xmm0
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0
mov dword [edi + 0x17c], 0
mov dword [edi + 0x180], 0
mov dword [edi + 0x184], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x18c], 0
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x198], 0
mov dword [edi + 0x19c], 0x1e
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a4], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b8], 1
movq qword [edi + 0x1c0], xmm0
mov dword [edi + 0x1c8], 0
mov dword [edi + 0x1c0], edi
mov dword [edi + method.TXEventObserverObj_class_CXComboBox_.virtual_0], vtable.TXEventObserverObj_class_CXVScrollBar_.0
mov byte [ebp - 4], 9
mov ebx, dword [edi + 0x30]
mov dword [edi + 0xb4], 1
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0x14
cmp byte [ebx + 8], 0
je 0x4ca68d
mov eax, dword [ebx]
cmp eax, 0x64
je 0x4ca68d
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x64
push eax
push dword [edi + 0xe0]
call esi
push 0x64
mov dword [edi + 0xe0], eax
push dword [ebx]
push dword [edi + 0xe4]
call esi
mov dword [edi + 0xe4], eax
push 0x320
call fcn.005c92a6
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.004b0f10
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [edi + 0x150], esi
je 0x4ca6d6
test esi, esi
je 0x4ca6c0
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [edi + 0x150]
mov dword [edi + 0x150], esi
test eax, eax
je 0x4ca6d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x320
call fcn.005c92a6
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.004b0f10
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [edi + 0x154], esi
je 0x4ca71f
test esi, esi
je 0x4ca709
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [edi + 0x154]
mov dword [edi + 0x154], esi
test eax, eax
je 0x4ca71f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0x1c4], 0x4cbbb0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cb200
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x6b1a94]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x1a0], 0
je 0x4cb312
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x58]
mov ecx, esi
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
call dword [eax + 0xd0]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edi, dword [esi + 0x64]
mov eax, 0
sub edi, dword [esi + 0x5c]
mov edx, dword [esp + 0x18]
add edi, edx
mov ecx, dword [esi + 0x1a4]
sub ecx, edx
add ecx, dword [esp + 0x20]
cmovs ecx, eax
mov eax, dword [esi + 0x188]
sub eax, dword [esi + 0x190]
sub eax, edx
add eax, edi
cmp ecx, eax
jle 0x4cb2a8
mov ecx, dword [esi + 0x188]
sub ecx, dword [esi + 0x190]
sub ecx, edx
add ecx, edi
mov eax, dword [esi + 0x198]
mov dword [esp + 0xc], eax
test ecx, ecx
jne 0x4cb2be
mov dword [esi + 0x198], ecx
jmp 0x4cb2ec
mov eax, dword [esi + 0x188]
sub eax, dword [esi + 0x190]
sub eax, edx
add eax, edi
cmp ecx, eax
mov eax, dword [esi + 0x194]
jne 0x4cb2de
sub eax, edi
add eax, edx
jmp 0x4cb2e6
imul eax, ecx
sub edi, edx
cdq
idiv edi
mov dword [esi + 0x198], eax
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push 0x4b0
mov ecx, esi
call dword [eax + 0x2c]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.005c8db3
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
movups xmm0, xmmword [esi + 0x184]
sub esp, 0x10
mov ecx, esi
mov eax, esp
push dword [esp + 0x20]
movups xmmword [eax], xmm0
push dword [esp + 0x20]
call fcn.004cb4a0
test eax, eax
je 0x4cb364
cmp dword [esi + 0x170], 1
je 0x4cb381
mov dword [esi + 0x170], 1
jmp 0x4cb377
cmp dword [esi + 0x170], 0
je 0x4cb381
mov dword [esi + 0x170], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xcc]
mov ecx, dword [esp + 0x24]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.005c8db3
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4ccb60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.004a5950
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd8]
test eax, eax
mov ecx, esi
mov eax, dword [esi]
je 0x4ccb96
push 5
call dword [eax + 0x138]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 0
call dword [eax + 0x138]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x4ccbb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.004a5a20
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd8]
test eax, eax
mov ecx, esi
mov eax, dword [esi]
je 0x4ccbe6
push 5
call dword [eax + 0x138]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 0
call dword [eax + 0x138]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x4d0230
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x168]
test eax, eax
je 0x4d0275
cmp dword [ebp + 8], 0
jne 0x4d0258
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi]
call dword [eax + 0xd8]
test eax, eax
je 0x4d0275
mov eax, dword [esi + 0x168]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4