Function at 0x40f250
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c35f
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x47b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov eax, edi
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x40f294
mov eax, dword [edi]
xor ecx, ecx
push ecx
mov word [eax], cx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x40f31f
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp eax, 0x60
jg 0x40f2b8
fld1
jmp 0x40f2cd
cmp eax, 0x96
jg 0x40f2c7
fld dword [0x47006c]
jmp 0x40f2cd
fld dword [0x470068]
fst dword [ebx + 0x60]
fstp dword [ebp - 0x194]
fld dword [ebp - 0x194]
fild dword [0x47b9e4]
fstp dword [ebp - 0x198]
fld dword [ebp - 0x198]
fdiv st(1)
call fcn.0045af00
fild dword [0x47b9e0]
mov dword [0x47b9e4], eax
fstp dword [ebp - 0x198]
fdivr dword [ebp - 0x198]
call fcn.0045af00
push esi
push 0
mov dword [0x47b9e0], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
lea eax, [ebx + 0x24]
push eax
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
je 0x40f39f
push eax
lea eax, [ebp - 0x130]
push str.GdiplusStartup_failed_with__i
push eax
call fcn.00411e60
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x40f38a
mov ecx, edi
call fcn.00401520
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x130]
call fcn.00401520
mov eax, 7
jmp 0x40f9e1
push 0x30
lea eax, [ebp - 0x1cc]
push 0
push eax
call fcn.00438c00
mov eax, dword [ebx]
add esp, 0xc
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x1cc], 0x30
mov dword [ebp - 0x1c8], 3
push str.APP_ICON
push eax
mov dword [ebp - 0x1c4], 0x40e590
mov dword [ebp - 0x1b8], eax
call esi
push str.APP_ICON
push dword [ebx]
mov dword [ebp - 0x1b4], eax
call esi
push 0x7f00
push 0
mov dword [ebp - 0x1a0], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1cc]
push eax
mov dword [ebp - 0x1a8], str.EasyAntiCheatSetupUIMenu
mov dword [ebp - 0x1a4], str.EasyAntiCheatSetupUIClass
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, ebx
call fcn.004102d0
push 0x1d
push str.Easy_Anti_Cheat_Service_Setup
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
call fcn.004016e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x80]
push 0xb
push str.setup.title
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
call fcn.004016e0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x80]
mov ecx, ebx
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.0040fa00
cmp dword [eax + 0x14], 8
jb 0x40f4b0
mov eax, dword [eax]
push 0
push dword [ebx]
push 0
push 0
push dword [0x47b9e0]
push dword [0x47b9e4]
push 0x80000000
push 0x80000000
push 0xca0000
push eax
push str.EasyAntiCheatSetupUIClass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [ebp - 0x148]
mov dword [ebx + 0x34], eax
call fcn.00401520
lea ecx, [ebp - 0x80]
call fcn.00401680
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0xffffffff
call fcn.00401680
cmp dword [ebx + 0x34], 0
jne 0x40f547
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x160]
push str.CreateWindowEx_failed_with__i
push eax
call fcn.00411e60
add esp, 0xc
mov ecx, edi
push eax
call fcn.00403810
lea ecx, [ebp - 0x160]
call fcn.00401520
mov eax, 7
jmp 0x40f9e1
mov eax, dword [ebp + 8]
sub eax, 0
je 0x40f73e
sub eax, 2
jne 0x40f824
mov edi, dword [ebx + 0x38]
cmp dword [edi + 0x88], eax
je 0x40f824
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
push dword [edi + 0xbc]
mov byte [edi + 0x9c], 1
call esi
push 0
push dword [edi + 0xb8]
call esi
mov esi, dword [edi + 0x88]
mov ecx, edi
push esi
call fcn.00415ad0
test al, al
jne 0x40f677
push esi
mov ecx, edi
call fcn.00415a80
test al, al
jne 0x40f677
push 6
push str.Finish
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], al
call fcn.004016e0
mov dword [ebp - 4], 6
lea ecx, [ebp - 0xb0]
push 0x10
push str.setup.btn_finish
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
call fcn.004016e0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 7
mov ecx, dword [edi + 0x90]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.0040fa00
cmp dword [eax + 0x14], 8
jb 0x40f63d
mov eax, dword [eax]
push eax
push dword [edi + 0xc4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x178]
call fcn.00401520
lea ecx, [ebp - 0xb0]
call fcn.00401680
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 0xffffffff
call fcn.00401680
jmp 0x40f824
push 9
push str.Uninstall
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
call fcn.004016e0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xe0]
push 0x13
push str.setup.btn_uninstall
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0xf
mov byte [ebp - 0xe0], 0
call fcn.004016e0
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 5
mov ecx, dword [edi + 0x90]
push eax
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.0040fa00
cmp dword [eax + 0x14], 8
jb 0x40f704
mov eax, dword [eax]
push eax
push dword [edi + 0xc4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x190]
call fcn.00401520
lea ecx, [ebp - 0xe0]
call fcn.00401680
lea ecx, [ebp - 0xf8]
mov dword [ebp - 4], 0xffffffff
call fcn.00401680
jmp 0x40f824
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 2
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00410740
test al, al
je 0x40f80d
lea eax, [ebp - 0x40]
xor dl, dl
push eax
xor ecx, ecx
call fcn.00418bb0
add esp, 4
test al, al
je 0x40f80d
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
jb 0x40f79f
mov edx, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
jb 0x40f7ab
mov ecx, dword [ebp - 0x58]
call fcn.0040b560
test al, al
jne 0x40f80d
mov edi, dword [ebx + 0x38]
xor esi, esi
cmp dword [edi + 0xe8], esi
jbe 0x40f80d
push 0
push esi
push 0x150
push dword [edi + 0xc0]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x40f7e1
cmp eax, 0x114
je 0x40f7ec
inc esi
cmp esi, dword [edi + 0xe8]
jb 0x40f7c1
jmp 0x40f80d
push 0
push esi
push 0x14e
push dword [edi + 0xc0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
mov ecx, edi
push dword [edi + 0xc0]
call dword [eax + 0x18]
lea ecx, [ebp - 0x40]
call fcn.00401520
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.00401520
xor eax, eax
mov dword [ebp - 0x18], 0
push str.Arial
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00401590
fld dword [ebx + 0x60]
fdivr qword [0x470088]
call fcn.0045af00
mov esi, dword [ebx + 0x34]
mov ecx, eax
test esi, esi
je 0x40f8a5
test ecx, ecx
je 0x40f8a5
cmp dword [ebp - 0x18], 0
je 0x40f8a5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x40f872
mov eax, dword [ebp - 0x28]
push eax
push 2
push 3
push 0
push 0
push 0
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_CreateFontW]
test eax, eax
je 0x40f8a5
push 0
push eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x28]
call fcn.00401520
mov eax, dword [0x47b9e0]
mov esi, dword [0x47b9e4]
mov dword [ebp - 0x198], eax
mov eax, dword [ebx + 0x34]
push 0
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0x30
mov dword [ebp - 0x19c], esi
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x40f971
mov eax, dword [ebp - 0x100]
cdq
sub eax, edx
mov edi, eax
mov eax, esi
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub edi, eax
mov eax, dword [ebp - 0xfc]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ebp - 0x198]
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x194]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x194]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x198]
push 1
push eax
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x19c]
push eax
push esi
push edi
push dword [ebp - 0x194]
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 5
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x1e8]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x40f9de
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ecx]
cmp eax, 0xffffffff
je 0x40f9de
lea eax, [ebp - 0x1e8]
push eax
call edi
lea eax, [ebp - 0x1e8]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x1e8]
push eax
call esi
test eax, eax
jne 0x40f9b0
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042207c
mov esp, ebp
pop ebp
ret 8