Function at 0x40edd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451b26
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x46b008]
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 0x40ee14
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 0x40ee9f
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp eax, 0x60
jg 0x40ee38
fld1
jmp 0x40ee4d
cmp eax, 0x96
jg 0x40ee47
fld dword [0x4648e0]
jmp 0x40ee4d
fld dword [0x4648dc]
fst dword [ebx + 0x60]
fstp dword [ebp - 0x104]
fld dword [ebp - 0x104]
fild dword [0x46b870]
fstp dword [ebp - 0x108]
fld dword [ebp - 0x108]
fdiv st(1)
call fcn.00450c70
fild dword [0x46b874]
mov dword [0x46b870], eax
fstp dword [ebp - 0x108]
fdivr dword [ebp - 0x108]
call fcn.00450c70
push esi
push 0
mov dword [0x46b874], 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 0x40ef58
push eax
lea eax, [ebp - 0xe8]
push str.GdiplusStartup_failed_with__i
push eax
call fcn.004123b0
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x40ef0e
mov ecx, edi
call fcn.00401280
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
mov edx, dword [ebp - 0xd4]
cmp edx, 8
jb 0x40ef4e
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ef44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5ff
push edx
push ecx
call fcn.0041b657
add esp, 8
mov eax, 7
jmp 0x40f5e1
mov eax, dword [ebx]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push str.APP_ICON
push eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x13c], 0x30
mov dword [ebp - 0x138], 3
mov dword [ebp - 0x134], 0x40e0a0
mov dword [ebp - 0x128], eax
call esi
push str.APP_ICON
push dword [ebx]
mov dword [ebp - 0x124], eax
call esi
push 0x7f00
push 0
mov dword [ebp - 0x110], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 0x118], str.EasyAntiCheatSetupUIMenu
mov dword [ebp - 0x114], str.EasyAntiCheatSetupUIClass
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, ebx
call fcn.0040fd70
push 0x1d
push str.Easy_Anti_Cheat_Service_Setup
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
call fcn.00401580
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x98]
push 0xb
push str.setup.title
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
call fcn.00401580
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp - 0x98]
mov ecx, esp
push eax
call fcn.00403580
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebx + 0x68]
call fcn.00402fd0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
jb 0x40f0c1
mov eax, dword [ebp - 0x58]
push 0
push dword [ebx]
push 0
push 0
push dword [0x46b874]
push dword [0x46b870]
push 0x80000000
push 0x80000000
push 0xca0000
push eax
push str.EasyAntiCheatSetupUIClass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x44]
mov dword [ebx + 0x34], eax
cmp edx, 8
jb 0x40f12f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f125
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f604
push edx
push ecx
call fcn.0041b657
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 0x10
jb 0x40f180
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f176
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f609
push edx
push ecx
call fcn.0041b657
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x9c]
cmp edx, 0x10
jb 0x40f1c1
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f1b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f60e
push edx
push ecx
call fcn.0041b657
add esp, 8
cmp dword [ebx + 0x34], 0
jne 0x40f26b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x100]
push str.CreateWindowEx_failed_with__i
push eax
call fcn.004123b0
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x40f228
mov ecx, edi
call fcn.00401280
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
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x40ef4e
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ef44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f613
jmp 0x40ef44
mov eax, dword [ebp + 8]
sub eax, 0
je 0x40f289
sub eax, 2
jne 0x40f3ef
mov ecx, dword [ebx + 0x38]
call fcn.00417510
jmp 0x40f3ef
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00410290
test al, al
je 0x40f35c
lea eax, [ebp - 0x28]
xor dl, dl
push eax
xor ecx, ecx
call fcn.0041b180
add esp, 4
test al, al
je 0x40f35c
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
jb 0x40f2ec
mov edx, esi
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
jb 0x40f2f8
mov ecx, dword [ebp - 0x70]
call fcn.00408140
test al, al
jne 0x40f35f
mov edi, dword [ebx + 0x38]
xor esi, esi
cmp dword [edi + 0xe8], esi
jbe 0x40f35c
mov edi, edi
push 0
push esi
push 0x150
push dword [edi + 0xc0]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x40f330
cmp eax, 0xcb
je 0x40f33b
inc esi
cmp esi, dword [edi + 0xe8]
jb 0x40f310
jmp 0x40f35c
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]
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40f39a
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x40f390
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f618
push ecx
push esi
call fcn.0041b657
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x40f3ef
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f3e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f61d
push edx
push ecx
call fcn.0041b657
add esp, 8
push 5
xor eax, eax
mov dword [ebp - 0x30], 0
push str.Arial
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004013c0
fld dword [ebx + 0x60]
fdivr qword [0x464900]
call fcn.00450c70
mov esi, dword [ebx + 0x34]
mov ecx, eax
test esi, esi
je 0x40f472
test ecx, ecx
je 0x40f472
cmp dword [ebp - 0x30], 0
je 0x40f472
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
jb 0x40f43f
mov eax, dword [ebp - 0x40]
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 0x40f472
push 0
push eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40f4ac
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f4a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f622
push edx
push ecx
call fcn.0041b657
add esp, 8
mov eax, dword [0x46b874]
mov esi, dword [0x46b870]
mov dword [ebp - 0x108], eax
mov eax, dword [ebx + 0x34]
push 0
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0xc0]
push eax
push 0
push 0x30
mov dword [ebp - 0x10c], esi
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x40f570
mov eax, dword [ebp - 0xb8]
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 - 0xb4]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ebp - 0x108]
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
lea eax, [ebp - 0xd0]
push eax
push dword [ebp - 0x104]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x104]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0xc4]
sub eax, dword [ebp - 0x7c]
add eax, dword [ebp - 0x108]
push 1
push eax
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x10c]
push eax
push esi
push edi
push dword [ebp - 0x104]
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 - 0x158]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x40f5de
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea esp, [esp]
cmp eax, 0xffffffff
je 0x40f5de
lea eax, [ebp - 0x158]
push eax
call edi
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x158]
push eax
call esi
test eax, eax
jne 0x40f5b0
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.0041b616
mov esp, ebp
pop ebp
ret 8
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
int3