Function at 0x4ff890
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507c7d
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5845f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov ecx, 0x5845c0
call fcn.00426820
mov dword [0x58bb78], eax
push 0x65
mov eax, dword [ebp + 0x30]
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x4c], eax
push 0x30
push 0
lea ecx, [ebp - 0x40]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x40], 0x30
mov edx, dword [ebp + 0x30]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x38], 0x4ff6b0
mov dword [ebp - 0x18], str.Millennium
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov word [ebp - 0x50], ax
mov ecx, 0xc
lea esi, [ebp - 0x40]
mov edi, 0x58bb44
rep movsd dword es:[edi], dword [esi]
push 0
push 0
push 0
push 0
mov ecx, dword [0x5845dc]
push ecx
mov edx, dword [0x5845d8]
push edx
push 0x80000000
push 0x80000000
push 0x80cf0000
mov eax, dword [0x58bb78]
push eax
mov ecx, dword [0x58bb6c]
push ecx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x58bb74], eax
mov edx, dword [ebp - 0x4c]
push edx
push 1
push 0x80
mov eax, dword [0x58bb74]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x4c]
push ecx
push 0
push 0x80
mov edx, dword [0x58bb74]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.00500c50
push 1
call fcn.00500e30
add esp, 4
push 1
call fcn.00500ee0
add esp, 4
mov eax, dword [0x58bb74]
push eax
call fcn.00500a70
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x4ff9d8
call fcn.00500b20
push 5
mov edx, dword [0x58bb74]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x58bb74]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 3
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [0x58bb74]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
call fcn.004ff530
push 0
call fcn.00440ce0
add esp, 4
push eax
call fcn.00440e00
add esp, 4
call fcn.00440e10
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
push edx
call fcn.00500d00
add esp, 4
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
or ecx, 0x400
mov edx, dword [ebp - 0x48]
mov dword [edx], ecx
mov dword [0x58bb24], 1
mov dword [0x58bb20], 0
call fcn.00500d40
mov eax, dword [0x58bb74]
push eax
call fcn.004be400
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x4ffca4
mov edx, dword [0x58baec]
push edx
call fcn.004bc8d0
add esp, 4
movzx eax, al
test eax, eax
je 0x4ffca4
call fcn.004ffd20
xor ecx, ecx
mov dword [0x58bb28], ecx
mov dword [0x58bb2c], ecx
mov dword [0x58bb30], ecx
mov dword [0x58bb34], ecx
mov dword [0x58bb38], ecx
mov dword [0x58bb3c], ecx
mov dword [0x58bb40], ecx
cmp dword [0x58bb2c], 0x12
je 0x4ffc7a
push 1
push 0
push 0
push 0
push 0x58bb28
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4ffb01
push 0x58bb28
call dword [sym.imp.USER32.dll_TranslateMessage]
push 0x58bb28
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4ffac5
call fcn.004bc980
call fcn.004be770
call fcn.00440e90
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x68]
call fcn.00439b80
mov dword [ebp - 0x54], eax
call fcn.0044e9f0
add eax, 0x18
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x54]
push edx
push 0
mov eax, dword [ebp - 0x58]
push eax
call fcn.00449fb0
add esp, 0xc
push 0
call fcn.0044e9f0
add eax, 0x20
push eax
call fcn.0044a070
add esp, 8
mov ecx, dword [0x5845e0]
push ecx
push 0x55d698
push 0x513ecc
call fcn.00444ff0
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.005012c0
call fcn.004495a0
call fcn.00441b30
mov edx, dword [0x58baec]
mov eax, dword [edx]
mov ecx, dword [eax + 0xac]
mov dword [ebp - 0x5c], ecx
push 0
push ecx
movss xmm0, dword [0x50bfb8]
movss dword [esp], xmm0
push 0
push 3
push 0
push 0
mov edx, dword [0x58baec]
push edx
call dword [ebp - 0x5c]
mov eax, dword [0x58baec]
mov ecx, dword [eax]
mov edx, dword [0x58baec]
push edx
mov eax, dword [ecx + 0xa4]
call eax
test eax, eax
jl 0x4ffbfe
call fcn.00441f50
call fcn.004424e0
push eax
call fcn.004bc9a0
add esp, 4
mov ecx, dword [0x58baec]
mov edx, dword [ecx]
mov eax, dword [0x58baec]
push eax
mov ecx, dword [edx + 0xa8]
call ecx
call fcn.00440e10
mov edx, dword [eax]
and edx, 0x400
je 0x4ffc12
call fcn.00450b30
push 0
push 0
call fcn.00451170
add esp, 8
mov eax, dword [0x58baec]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x60], edx
push 0
push 0
push 0
push 0
mov eax, dword [0x58baec]
push eax
call dword [ebp - 0x60]
cmp eax, 0x88760868
jne 0x4ffc62
mov ecx, dword [0x58baec]
mov edx, dword [ecx]
mov eax, dword [0x58baec]
push eax
mov ecx, dword [edx + 0xc]
call ecx
cmp eax, 0x88760869
jne 0x4ffc62
call fcn.00500b90
movzx edx, byte [0x55d698]
test edx, edx
jne 0x4ffc75
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x4ffac5
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x90]
call fcn.004aa200
call fcn.004bc940
call fcn.004be6f0
call fcn.00500b20
mov ecx, dword [0x58bb74]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov byte [ebp - 0x41], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00439f40
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00502b55
mov esp, ebp
pop ebp
ret