Function at 0x4113d0
Capabilities:
Copy file
Print debug messages
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451d58
mov eax, dword fs:[0]
push eax
sub esp, 0x34
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, edx
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], eax
mov eax, edi
jb 0x411423
mov eax, dword [edi]
xor ecx, ecx
mov word [eax], cx
cmp dword [esi + 0x10], ecx
jne 0x411442
push 0x23
push str.Empty_service_executable_image_path
mov ecx, edi
call fcn.004013c0
xor bl, bl
jmp 0x41164a
lea ecx, [ebp - 0x40]
call fcn.00410290
test al, al
jne 0x4114e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.GetModuleFileName_failed_with__i
push eax
call fcn.004123b0
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x4114ac
mov ecx, edi
call fcn.00401280
mov ecx, dword [esi]
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x411644
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41163a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41169e
jmp 0x41163a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4114f3
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x411509
mov ecx, dword [esi]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
jb 0x411515
mov eax, dword [ebp - 0x40]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x411648
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str._EAC_Setup___Error__CopyFile_failed__LastErrorCode:__i.
push eax
call fcn.004123b0
add esp, 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
jb 0x41154b
mov eax, dword [ebp - 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push eax
call ebx
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41158e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411584
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4116a3
push edx
push ecx
call fcn.0041b657
add esp, 8
lea eax, [ebp - 0x28]
push str._EAC_Setup___Info__Retrying_to_copy_the_service_program_executable_once_more_in_2_seconds..
push eax
call fcn.004123b0
add esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
jb 0x4115ab
mov eax, dword [ebp - 0x28]
push eax
call ebx
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4115e8
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4115de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4116a8
push edx
push ecx
call fcn.0041b657
add esp, 8
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x14], 8
jb 0x4115fb
mov esi, dword [esi]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
jb 0x411607
mov eax, dword [ebp - 0x40]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x411648
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.CopyFile_failed_with__i
push eax
call fcn.004123b0
add esp, 0xc
mov ecx, edi
push eax
call fcn.004032f0
jmp 0x4114ac
push edx
push ecx
call fcn.0041b657
add esp, 8
xor bl, bl
jmp 0x41164a
mov bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x411680
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411676
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41169e
push edx
push ecx
call fcn.0041b657
add esp, 8
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 - 0x10]
xor ecx, ebp
call fcn.0041b616
mov esp, ebp
pop ebp
ret
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
int3