joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b3f0
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e408
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5b3074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
or ebx, 0xffffffff
cmp dword [0x5c6d1c], ebx
jne 0x45b472
push ecx
mov edx, str.full.data
lea ecx, [ebp - 0x10]
call fcn.004d7970
add esp, 4
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x10]
mov dword [0x5c6d1c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b472
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x45b470
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x45b472
call esi
cmp dword [0x5c6d1c], 1
mov edi, dword [ebp + 8]
jne 0x45b50c
call fcn.00409c54
mov ecx, eax
test ecx, ecx
jne 0x45b497
push 0x80004005
call fcn.0040b4a2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x45b4ac
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x45b4ae
call edx
add eax, 0x10
mov dword [ebp + 8], eax
push edi
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push str.ClientText:_s
push eax
call fcn.00418437
mov esi, dword [ebp + 8]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45b50c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x45b50a
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x45b50c
call edx
mov esi, dword [0x5dd3a0]
test esi, esi
je 0x45b59b
mov ebx, dword [0x5dd3a8]
test ebx, ebx
je 0x45b59b
cmp ebx, esi
je 0x45b59b
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x45b536
mov ecx, edi
call fcn.0045c4b0
mov dword [ebp + 8], eax
lea ecx, [esi + 8]
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0045cba0
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 8]
je 0x45b59b
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0xc], ecx
mov eax, dword [ecx + 8]
test eax, eax
jne 0x45b584
push ecx
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 8]
call fcn.0045cb50
mov eax, dword [ebp + 8]
cmp eax, dword [ebx + 8]
je 0x45b59b
mov ecx, dword [ebp + 0xc]
lea esi, [eax + 0x14]
push esi
lea ecx, [ecx + 8]
call fcn.0045ccf0
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
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 8
Function at 0x472530
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 0x4726ab
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x4725a8
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 0x47268c
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x30]
je 0x47268c
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 0x4726ab
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.0046d230
add esp, 4
mov dword [ebx + 0xbc], eax
push esi
test eax, eax
je 0x472697
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 0x482d20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5b3074]
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 0x482d49
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 0x482d9d
test dx, dx
je 0x482d99
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x482d9d
add eax, 4
add ecx, 4
test dx, dx
jne 0x482d77
xor eax, eax
jmp 0x482da2
sbb eax, eax
or eax, 1
test eax, eax
jne 0x482dbd
push 0x5894e4
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.00510209
mov esp, ebp
pop ebp
ret 0x10

