Function at 0x40e450
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455e61
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x46f008]
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 0x40e48d
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 0x40e51f
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp eax, 0x60
jg 0x40e4b8
fld1
jmp 0x40e4cd
cmp eax, 0x96
jg 0x40e4c7
fld dword [0x468690]
jmp 0x40e4cd
fld dword [0x46868c]
fst dword [ebx + 0x60]
fstp dword [ebp - 0x2dc]
fld dword [ebp - 0x2dc]
fild dword [0x46fa34]
fstp dword [ebp - 0x2e0]
fld dword [ebp - 0x2e0]
fdiv st(1)
call fcn.00455020
fild dword [0x46fa30]
mov dword [0x46fa34], eax
fstp dword [ebp - 0x2e0]
fdivr dword [ebp - 0x2e0]
call fcn.00455020
push esi
push 0
mov dword [0x46fa30], 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 0x40e593
push eax
lea eax, [ebp - 0x278]
push str.GdiplusStartup_failed_with__i
push eax
call fcn.004123f0
add esp, 0xc
mov ecx, edi
push eax
call fcn.00403700
mov edx, dword [ebp - 0x264]
cmp edx, 8
jb 0x40e890
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e886
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed3f
jmp 0x40e886
mov eax, dword [ebx]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push str.APP_ICON
push eax
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x314], 0x30
mov dword [ebp - 0x310], 3
mov dword [ebp - 0x30c], 0x40d330
mov dword [ebp - 0x300], eax
call esi
push str.APP_ICON
push dword [ebx]
mov dword [ebp - 0x2fc], eax
call esi
push 0x7f00
push 0
mov dword [ebp - 0x2e8], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x2f8], eax
lea eax, [ebp - 0x314]
push eax
mov dword [ebp - 0x2f0], str.EasyAntiCheatSetupUIMenu
mov dword [ebp - 0x2ec], str.EasyAntiCheatSetupUIClass
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, ebx
call fcn.0040f520
mov eax, dword [ebx]
mov dword [ebp - 0x2e0], eax
mov eax, dword [0x46fa30]
mov dword [ebp - 0x2dc], eax
mov eax, dword [0x46fa34]
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x278], 0
push 0x1d
push str.Easy_Anti_Cheat_Service_Setup
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00401940
mov dword [ebp - 4], 1
mov dword [ebp - 0x2a8], 0
push 0xb
push str.setup.title
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
mov byte [ebp - 4], 1
call fcn.00401940
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2a8]
mov ecx, esp
push eax
call fcn.00403b00
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebx + 0x68]
call fcn.00403220
cmp dword [ebp - 0x27c], 8
lea eax, [ebp - 0x290]
jb 0x40e713
mov eax, dword [ebp - 0x290]
push 0
push dword [ebp - 0x2e0]
push 0
push 0
push dword [ebp - 0x2dc]
push dword [ebp - 0x2e4]
push 0x80000000
push 0x80000000
push 0xca0000
push eax
push str.EasyAntiCheatSetupUIClass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x27c]
mov dword [ebx + 0x34], eax
cmp edx, 8
jb 0x40e78b
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e781
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed44
push edx
push ecx
call fcn.0041fbbf
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x294]
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
cmp edx, 0x10
jb 0x40e7e6
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e7dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed44
push edx
push ecx
call fcn.0041fbbf
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x264]
cmp edx, 0x10
jb 0x40e827
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e81d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed44
push edx
push ecx
call fcn.0041fbbf
add esp, 8
cmp dword [ebx + 0x34], 0
jne 0x40e89a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x260]
push str.CreateWindowEx_failed_with__i
push eax
call fcn.004123f0
add esp, 0xc
mov ecx, edi
push eax
call fcn.00403700
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x40e890
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e886
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed49
push edx
push ecx
call fcn.0041fbbf
add esp, 8
mov eax, 7
jmp 0x40ed21
mov eax, dword [ebp + 8]
sub eax, 0
je 0x40e8b8
sub eax, 2
jne 0x40eaf5
mov ecx, dword [ebx + 0x38]
call fcn.004186b0
jmp 0x40eaf5
mov dword [ebp - 0x230], 0
mov edi, 7
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], edi
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 5
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], edi
mov word [ebp - 0x248], ax
push 0x104
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 7
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, eax
lea eax, [ecx - 1]
cmp eax, 0x102
ja 0x40ea4a
lea eax, [ecx + ecx]
sar eax, 1
lea ecx, [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00401680
cmp dword [ebp - 0x220], 0
je 0x40ea42
lea eax, [ebp - 0x248]
xor dl, dl
push eax
xor ecx, ecx
call fcn.0041f580
add esp, 4
test al, al
je 0x40ea42
cmp dword [ebp - 0x234], 8
lea edx, [ebp - 0x248]
jb 0x40e97d
mov edx, dword [ebp - 0x248]
mov edi, dword [ebp - 0x21c]
lea ecx, [ebp - 0x230]
mov esi, dword [ebp - 0x230]
cmp edi, 8
jb 0x40e996
mov ecx, esi
push 0xffffffffffffffff
call fcn.00406540
add esp, 4
test al, al
jne 0x40ea59
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x2e4], 0x24f
mov dword [eax + 0x8c], 0x24f
lea eax, [ebp - 0x2e4]
mov esi, dword [ebx + 0x38]
push eax
lea ecx, [esi + 0xe4]
call fcn.0041aad0
mov ecx, esi
or dword [eax], 4
call fcn.00418a80
mov edi, dword [ebx + 0x38]
xor esi, esi
cmp dword [edi + 0xe8], esi
jbe 0x40ea42
jmp 0x40e9f0
push 0
push esi
push 0x150
push dword [edi + 0xc0]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x40ea10
cmp eax, 0x24f
je 0x40ea21
inc esi
cmp esi, dword [edi + 0xe8]
jb 0x40e9f0
mov edi, dword [ebp - 0x21c]
jmp 0x40ea53
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 edi, dword [ebp - 0x21c]
jmp 0x40ea53
xor eax, eax
mov word [ebp - 0x230], ax
mov esi, dword [ebp - 0x230]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x40ea9d
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ea93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed4e
push edx
push ecx
call fcn.0041fbbf
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov dword [ebp - 4], 0xffffffff
cmp edi, 8
jb 0x40eaf5
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x40eaeb
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed4e
push edi
push esi
call fcn.0041fbbf
add esp, 8
mov dword [ebp - 0x260], 0
push 5
push str.Arial
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov dword [ebp - 4], 0xffffffff
call fcn.00401680
fld dword [ebx + 0x60]
fdivr qword [0x4686b0]
call fcn.00455020
mov esi, dword [ebx + 0x34]
mov ecx, eax
test esi, esi
je 0x40eb98
test ecx, ecx
je 0x40eb98
cmp dword [ebp - 0x250], 0
je 0x40eb98
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
jb 0x40eb65
mov eax, dword [ebp - 0x260]
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 0x40eb98
push 0
push eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x40ebd8
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ebce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed53
push edx
push ecx
call fcn.0041fbbf
add esp, 8
mov eax, dword [0x46fa34]
mov esi, dword [0x46fa30]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebx + 0x34]
push 0
mov dword [ebp - 0x2dc], eax
lea eax, [ebp - 0x2c8]
push eax
push 0
push 0x30
mov dword [ebp - 0x2e4], esi
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x40ecad
mov eax, dword [ebp - 0x2c0]
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x2e0]
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub edi, eax
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x2bc]
cdq
sub eax, edx
sar ecx, 1
mov esi, eax
lea eax, [ebp - 0x2d8]
push eax
push dword [ebp - 0x2dc]
sar esi, 1
sub esi, ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x2b8]
push eax
push dword [ebp - 0x2dc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x2e4]
sub eax, dword [ebp - 0x2cc]
sub eax, dword [ebp - 0x2b4]
add eax, dword [ebp - 0x2ac]
push 1
push eax
mov eax, dword [ebp - 0x2b0]
sub eax, dword [ebp - 0x2d0]
sub eax, dword [ebp - 0x2b8]
add eax, dword [ebp - 0x2e0]
push eax
push esi
push edi
push dword [ebp - 0x2dc]
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 - 0x334]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x40ed1e
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea esp, [esp]
cmp eax, 0xffffffff
je 0x40ed1e
lea eax, [ebp - 0x334]
push eax
call edi
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x334]
push eax
call esi
test eax, eax
jne 0x40ecf0
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.0041fb7c
mov esp, ebp
pop ebp
ret 8
call fcn.00439d3f
call fcn.00439d3f
call fcn.00439d3f
call fcn.00439d3f
call fcn.00439d3f
int3