Function at 0x40fde0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432e78
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x442750]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x8c]
push 0
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x8c], 1
push eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
je 0x40fe54
xor al, al
jmp 0x410363
push str.EACICON
push 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xbc], 0x30
mov dword [ebp - 0xb8], 3
mov dword [ebp - 0xb4], 0x40f020
mov dword [ebp - 0xa8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x90], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0
mov dword [ebp - 0xa0], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xbc]
push eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], str.eac_setup
call dword [sym.imp.USER32.dll_RegisterClassExW]
test esi, esi
je 0x41000c
push 0x5f
push esi
call fcn.0041a478
mov edi, eax
add esp, 8
test edi, edi
je 0x40ffb3
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
cmp esi, edi
je 0x40ff37
mov eax, edi
lea ecx, [ebp - 0x5c]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.00401dc0
lea edx, [ebp - 0x5c]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00409ff0
push eax
mov ecx, 0x445094
call fcn.00403900
cmp dword [ebp - 0x30], 0x10
jb 0x40ff65
push dword [ebp - 0x44]
call fcn.00419766
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jb 0x40ff8f
push dword [ebp - 0x5c]
call fcn.00419766
add esp, 4
lea eax, [edi + 2]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00401a90
mov edx, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00409ff0
mov ecx, 0x4450ac
jmp 0x40ffd2
push esi
lea ecx, [ebp - 0x5c]
call fcn.00401a90
mov edx, eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00409ff0
mov ecx, 0x445094
push eax
call fcn.00403900
cmp dword [ebp - 0x30], 0x10
jb 0x40ffe9
push dword [ebp - 0x44]
call fcn.00419766
add esp, 4
cmp dword [ebp - 0x48], 8
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
jb 0x41000c
push dword [ebp - 0x5c]
call fcn.00419766
add esp, 4
xor eax, eax
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
mov dword [ebp - 4], 3
cmp dword [0x4450a4], eax
jne 0x41003e
mov edx, 0x4450ac
mov ecx, 0x445094
call fcn.00408ba0
xor eax, eax
mov dword [ebp - 0x18], 7
push eax
push 0x104
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00402290
cmp dword [ebp - 0x18], 8
mov edi, dword [ebp - 0x2c]
jae 0x41006c
lea edi, [ebp - 0x2c]
xor eax, eax
mov ecx, 0x82
rep stosd dword es:[edi], eax
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], 0x104
jae 0x410088
lea eax, [ebp - 0x2c]
xor ecx, ecx
mov word [eax + 0x208], cx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp ecx, 8
jae 0x4100a3
lea eax, [ebp - 0x2c]
push ecx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x410315
sub esp, 8
mov dword [ebp - 0x78], 0x5c
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00409720
cmp eax, 0xffffffff
je 0x410315
mov ecx, dword [ebp - 0x1c]
inc eax
cmp eax, ecx
ja 0x4100f3
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
jae 0x4100eb
lea ecx, [ebp - 0x2c]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x410100
sub eax, ecx
lea ecx, [ebp - 0x2c]
push 0
push eax
call fcn.00409580
push str.Localization_
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.00409c10
add esp, 4
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
push ecx
push 0x4450c4
push 0x4450ac
push 0x445094
push eax
mov ecx, 0x4450dc
call fcn.00408d70
test al, al
mov byte [ebp - 4], 4
sete bl
cmp dword [ebp - 0x30], 8
jb 0x41014f
push dword [ebp - 0x44]
call fcn.00419766
add esp, 4
test bl, bl
je 0x410176
cmp dword [ebp - 0x60], 8
mov eax, dword [ebp - 0x74]
jae 0x41015f
lea eax, [ebp - 0x74]
push 0x30
push str.Localization_error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [0x444f31], 1
push str.EasyAntiCheat_Service_Setup
lea ecx, [ebp - 0x5c]
mov dword [0x4450e0], 0x40f2d0
call fcn.00401340
push 0
push 0
push 0
push 0
push 0x1cc
push 0x26c
push 0x80000000
push 0x80000000
push 0xca0000
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push str.setup.title
call fcn.00401340
lea eax, [ebp - 0x5c]
mov ecx, 0x445050
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004103e0
cmp dword [eax + 0x14], 8
jb 0x4101db
mov eax, dword [eax]
push eax
push str.eac_setup
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
mov dword [0x445060], eax
sete bl
cmp dword [ebp - 0x30], 8
jb 0x410204
push dword [ebp - 0x44]
call fcn.00419766
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x410229
push dword [ebp - 0x5c]
call fcn.00419766
add esp, 4
test bl, bl
je 0x41023b
push dword [ebp - 0x7c]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
jmp 0x410329
mov ecx, dword [0x445060]
sub esp, 0x10
mov dword [0x445058], 8
call fcn.00410b50
mov ecx, dword [0x445060]
add esp, 0xc
call fcn.00410a90
add esp, 4
push dword [0x445060]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 5
push dword [0x445060]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x445060]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0xd8]
push 0
push 0
push 0
push eax
call edi
test eax, eax
je 0x4102fe
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
lea esp, [esp]
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4102d5
lea eax, [ebp - 0xd8]
push eax
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x4102eb
lea eax, [ebp - 0xd8]
push eax
call ebx
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0xd8]
push eax
call edi
test eax, eax
jne 0x4102b0
push dword [ebp - 0x7c]
mov dword [0x445060], 0
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov bl, 1
jmp 0x41032b
push 0x10
push str.Error
push str.Error_getting_current_executable_path.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor bl, bl
cmp dword [ebp - 0x18], 8
jb 0x41033c
push dword [ebp - 0x2c]
call fcn.00419766
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x60], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x410361
push dword [ebp - 0x74]
call fcn.00419766
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00418fa4
mov esp, ebp
pop ebp
ret 4