Function at 0x484b30
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 0x484bac
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 0x484b65
push edi
mov ecx, esi
call fcn.00409225
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 0x484b8d
mov ecx, dword [esi]
test ecx, ecx
je 0x484b91
push dword [ecx - 8]
push ecx
call fcn.0053f2dd
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x484bac
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x484bac
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.0040b4a2
int3
Function at 0x48e090
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5708aa
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5b3074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00462490
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_CXVScrollBar_.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 0x48e25d
mov eax, dword [ebx]
cmp eax, 0x64
je 0x48e25d
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.00510252
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0044e080
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [edi + 0x150], esi
je 0x48e2a6
test esi, esi
je 0x48e290
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [edi + 0x150]
mov dword [edi + 0x150], esi
test eax, eax
je 0x48e2a6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x320
call fcn.00510252
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0044e080
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [edi + 0x154], esi
je 0x48e2ef
test esi, esi
je 0x48e2d9
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [edi + 0x154]
mov dword [edi + 0x154], esi
test eax, eax
je 0x48e2ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0x1c4], 0x48fcd0
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 0x48eef0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x5b3074]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
mov esi, ecx
mov dword [esp + 0x14], 0
push edi
lea eax, [esp + 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], 0
cmp dword [esi + 0x1a0], 0
push eax
je 0x48efea
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.00463870
mov ecx, dword [esi + 0x1a4]
mov eax, 0
mov edx, dword [esp + 0x50]
sub ecx, edx
add ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x58]
cmovs ecx, eax
mov eax, dword [esi + 0x188]
sub eax, dword [esi + 0x190]
sub eax, edx
add eax, edi
cmp ecx, eax
jle 0x48ef80
mov ecx, dword [esi + 0x188]
sub ecx, dword [esi + 0x190]
sub ecx, edx
add ecx, edi
mov eax, dword [esi + 0x198]
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x48ef96
mov dword [esi + 0x198], ecx
jmp 0x48efc4
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 0x48efb6
sub eax, edi
add eax, edx
jmp 0x48efbe
imul eax, ecx
sub edi, edx
cdq
idiv edi
mov dword [esi + 0x198], eax
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push 0x4b0
mov ecx, esi
call dword [eax + 0x2c]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00510209
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push eax
movups xmm0, xmmword [ecx + 0x184]
movaps xmmword [esp + 0x34], xmm0
call fcn.00463870
movaps xmm1, xmmword [esp + 0x30]
movd eax, xmm1
movaps xmm0, xmm1
psrldq xmm0, 4
push esi
add eax, dword [esp + 0x24]
mov dword [esp + 0x50], eax
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
psrldq xmm1, 0xc
add eax, dword [esp + 0x28]
mov dword [esp + 0x54], eax
movd eax, xmm0
push edi
add eax, dword [esp + 0x28]
mov dword [esp + 0x5c], eax
movd eax, xmm1
add eax, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x48f086
cmp dword [ecx + 0x170], 1
je 0x48f0a1
mov dword [ecx + 0x170], 1
jmp 0x48f099
cmp dword [ecx + 0x170], 0
je 0x48f0a1
mov dword [ecx + 0x170], 0
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00510209
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4949d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.00463910
mov eax, dword [esi]
mov eax, dword [eax + 0xd8]
cmp eax, method.CXStatic.virtual_216
jne 0x494a69
cmp dword [esi + 0x84], 0
je 0x4949ff
cmp dword [esi + 0x88], 0
jne 0x494a24
mov eax, dword [esi]
mov eax, dword [eax + 0x138]
cmp eax, method.CXChildWnd.virtual_312
jne 0x494a79
mov eax, dword [esi + 0x160]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi]
mov eax, dword [eax + 0x138]
cmp eax, method.CXChildWnd.virtual_312
jne 0x494a73
mov eax, dword [esi + 0x160]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
mov ecx, esi
call eax
test eax, eax
je 0x4949ff
jmp 0x494a24
mov ecx, esi
call eax
jmp 0x494a49
mov ecx, esi
call eax
jmp 0x494a59

