Function at 0x40e710
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455c56
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x46f068]
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
jb 0x40e74d
mov eax, dword [edi]
xor ecx, ecx
mov dword [edi + 0x10], 0
push ecx
mov word [eax], cx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x40e7df
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp eax, 0x60
jg 0x40e778
fld1
jmp 0x40e78d
cmp eax, 0x96
jg 0x40e787
fld dword [0x468228]
jmp 0x40e78d
fld dword [0x468224]
fst dword [ebx + 0x60]
fstp dword [ebp - 0x104]
fld dword [ebp - 0x104]
fild dword [0x46fa94]
fstp dword [ebp - 0x108]
fld dword [ebp - 0x108]
fdiv st(1)
call fcn.00454e70
fild dword [0x46fa90]
mov dword [0x46fa94], eax
fstp dword [ebp - 0x108]
fdivr dword [ebp - 0x108]
call fcn.00454e70
push esi
push 0
mov dword [0x46fa90], 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 0x40e898
push eax
lea eax, [ebp - 0xe8]
push str.GdiplusStartup_failed_with__i
push eax
call fcn.004121b0
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x40e84e
mov ecx, edi
call fcn.00401290
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 0x40e88e
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e884
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ef5f
push edx
push ecx
call fcn.00434e86
add esp, 8
mov eax, 7
jmp 0x40ef41
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], 0x40d640
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.0040f730
mov eax, dword [ebx]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x108], eax
mov eax, dword [0x46fa90]
push 0x1d
mov dword [ebp - 0x104], eax
mov eax, dword [0x46fa94]
push str.Easy_Anti_Cheat_Service_Setup
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
call fcn.00401590
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.00401590
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp - 0x98]
mov ecx, esp
push eax
call fcn.004035c0
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebx + 0x68]
call fcn.00402ea0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
jb 0x40ea1f
mov eax, dword [ebp - 0x58]
push 0
push dword [ebp - 0x108]
push 0
push 0
push dword [ebp - 0x104]
push dword [ebp - 0x10c]
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 0x40ea91
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ea87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ef64
push edx
push ecx
call fcn.00434e86
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 0x40eae2
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ead8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ef69
push edx
push ecx
call fcn.00434e86
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x9c]
cmp edx, 0x10
jb 0x40eb23
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40eb19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ef6e
push edx
push ecx
call fcn.00434e86
add esp, 8
cmp dword [ebx + 0x34], 0
jne 0x40eb8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x100]
push str.CreateWindowEx_failed_with__i
push eax
call fcn.004121b0
add esp, 0xc
mov ecx, edi
push eax
call fcn.00403240
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x40e88e
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e884
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ef73
jmp 0x40e884
mov eax, dword [ebp + 8]
sub eax, 0
je 0x40ebad
sub eax, 2
jne 0x40ed52
mov ecx, dword [ebx + 0x38]
call fcn.00417e60
jmp 0x40ed52
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.0040fc70
test al, al
je 0x40ecbf
lea eax, [ebp - 0x28]
xor dl, dl
push eax
xor ecx, ecx
call fcn.0041f550
add esp, 4
test al, al
je 0x40ecbf
mov edi, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp edi, 8
jb 0x40ec12
mov edx, esi
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
jb 0x40ec1e
mov ecx, dword [ebp - 0x70]
push 0xffffffffffffffff
call fcn.00406ff0
add esp, 4
test al, al
jne 0x40ecc5
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x10c], 0xd9
mov dword [eax + 0x8c], 0xd9
lea eax, [ebp - 0x10c]
mov esi, dword [ebx + 0x38]
push eax
lea ecx, [esi + 0xe4]
call fcn.00419450
mov ecx, esi
or dword [eax], 4
call fcn.004181a0
mov edi, dword [ebx + 0x38]
xor esi, esi
cmp dword [edi + 0xe8], esi
jbe 0x40ecbf
push 0
push esi
push 0x150
push dword [edi + 0xc0]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x40ec93
cmp eax, 0xd9
je 0x40ec9e
inc esi
cmp esi, dword [edi + 0xe8]
jb 0x40ec73
jmp 0x40ecbf
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 edi, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edi, 8
jb 0x40ecfd
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x40ecf3
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ef78
push edi
push esi
call fcn.00434e86
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 0x40ed52
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ed48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ef7d
push edx
push ecx
call fcn.00434e86
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.004013d0
fld dword [ebx + 0x60]
fdivr qword [0x468248]
call fcn.00454e70
mov esi, dword [ebx + 0x34]
mov ecx, eax
test esi, esi
je 0x40edd5
test ecx, ecx
je 0x40edd5
cmp dword [ebp - 0x30], 0
je 0x40edd5
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
jb 0x40eda2
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 0x40edd5
push 0
push eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40ee0f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ee05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ef82
push edx
push ecx
call fcn.00434e86
add esp, 8
mov eax, dword [0x46fa90]
mov esi, dword [0x46fa94]
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 0x40eed3
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 - 0x15c]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x40ef3e
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
nop
cmp eax, 0xffffffff
je 0x40ef3e
lea eax, [ebp - 0x15c]
push eax
call edi
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x15c]
push eax
call esi
test eax, eax
jne 0x40ef10
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.00434e45
mov esp, ebp
pop ebp
ret 8
call fcn.00439dba
call fcn.00439dba
call fcn.00439dba
call fcn.00439dba
call fcn.00439dba
call fcn.00439dba
call fcn.00439dba
call fcn.00439dba
int3