Function at 0x40f9b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435e88
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x448750]
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 0x40fa24
xor al, al
jmp 0x40ff33
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], 0x40ebf0
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 0x40fbdc
push 0x5f
push esi
call fcn.0041d118
mov edi, eax
add esp, 8
test edi, edi
je 0x40fb83
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
cmp esi, edi
je 0x40fb07
mov eax, edi
lea ecx, [ebp - 0x5c]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.00401c80
lea edx, [ebp - 0x5c]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00409ce0
push eax
mov ecx, 0x44b0b4
call fcn.00403670
cmp dword [ebp - 0x30], 0x10
jb 0x40fb35
push dword [ebp - 0x44]
call fcn.0041c406
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 0x40fb5f
push dword [ebp - 0x5c]
call fcn.0041c406
add esp, 4
lea eax, [edi + 2]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00401a00
mov edx, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00409ce0
mov ecx, 0x44b0cc
jmp 0x40fba2
push esi
lea ecx, [ebp - 0x5c]
call fcn.00401a00
mov edx, eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00409ce0
mov ecx, 0x44b0b4
push eax
call fcn.00403670
cmp dword [ebp - 0x30], 0x10
jb 0x40fbb9
push dword [ebp - 0x44]
call fcn.0041c406
add esp, 4
cmp dword [ebp - 0x48], 8
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
jb 0x40fbdc
push dword [ebp - 0x5c]
call fcn.0041c406
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 [0x44b0c4], eax
jne 0x40fc0e
mov edx, 0x44b0cc
mov ecx, 0x44b0b4
call fcn.004088e0
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.00402030
cmp dword [ebp - 0x18], 8
mov edi, dword [ebp - 0x2c]
jae 0x40fc3c
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 0x40fc58
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 0x40fc73
lea eax, [ebp - 0x2c]
push ecx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40fee5
sub esp, 8
mov dword [ebp - 0x78], 0x5c
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00409460
cmp eax, 0xffffffff
je 0x40fee5
mov ecx, dword [ebp - 0x1c]
inc eax
cmp eax, ecx
ja 0x40fcc3
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
jae 0x40fcbb
lea ecx, [ebp - 0x2c]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x40fcd0
sub eax, ecx
lea ecx, [ebp - 0x2c]
push 0
push eax
call fcn.004092c0
push str.Localization_
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.00409950
add esp, 4
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
push ecx
push 0x44b0e4
push 0x44b0cc
push 0x44b0b4
push eax
mov ecx, 0x44b0fc
call fcn.00408ab0
test al, al
mov byte [ebp - 4], 4
sete bl
cmp dword [ebp - 0x30], 8
jb 0x40fd1f
push dword [ebp - 0x44]
call fcn.0041c406
add esp, 4
test bl, bl
je 0x40fd46
cmp dword [ebp - 0x60], 8
mov eax, dword [ebp - 0x74]
jae 0x40fd2f
lea eax, [ebp - 0x74]
push 0x30
push str.Localization_error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [0x44af51], 1
push str.EasyAntiCheat_Service_Setup
lea ecx, [ebp - 0x5c]
mov dword [0x44b100], 0x40eea0
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, 0x44b070
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040ffb0
cmp dword [eax + 0x14], 8
jb 0x40fdab
mov eax, dword [eax]
push eax
push str.eac_setup
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
mov dword [0x44b080], eax
sete bl
cmp dword [ebp - 0x30], 8
jb 0x40fdd4
push dword [ebp - 0x44]
call fcn.0041c406
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 0x40fdf9
push dword [ebp - 0x5c]
call fcn.0041c406
add esp, 4
test bl, bl
je 0x40fe0b
push dword [ebp - 0x7c]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
jmp 0x40fef9
mov ecx, dword [0x44b080]
sub esp, 0x10
mov dword [0x44b078], 8
call fcn.00410720
mov ecx, dword [0x44b080]
add esp, 0xc
call fcn.00410660
add esp, 4
push dword [0x44b080]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 5
push dword [0x44b080]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x44b080]
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 0x40fece
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 0x40fea5
lea eax, [ebp - 0xd8]
push eax
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x40febb
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 0x40fe80
push dword [ebp - 0x7c]
mov dword [0x44b080], 0
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov bl, 1
jmp 0x40fefb
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 0x40ff0c
push dword [ebp - 0x2c]
call fcn.0041c406
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 0x40ff31
push dword [ebp - 0x74]
call fcn.0041c406
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.0041bc45
mov esp, ebp
pop ebp
ret 4