Function at 0x40e5a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c262
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x47b008]
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 esi, ecx
mov dword [ebp - 0x304], esi
xor eax, eax
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 7
mov word [ebp - 0x2e0], ax
push 0x401480
push 0x407630
push 2
mov dword [ebp - 4], eax
lea eax, [ebp - 0x248]
push 0x18
push eax
call fcn.0042267b
push 0x104
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, eax
lea eax, [ecx - 1]
cmp eax, 0x102
ja 0x40e652
lea eax, [ebp - 0x218]
lea eax, [eax + ecx*2]
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00411950
jmp 0x40e676
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
mov dword [ebp - 0x238], 0
jb 0x40e671
mov eax, dword [ebp - 0x248]
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x238], 0
je 0x40e756
lea eax, [ebp - 0x230]
xor dl, dl
push eax
xor ecx, ecx
call fcn.00418bb0
add esp, 4
test al, al
je 0x40e756
lea esi, [ebp - 0x2b0]
xor ebx, ebx
mov dword [ebp - 0x300], esi
lea edi, [ebp - 0x248]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x40e6bc
mov eax, dword [edi]
push 0
push 0x80
push 3
push 0
push 7
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2fc], eax
cmp eax, 0xffffffff
je 0x40e750
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
push dword [ebp - 0x2fc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x40e750
mov esi, dword [ebp - 0x300]
inc ebx
add esi, 0x34
add edi, 0x18
mov dword [ebp - 0x300], esi
cmp ebx, 2
jb 0x40e6b2
mov eax, dword [ebp - 0x294]
cmp eax, dword [ebp - 0x260]
jne 0x40e746
mov eax, dword [ebp - 0x284]
cmp eax, dword [ebp - 0x250]
jne 0x40e746
mov eax, dword [ebp - 0x280]
cmp eax, dword [ebp - 0x24c]
jne 0x40e746
mov esi, dword [ebp - 0x304]
mov bl, 1
jmp 0x40e758
mov esi, dword [ebp - 0x304]
xor bl, bl
jmp 0x40e758
mov esi, dword [ebp - 0x304]
xor bl, bl
push 0x401480
push 2
push 0x18
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0
push eax
call fcn.00422593
mov byte [esi + 0x64], bl
mov eax, 0x46e82c
test bl, bl
jne 0x40e782
mov eax, 0x46e834
push eax
lea eax, [ebp - 0x230]
push str._EAC_Setup___Info__Started_from_service_directory:__s.
push eax
call fcn.00411e60
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
jb 0x40e7ac
mov eax, dword [ebp - 0x230]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push eax
call edi
lea ecx, [ebp - 0x230]
call fcn.00401520
mov eax, dword [ebp + 0xc]
test al, 1
je 0x40e7e2
test al, 4
je 0x40e7cf
mov byte [esi + 0x5c], 1
lea eax, [ebp - 0x2e0]
mov ecx, esi
push eax
push dword [ebp + 8]
call fcn.0040f250
jmp 0x40e81d
mov ecx, dword [ebp + 8]
sub ecx, 1
je 0x40e80c
sub ecx, 1
jne 0x40e829
shr eax, 1
lea ecx, [ebp - 0x2e0]
push ecx
and al, 1
mov ecx, esi
movzx eax, al
push eax
push 0
push dword [esi + 4]
call fcn.00410b80
jmp 0x40e81d
lea eax, [ebp - 0x2e0]
mov ecx, esi
push eax
push dword [esi + 4]
call fcn.004107c0
mov ebx, eax
test ebx, ebx
je 0x40eaf9
jmp 0x40e82e
mov ebx, 1
cmp dword [ebp - 0x2cc], 8
lea eax, [ebp - 0x2e0]
jb 0x40e843
mov eax, dword [ebp - 0x2e0]
push eax
push ebx
lea eax, [ebp - 0x230]
push str._EAC_Setup___Error__Result:__i_ErrorMsg:__s.
push eax
call fcn.00411e60
add esp, 0x10
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
jb 0x40e86e
mov eax, dword [ebp - 0x230]
push eax
call edi
lea ecx, [ebp - 0x230]
call fcn.00401520
cmp ebx, 7
jne 0x40eaf9
push 6
push 0x46cc78
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.004016e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2f8]
push 0x12
push str.setup.error_prefix
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0xf
mov byte [ebp - 0x2f8], 0
call fcn.004016e0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2f8]
mov ecx, esi
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.0040fa00
lea ecx, [ebp - 0x2f8]
call fcn.00401680
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 6
call fcn.00401680
mov ecx, dword [ebp - 0x2b8]
mov edx, dword [ebp - 0x2b4]
test ecx, ecx
je 0x40e9f7
lea eax, [ebp - 0x2c8]
cmp edx, 8
jb 0x40e942
mov eax, dword [ebp - 0x2c8]
cmp word [eax + ecx*2 - 2], 0x2e
jne 0x40e98c
lea eax, [ecx - 1]
cmp eax, ecx
ja 0x40e970
mov dword [ebp - 0x2b8], eax
lea ecx, [ebp - 0x2c8]
cmp edx, 8
jb 0x40e968
mov ecx, dword [ebp - 0x2c8]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x40e980
sub eax, ecx
lea ecx, [ebp - 0x2c8]
push 0
push eax
call fcn.00401600
mov ecx, dword [ebp - 0x2b8]
mov edx, dword [ebp - 0x2b4]
test ecx, ecx
je 0x40e9f7
lea eax, [ebp - 0x2c8]
cmp edx, 8
jb 0x40e9a1
mov eax, dword [ebp - 0x2c8]
cmp word [eax + ecx*2 - 2], 0x3a
je 0x40e9f7
cmp ecx, edx
jae 0x40e9d0
lea eax, [ecx + 1]
mov dword [ebp - 0x2b8], eax
lea eax, [ebp - 0x2c8]
cmp edx, 8
jb 0x40e9c7
mov eax, dword [ebp - 0x2c8]
mov dword [eax + ecx*2], 0x3a
jmp 0x40e9eb
push 0x3a
mov byte [ebp - 0x2fc], 0
push dword [ebp - 0x2fc]
push ecx
lea ecx, [ebp - 0x2c8]
call fcn.0040ac30
mov ecx, dword [ebp - 0x2b8]
mov edx, dword [ebp - 0x2b4]
cmp ecx, edx
jae 0x40ea1e
lea eax, [ecx + 1]
mov dword [ebp - 0x2b8], eax
lea eax, [ebp - 0x2c8]
cmp edx, 8
jb 0x40ea15
mov eax, dword [ebp - 0x2c8]
mov dword [eax + ecx*2], 0x20
jmp 0x40ea39
push 0x20
mov byte [ebp - 0x2fc], 0
push dword [ebp - 0x2fc]
push ecx
lea ecx, [ebp - 0x2c8]
call fcn.0040ac30
cmp dword [ebp - 0x2cc], 8
lea eax, [ebp - 0x2e0]
jb 0x40ea4e
mov eax, dword [ebp - 0x2e0]
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2c8]
push eax
call fcn.0040a810
mov ecx, dword [ebp - 0x2b4]
lea eax, [ebp - 0x2c8]
mov edx, dword [ebp - 0x2c8]
cmp ecx, 8
jb 0x40ea79
mov eax, edx
mov esi, dword [ebp - 0x2b8]
cmp word [eax + esi*2 - 2], 0x21
je 0x40ead1
cmp esi, ecx
jae 0x40eaaa
lea eax, [esi + 1]
mov dword [ebp - 0x2b8], eax
lea eax, [ebp - 0x2c8]
cmp ecx, 8
jb 0x40eaa1
mov eax, edx
mov dword [eax + esi*2], 0x21
jmp 0x40eac5
push 0x21
mov byte [ebp - 0x2fc], 0
push dword [ebp - 0x2fc]
push ecx
lea ecx, [ebp - 0x2c8]
call fcn.0040ac30
mov edx, dword [ebp - 0x2c8]
mov ecx, dword [ebp - 0x2b4]
lea eax, [ebp - 0x2c8]
cmp ecx, 8
jb 0x40eade
mov eax, edx
push 0x10
push str.EAC_Setup
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x2c8]
call fcn.00401520
lea ecx, [ebp - 0x2e0]
call fcn.00401520
mov eax, ebx
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.0042207c
mov esp, ebp
pop ebp
ret 8