joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5bc330
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0xc1cd34]
test esi, esi
jle 0x5bc450
mov eax, dword [0xc1cd38]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x5bc364
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x5bc3e7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x5bc350
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x5bc477
mov eax, dword [0xc1cd38]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0xc1cd38]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x5bc457
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x5bc3e0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x5bc3f0
add dword [0xc1cd34], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0xc1cd38]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x5bc3e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x5bc36e
mov eax, dword [0xc1cd38]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop

Function at 0x5bc930
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0xc1cd50
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0xc1cd48]
sub esp, 4
test ebx, ebx
je 0x5bc985
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x5bc97e
test esi, esi
je 0x5bc97e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x5bc960
mov dword [esp], 0xc1cd50
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x5bccb0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x5bccd5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x5bcce0
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x5bccd5
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test esi, esi
je 0x5bcd28
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x5bcd1e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x5bcd2a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x5bcd10
xor eax, eax
pop ebx
pop esi
ret
Function at 0x41ae40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x41ae62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ae69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ae58
mov eax, 1
add ebx, ebx
jne 0x41ae7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ae70
jne 0x41ae8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ae70
xor ecx, ecx
sub eax, 3
jb 0x41aea0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41af12
mov ebp, eax
add ebx, ebx
jne 0x41aeab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41aeb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41aedc
inc ecx
add ebx, ebx
jne 0x41aec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41aebd
jne 0x41aed9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41aebd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41aefc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41aeed
jmp 0x41ae5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41aefc
add edi, ecx
jmp 0x41ae5e
pop esi
mov edi, esi
mov ecx, 0x2d4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41af1a
cmp byte [edi], 0
jne 0x41af1a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41af1f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41af8e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a720]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a798]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41af4c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a79c]
or eax, eax
je 0x41af88
mov dword [ebx], eax
add ebx, 4
jmp 0x41af69
call dword [esi + 0x1a7a0]
popal
jmp section.UPX0
Function at 0x401660
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
push 0x20006
push 0
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4016a7
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 0
push 0x20006
push 0
push 0
push 0
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 8
ret

Function at 0x4016e0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
push 0x20006
push 0
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401727
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 0
push 0x20006
push 0
push 0
push 0
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [esp + 0x18]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401730
mov ecx, dword [esp + 4]
sub eax, esi
inc eax
push eax
mov eax, dword [esp + 0x18]
push edx
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 8
ret

