Function at 0x40f660
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451b68
mov eax, dword fs:[0]
push eax
sub esp, 0x50
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 edi, ecx
lea eax, [ebp - 0x28]
push str._EAC_Setup___Info__Running_an_asynchronous_installation_procedure.
push eax
call fcn.004122f0
add esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
jb 0x40f6aa
mov eax, dword [ebp - 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push eax
call ebx
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40f6e7
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f6dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f8df
push edx
push ecx
call fcn.0041b677
add esp, 8
mov eax, dword [edi + 0x3c]
lea esi, [edi + 0x3c]
test eax, eax
je 0x40f710
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40f812
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 0xc
call fcn.0041b647
mov ecx, dword [ebp + 8]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x5c], ebx
mov edx, ebx
mov dword [ebx], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 4], ecx
mov ecx, 0x40f900
push esi
mov dword [ebx + 8], edi
call fcn.00407ee0
add esp, 4
test al, al
jne 0x40f8c1
mov dword [edi + 0x40], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x48], 0
push 0x1b
xor eax, eax
mov dword [ebp - 0x44], 7
push str.CreateThread_failed_with__i
lea ecx, [ebp - 0x58]
mov word [ebp - 0x58], ax
call fcn.004013e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
jb 0x40f78a
mov eax, dword [ebp - 0x58]
push esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004123e0
mov esi, eax
lea ecx, [edi + 0x44]
add esp, 0xc
cmp ecx, esi
je 0x40f7dc
call fcn.004012a0
mov ecx, dword [esi]
mov dword [edi + 0x44], ecx
mov eax, dword [esi + 4]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x58], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40f86e
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f864
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f8e4
jmp 0x40f864
lea eax, [ebp - 0x28]
push str._EAC_Setup___Error__Asynchronous__un_installation_procedure_already_running_
push eax
call fcn.004122f0
add esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
jb 0x40f82f
mov eax, dword [ebp - 0x28]
push eax
call ebx
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40f8c1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f860
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f8e9
push edx
push ecx
jmp 0x40f8b9
push edx
push ecx
call fcn.0041b677
add esp, 8
push 0
push 2
push 0x401
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40f8b6
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f8ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f8ee
push edx
push ecx
call fcn.0041b677
add esp, 8
push 0xc
push ebx
call fcn.0041b677
add esp, 8
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
int3