Function at 0x40e250
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451a8c
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x46b008]
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 - 0xfc], esi
xor eax, eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
push fcn.00401280
push 0x403340
push 2
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
push 0x18
push eax
call fcn.0041bc29
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00410290
test al, al
jne 0x40e2e8
push fcn.00401280
push 2
push 0x18
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0
push eax
call fcn.0041bb2b
jmp 0x40e3cb
lea eax, [ebp - 0x28]
xor dl, dl
push eax
xor ecx, ecx
call fcn.0041b180
add esp, 4
test al, al
je 0x40e2cd
lea esi, [ebp - 0xa8]
xor ebx, ebx
mov dword [ebp - 0xf8], esi
lea edi, [ebp - 0x40]
lea ecx, [ecx]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x40e31a
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 - 0xf4], eax
cmp eax, 0xffffffff
je 0x40e3af
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
push dword [ebp - 0xf4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x40e3af
mov esi, dword [ebp - 0xf8]
inc ebx
add esi, 0x34
add edi, 0x18
mov dword [ebp - 0xf8], esi
cmp ebx, 2
jb 0x40e310
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x58]
jne 0x40e38f
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x48]
jne 0x40e38f
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x44]
jne 0x40e38f
mov bl, 1
jmp 0x40e391
xor bl, bl
push fcn.00401280
push 2
push 0x18
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0
push eax
call fcn.0041bb2b
mov esi, dword [ebp - 0xfc]
jmp 0x40e3cd
push fcn.00401280
push 2
push 0x18
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0
push eax
call fcn.0041bb2b
mov esi, dword [ebp - 0xfc]
xor bl, bl
mov byte [esi + 0x64], bl
mov eax, 0x46359c
test bl, bl
jne 0x40e3de
mov eax, 0x4635a4
push eax
lea eax, [ebp - 0x28]
push str._EAC_Setup___Info__Started_from_service_directory:__s.
push eax
call fcn.004123b0
add esp, 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
jb 0x40e3fc
mov eax, dword [ebp - 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push eax
call edi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40e43f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e435
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e861
push edx
push ecx
call fcn.0041b657
add esp, 8
mov eax, dword [ebp + 0xc]
test al, 1
je 0x40e461
test al, 4
je 0x40e44e
mov byte [esi + 0x5c], 1
lea eax, [ebp - 0xd8]
mov ecx, esi
push eax
push dword [ebp + 8]
call fcn.0040edd0
jmp 0x40e49c
mov ecx, dword [ebp + 8]
sub ecx, 1
je 0x40e48b
sub ecx, 1
jne 0x40e4a8
shr eax, 1
lea ecx, [ebp - 0xd8]
push ecx
and al, 1
mov ecx, esi
movzx eax, al
push eax
push 0
push dword [esi + 4]
call fcn.00410a70
jmp 0x40e49c
lea eax, [ebp - 0xd8]
mov ecx, esi
push eax
push dword [esi + 4]
call fcn.00410340
mov ebx, eax
test ebx, ebx
je 0x40e805
jmp 0x40e4ad
mov ebx, 1
cmp dword [ebp - 0xc4], 8
lea eax, [ebp - 0xd8]
jb 0x40e4c2
mov eax, dword [ebp - 0xd8]
push eax
push ebx
lea eax, [ebp - 0x28]
push str._EAC_Setup___Error__Result:__i_ErrorMsg:__s.
push eax
call fcn.004123b0
add esp, 0x10
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
jb 0x40e4e1
mov eax, dword [ebp - 0x28]
push eax
call edi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40e51e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e514
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e866
push edx
push ecx
call fcn.0041b657
add esp, 8
cmp ebx, 7
jne 0x40e805
push 6
push 0x46267c
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
call fcn.00401580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push 0x12
push str.setup.error_prefix
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00401580
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00403580
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xc0]
push eax
lea ecx, [esi + 0x68]
call fcn.00402fd0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40e5d9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e5cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e86b
push edx
push ecx
call fcn.0041b657
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xdc]
cmp edx, 0x10
jb 0x40e617
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e60d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e870
push edx
push ecx
call fcn.0041b657
add esp, 8
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
test ecx, ecx
je 0x40e6e7
lea eax, [ebp - 0xc0]
cmp edx, 8
jb 0x40e657
mov eax, dword [ebp - 0xc0]
cmp word [eax + ecx*2 - 2], 0x2e
jne 0x40e67c
lea eax, [ecx - 1]
push 0
push eax
lea ecx, [ebp - 0xc0]
call fcn.004011e0
mov edx, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
test ecx, ecx
je 0x40e6e7
lea eax, [ebp - 0xc0]
cmp edx, 8
jb 0x40e691
mov eax, dword [ebp - 0xc0]
cmp word [eax + ecx*2 - 2], 0x3a
je 0x40e6e7
cmp ecx, edx
jae 0x40e6c0
lea eax, [ecx + 1]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xc0]
cmp edx, 8
jb 0x40e6b7
mov eax, dword [ebp - 0xc0]
mov dword [eax + ecx*2], 0x3a
jmp 0x40e6db
push 0x3a
mov byte [ebp - 0xf4], 0
push dword [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.00404290
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
cmp ecx, edx
jae 0x40e70e
lea eax, [ecx + 1]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xc0]
cmp edx, 8
jb 0x40e705
mov eax, dword [ebp - 0xc0]
mov dword [eax + ecx*2], 0x20
jmp 0x40e729
push 0x20
mov byte [ebp - 0xf4], 0
push dword [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.00404290
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00404a30
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0xc0]
mov edx, dword [ebp - 0xc0]
cmp ecx, 8
jb 0x40e754
mov eax, edx
mov esi, dword [ebp - 0xb0]
cmp word [eax + esi*2 - 2], 0x21
je 0x40e7ac
cmp esi, ecx
jae 0x40e785
lea eax, [esi + 1]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xc0]
cmp ecx, 8
jb 0x40e77c
mov eax, edx
mov dword [eax + esi*2], 0x21
jmp 0x40e7a0
push 0x21
mov byte [ebp - 0xf4], 0
push dword [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.00404290
mov edx, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0xc0]
cmp ecx, 8
jb 0x40e7b9
mov eax, edx
push 0x10
push str.EAC_Setup
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x40e805
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e7fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e875
push edx
push ecx
call fcn.0041b657
add esp, 8
mov edx, dword [ebp - 0xc4]
cmp edx, 8
jb 0x40e841
mov ecx, dword [ebp - 0xd8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e837
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e87a
push edx
push ecx
call fcn.0041b657
add esp, 8
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.0041b616
mov esp, ebp
pop ebp
ret 8
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
int3