Function at 0x40e280
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451a9c
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.004012a0
push 0x403360
push 2
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
push 0x18
push eax
call fcn.0041bc49
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004102c0
test al, al
jne 0x40e318
push fcn.004012a0
push 2
push 0x18
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0
push eax
call fcn.0041bb4b
jmp 0x40e3fb
lea eax, [ebp - 0x28]
xor dl, dl
push eax
xor ecx, ecx
call fcn.0041b1a0
add esp, 4
test al, al
je 0x40e2fd
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 0x40e34a
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 0x40e3df
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 0x40e3df
mov esi, dword [ebp - 0xf8]
inc ebx
add esi, 0x34
add edi, 0x18
mov dword [ebp - 0xf8], esi
cmp ebx, 2
jb 0x40e340
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x58]
jne 0x40e3bf
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x48]
jne 0x40e3bf
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x44]
jne 0x40e3bf
mov bl, 1
jmp 0x40e3c1
xor bl, bl
push fcn.004012a0
push 2
push 0x18
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0
push eax
call fcn.0041bb4b
mov esi, dword [ebp - 0xfc]
jmp 0x40e3fd
push fcn.004012a0
push 2
push 0x18
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0
push eax
call fcn.0041bb4b
mov esi, dword [ebp - 0xfc]
xor bl, bl
mov byte [esi + 0x64], bl
mov eax, 0x4639f4
test bl, bl
jne 0x40e40e
mov eax, 0x4639fc
push eax
lea eax, [ebp - 0x28]
push str._EAC_Setup___Info__Started_from_service_directory:__s.
push eax
call fcn.004123e0
add esp, 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
jb 0x40e42c
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 0x40e46f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e465
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e891
push edx
push ecx
call fcn.0041b677
add esp, 8
mov eax, dword [ebp + 0xc]
test al, 1
je 0x40e491
test al, 4
je 0x40e47e
mov byte [esi + 0x5c], 1
lea eax, [ebp - 0xd8]
mov ecx, esi
push eax
push dword [ebp + 8]
call fcn.0040ee00
jmp 0x40e4cc
mov ecx, dword [ebp + 8]
sub ecx, 1
je 0x40e4bb
sub ecx, 1
jne 0x40e4d8
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.00410aa0
jmp 0x40e4cc
lea eax, [ebp - 0xd8]
mov ecx, esi
push eax
push dword [esi + 4]
call fcn.00410370
mov ebx, eax
test ebx, ebx
je 0x40e835
jmp 0x40e4dd
mov ebx, 1
cmp dword [ebp - 0xc4], 8
lea eax, [ebp - 0xd8]
jb 0x40e4f2
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.004123e0
add esp, 0x10
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
jb 0x40e511
mov eax, dword [ebp - 0x28]
push eax
call edi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40e54e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e544
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e896
push edx
push ecx
call fcn.0041b677
add esp, 8
cmp ebx, 7
jne 0x40e835
push 6
push 0x462ad4
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
call fcn.004015a0
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.004015a0
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004035a0
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xc0]
push eax
lea ecx, [esi + 0x68]
call fcn.00402ff0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40e609
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e5ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e89b
push edx
push ecx
call fcn.0041b677
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xdc]
cmp edx, 0x10
jb 0x40e647
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e63d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e8a0
push edx
push ecx
call fcn.0041b677
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 0x40e717
lea eax, [ebp - 0xc0]
cmp edx, 8
jb 0x40e687
mov eax, dword [ebp - 0xc0]
cmp word [eax + ecx*2 - 2], 0x2e
jne 0x40e6ac
lea eax, [ecx - 1]
push 0
push eax
lea ecx, [ebp - 0xc0]
call fcn.00401200
mov edx, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
test ecx, ecx
je 0x40e717
lea eax, [ebp - 0xc0]
cmp edx, 8
jb 0x40e6c1
mov eax, dword [ebp - 0xc0]
cmp word [eax + ecx*2 - 2], 0x3a
je 0x40e717
cmp ecx, edx
jae 0x40e6f0
lea eax, [ecx + 1]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xc0]
cmp edx, 8
jb 0x40e6e7
mov eax, dword [ebp - 0xc0]
mov dword [eax + ecx*2], 0x3a
jmp 0x40e70b
push 0x3a
mov byte [ebp - 0xf4], 0
push dword [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.004042b0
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
cmp ecx, edx
jae 0x40e73e
lea eax, [ecx + 1]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xc0]
cmp edx, 8
jb 0x40e735
mov eax, dword [ebp - 0xc0]
mov dword [eax + ecx*2], 0x20
jmp 0x40e759
push 0x20
mov byte [ebp - 0xf4], 0
push dword [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.004042b0
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00404a50
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0xc0]
mov edx, dword [ebp - 0xc0]
cmp ecx, 8
jb 0x40e784
mov eax, edx
mov esi, dword [ebp - 0xb0]
cmp word [eax + esi*2 - 2], 0x21
je 0x40e7dc
cmp esi, ecx
jae 0x40e7b5
lea eax, [esi + 1]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xc0]
cmp ecx, 8
jb 0x40e7ac
mov eax, edx
mov dword [eax + esi*2], 0x21
jmp 0x40e7d0
push 0x21
mov byte [ebp - 0xf4], 0
push dword [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.004042b0
mov edx, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0xc0]
cmp ecx, 8
jb 0x40e7e9
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 0x40e835
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e82b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e8a5
push edx
push ecx
call fcn.0041b677
add esp, 8
mov edx, dword [ebp - 0xc4]
cmp edx, 8
jb 0x40e871
mov ecx, dword [ebp - 0xd8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e867
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e8aa
push edx
push ecx
call fcn.0041b677
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.0041b636
mov esp, ebp
pop ebp
ret 8
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
int3