Function at 0x401b97
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x401ba1
repz ret
jmp fcn.00404759
Function at 0x40abc4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040886b
and dword [ebp - 4], 0
cmp dword [0x424a68], 0
mov ebx, eax
jne 0x40ac75
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ad26
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41fc44
push edi
call esi
test eax, eax
je 0x40ad26
push eax
call fcn.004087f9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x424a68], eax
call esi
push eax
call fcn.004087f9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x424a6c], eax
call esi
push eax
call fcn.004087f9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x424a70], eax
call esi
push eax
call fcn.004087f9
pop ecx
mov dword [0x424a78], eax
test eax, eax
je 0x40ac75
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004087f9
pop ecx
mov dword [0x424a74], eax
mov eax, dword [0x424a74]
cmp eax, ebx
je 0x40accd
cmp dword [0x424a78], ebx
je 0x40accd
push eax
call fcn.00408874
push dword [0x424a78]
mov esi, eax
call fcn.00408874
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40accd
test edi, edi
je 0x40accd
call esi
test eax, eax
je 0x40acc4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40acc4
test byte [ebp - 0xc], 1
jne 0x40accd
or dword [ebp + 0x10], 0x200000
jmp 0x40ad06
mov eax, dword [0x424a6c]
cmp eax, ebx
je 0x40ad06
push eax
call fcn.00408874
pop ecx
test eax, eax
je 0x40ad06
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ad06
mov eax, dword [0x424a70]
cmp eax, ebx
je 0x40ad06
push eax
call fcn.00408874
pop ecx
test eax, eax
je 0x40ad06
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x424a68]
call fcn.00408874
pop ecx
test eax, eax
je 0x40ad26
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40ad28
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x40a210
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b119a
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4e2018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
push 0x4c6c00
push str.start
push str.uninstall
mov dword [0x4e67d8], 1
call fcn.00465c40
add esp, 0xc
cmp dword [0x4e6768], 0
jne 0x40a2a9
push 0x128
call fcn.004865a5
mov esi, eax
add esp, 4
mov dword [ebp - 0x144], esi
push 0x128
push 0
push esi
mov dword [ebp - 4], 0
call fcn.00488c10
add esp, 0xc
mov ecx, esi
call fcn.00403230
mov dword [ebp - 4], 0xffffffff
mov dword [0x4e6768], eax
call fcn.00403730
push 0x118
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.00488c10
add esp, 0xc
mov dword [ebp - 0x134], 0x11c
push str.RtlGetVersion
push str.NtDll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a307
lea ecx, [ebp - 0x134]
push ecx
call eax
test eax, eax
je 0x40a307
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40a320
cmp dword [ebp - 0x130], 0xa
jb 0x40a320
cmp byte [ebp - 0x1a], 1
mov dword [ebp - 0x144], 0
je 0x40a32a
mov dword [ebp - 0x144], 1
lea esi, [edi + 0x1c]
mov ecx, 1
xor ebx, ebx
mov dword [ebp - 0x140], ecx
nop word [eax + eax]
test ecx, ecx
je 0x40a36a
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x40a36a
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 8]
inc ebx
test eax, eax
jne 0x40a344
mov dword [ebp - 0x140], eax
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_GetMessageW]
mov ecx, dword [ebp - 0x140]
cmp eax, 0xffffffff
je 0x40a340
test eax, eax
je 0x40a3ed
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 4]
test eax, eax
jne 0x40a3d2
cmp dword [ebp - 0x144], eax
je 0x40a3c4
cmp dword [edi + 0x20], 0x20a
jne 0x40a3c4
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 0x138]
push dword [ebp - 0x13c]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [esi], eax
push esi
call dword [sym.imp.USER32.dll_TranslateMessage]
push esi
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x140]
test eax, eax
je 0x40a340
jmp 0x40a32d
mov eax, dword [edi + 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00486589
mov esp, ebp
pop ebp
ret
Function at 0x40d210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b13a8
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4e2018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], 0
push 0x404
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.00488c10
add esp, 0xc
mov dword [ebp - 0x424], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], esi
test esi, esi
jne 0x40d2c9
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], eax
test esi, esi
jne 0x40d2c9
call fcn.0040b8c0
mov edi, eax
jmp 0x40d3e5
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40d2ec
call fcn.0040b8c0
jmp 0x40d3d8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
test ebx, ebx
jne 0x40d30a
call fcn.0040b8c0
jmp 0x40d3d8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x428], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x40d32b
mov edi, 0x8007000e
jmp 0x40d3da
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x40d41e
jb 0x40d349
cmp eax, 0xffffffff
ja 0x40d41e
cmp eax, 0x400
jbe 0x40d35e
push eax
lea ecx, [ebp - 0x424]
call fcn.0040b890
jmp 0x40d384
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x40d384
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
jne 0x40d39b
mov edi, 0x8007000e
jmp 0x40d3da
push edi
push dword [ebp - 0x424]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x40d3bb
call fcn.0040b8c0
jmp 0x40d3d8
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.0040d0b0
mov edi, eax
test esi, esi
je 0x40d3e5
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x40d3fe
lea ecx, [ebp - 0x424]
call fcn.0040b870
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00486589
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00404610
int3
Function at 0x410320
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4e2018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], eax
push edi
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x410347
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [esi + 0xf0], 0
je 0x410493
mov eax, dword [esi + 0xec]
test eax, eax
je 0x410493
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x410493
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x410482
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x410482
mov eax, dword [esi + 0xec]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 0x38]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
cmp byte [eax + 4], 0
je 0x4103de
mov ecx, dword [eax]
cmp ecx, 0x64
je 0x4103de
push 0x64
push ecx
push 5
call edi
mov ecx, eax
mov eax, dword [esi + 0x30]
jmp 0x4103e3
mov ecx, 5
sub dword [ebp - 0x14], ecx
cmp byte [eax + 4], 0
je 0x410401
mov ecx, dword [eax]
cmp ecx, 0x64
je 0x410401
push 0x64
push ecx
push 3
call edi
mov edx, eax
mov eax, dword [esi + 0x30]
jmp 0x410406
mov edx, 3
mov ecx, dword [ebp - 0x10]
sub ecx, edx
mov dword [ebp - 0x10], ecx
cmp byte [eax + 4], 0
je 0x41042c
mov edx, dword [eax]
cmp edx, 0x64
je 0x41042c
push 0x64
push edx
push 5
call edi
mov ecx, dword [ebp - 0x10]
mov ebx, eax
mov eax, dword [esi + 0x30]
jmp 0x410431
mov ebx, 5
mov edx, dword [ebp - 0xc]
add edx, ebx
mov dword [ebp - 0xc], edx
cmp byte [eax + 4], 0
je 0x410457
mov eax, dword [eax]
cmp eax, 0x64
je 0x410457
push 0x64
push eax
push 7
call edi
mov edx, dword [ebp - 0xc]
mov edi, eax
mov ecx, dword [ebp - 0x10]
jmp 0x41045c
mov edi, 7
mov eax, dword [ebp - 8]
add eax, edi
mov dword [ebp - 8], eax
sub eax, ecx
push 1
push eax
mov eax, dword [ebp - 0x14]
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [esi + 0xec]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x410493
mov eax, dword [esi + 0xec]
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax], 0
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00486589
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41d4f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1f3b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4e2018]
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.00404840
mov ecx, eax
test ecx, ecx
je 0x41d630
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x41d63a
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
push 0x1c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004865a5
xorps xmm0, xmm0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword fs:[0x2c]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov ecx, dword [eax]
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
mov eax, dword [0x4f75ac]
cmp eax, dword [ecx + 4]
jle 0x41d608
push 0x4f75ac
call fcn.00486716
add esp, 4
cmp dword [0x4f75ac], 0xffffffff
jne 0x41d608
push 0x4b9cd0
mov dword [0x4f75b0], 0x64
mov byte [0x4f75b4], 0
call fcn.00486a4b
push 0x4f75ac
call fcn.004866cc
add esp, 8
mov dword [edi + 0x30], 0x4f75b0
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x41dec0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404610
push 0x80004005
call fcn.00404610
int3
Function at 0x42ae90
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4e2018]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
cmp eax, 0x5f7
je 0x42afa4
cmp eax, 0x5f8
je 0x42afa4
cmp eax, 0x201
jne 0x42aeeb
mov ecx, dword [esi + 0x138]
push 2
mov eax, dword [ecx]
call dword [eax + 0x158]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00486589
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x202
jne 0x42b036
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
mov eax, dword [esi]
mov dword [esp + 0xc], ecx
mov ecx, esi
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esi + 0x60]
sub eax, dword [esi + 0x58]
mov ecx, dword [esp + 4]
add eax, ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x64]
sub eax, dword [esi + 0x5c]
add eax, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], 0
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, dword [esi + 0x138]
mov edx, dword [ecx]
test eax, eax
je 0x42b02e
push 1
call dword [edx + 0x158]
push ecx
mov ecx, esi
call fcn.004297c0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00486589
mov esp, ebp
pop ebp
ret 0x14
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi]
mov dword [esp + 0x14], ecx
mov ecx, esi
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esi + 0x60]
sub eax, dword [esi + 0x58]
mov ecx, dword [esp + 0xc]
add eax, ecx
mov edx, dword [esp + 0x10]
push dword [esp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x64]
sub eax, dword [esi + 0x5c]
push dword [esp + 8]
add eax, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx]
test eax, eax
je 0x42b02e
push 1
jmp 0x42b030
push 0
call dword [edx + 0x158]
mov ecx, dword [esp + 0x24]
xor eax, eax
pop esi
xor ecx, esp
call fcn.00486589
mov esp, ebp
pop ebp
ret 0x14