Function at 0x494a80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.004639d0
mov eax, dword [esi]
mov eax, dword [eax + 0xd8]
cmp eax, method.CXStatic.virtual_216
jne 0x494b19
cmp dword [esi + 0x84], 0
je 0x494aaf
cmp dword [esi + 0x88], 0
jne 0x494ad4
mov eax, dword [esi]
mov eax, dword [eax + 0x138]
cmp eax, method.CXChildWnd.virtual_312
jne 0x494b29
mov eax, dword [esi + 0x160]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi]
mov eax, dword [eax + 0x138]
cmp eax, method.CXChildWnd.virtual_312
jne 0x494b23
mov eax, dword [esi + 0x160]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
mov ecx, esi
call eax
test eax, eax
je 0x494aaf
jmp 0x494ad4
mov ecx, esi
call eax
jmp 0x494af9
mov ecx, esi
call eax
jmp 0x494b09
Function at 0x49c840
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 0x49c941
cmp byte [eax + 0x220], 0
je 0x49c941
cmp byte [ebp + 0xc], 0
je 0x49c885
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 0x49c941
cmp edi, 3
jne 0x49c917
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xff00
test cx, ax
jne 0x49c941
cmp dword [ebx + 0x258], 0
je 0x49c941
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx + 4]
mov esi, dword [ecx]
cmp esi, edi
je 0x49c8e9
mov ecx, dword [esi]
cmp ecx, ebx
je 0x49c8e2
push 1
push 0
call fcn.0049c840
add esi, 4
cmp esi, edi
jne 0x49c8d3
mov esi, dword [ebp + 0xc]
push dword [ebp + 0xc]
push ecx
mov edx, dword [esi + 4]
mov ecx, dword [esi]
call fcn.004a0750
mov eax, dword [esi]
add esp, 8
mov dword [esi + 4], eax
mov ecx, dword [ebx + 0x258]
mov dword [ebx + 0x254], 3
push 1
push ebx
jmp 0x49c97a
test edi, edi
jne 0x49c941
xor ecx, ecx
test esi, esi
je 0x49c941
mov edx, eax
cmp dword [edx], ebx
je 0x49c931
inc ecx
add edx, 4
cmp ecx, esi
jb 0x49c923
jmp 0x49c941
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0049fb70
mov eax, dword [ebx + 0x254]
cmp eax, edi
je 0x49c989
mov dword [ebx + 0x254], edi
cmp edi, 3
jne 0x49c965
mov ecx, dword [ebx + 0x258]
test ecx, ecx
je 0x49c97f
push 0
push ebx
jmp 0x49c97a
test edi, edi
jne 0x49c97f
cmp eax, 3
jne 0x49c97f
mov ecx, dword [ebx + 0x258]
test ecx, ecx
je 0x49c97f
push edi
push edi
call fcn.00499f10
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 0x4a1800
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x168]
test eax, eax
je 0x4a1861
cmp dword [ebp + 8], 0
jne 0x4a1828
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]
mov edx, dword [eax + 0xd8]
cmp eax, vtable.CXLayerEdit.0
jne 0x4a1868
cmp dword [esi + 0x84], 0
je 0x4a1861
cmp dword [esi + 0x88], 0
jne 0x4a1850
xor eax, eax
pop esi
pop ebp
ret 4
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
call edx
test eax, eax
je 0x4a1861
jmp 0x4a1850
Function at 0x4aaf50
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x5b3074]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0
cmp dword [esi + 0x1a4], 0
push eax
je 0x4ab04a
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.00463870
mov ecx, dword [esi + 0x1a8]
mov eax, 0
mov edx, dword [esp + 0x4c]
sub ecx, edx
add ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x54]
cmovs ecx, eax
mov eax, edi
sub eax, dword [esi + 0x190]
sub eax, edx
add eax, dword [esi + 0x188]
cmp ecx, eax
jle 0x4aafe0
mov ecx, edi
sub ecx, dword [esi + 0x190]
sub ecx, edx
add ecx, dword [esi + 0x188]
mov eax, dword [esi + 0x19c]
mov dword [esp + 0xc], eax
test ecx, ecx
jne 0x4aaff6
mov dword [esi + 0x19c], ecx
jmp 0x4ab024
mov eax, dword [esi + 0x188]
sub eax, dword [esi + 0x190]
sub eax, edx
add eax, edi
cmp ecx, eax
mov eax, dword [esi + 0x198]
jne 0x4ab016
sub eax, edi
add eax, edx
jmp 0x4ab01e
imul eax, ecx
sub edi, edx
cdq
idiv edi
mov dword [esi + 0x19c], eax
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push 0x4b2
mov ecx, esi
call dword [eax + 0x2c]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00510209
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x10]
mov ecx, esi
movups xmm0, xmmword [esi + 0x188]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push eax
movaps xmmword [esp + 0x34], xmm0
call fcn.00463870
movaps xmm1, xmmword [esp + 0x30]
mov edx, dword [esp + 0x20]
movaps xmm0, xmm1
mov edi, dword [esp + 0x24]
push dword [esp + 0x18]
movd ecx, xmm1
push dword [esp + 0x20]
psrldq xmm0, 4
movd esi, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
psrldq xmm1, 0xc
lea eax, [ecx + edx]
mov dword [esp + 0x54], eax
lea eax, [esi + edi]
mov dword [esp + 0x58], eax
movd eax, xmm0
sub eax, ecx
add eax, edx
mov dword [esp + 0x5c], eax
movd eax, xmm1
sub eax, esi
add eax, edi
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x4ab0f8
cmp dword [ecx + 0x174], 1
je 0x4ab113
mov dword [ecx + 0x174], 1
jmp 0x4ab10b
cmp dword [ecx + 0x174], 0
je 0x4ab113
mov dword [ecx + 0x174], 0
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00510209
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b4040
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572908
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x5b3074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5ccb44]
test eax, eax
je 0x4b408f
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b408f
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.005412e8
add esp, 4
call fcn.005412c7
mov esi, eax
call fcn.00409c54
mov ecx, eax
test ecx, ecx
jne 0x4b40ba
push 0x80004005
call fcn.0040b4a2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4b40cf
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4b40d1
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push str.x_GeneralNotify_lu
push eax
call fcn.00418437
mov esi, dword [ebp - 0x10]
add esp, 8
push esi
push ecx
mov ecx, 0x5ccb50
call fcn.0045a950
push 0x2c
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x30
push 0
push eax
call fcn.00517390
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0x5ccb50
mov dword [ebp - 0x38], 0x4b4020
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [ebp - 0x2c]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push str.CGeneralObserverMgrWnd
push dword [ebp - 0x18]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x5ccb44], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4b41bd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4b41bb
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret