Function at 0x418500
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45383d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x478024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov edi, dword [ebx + 4]
cmp eax, edi
jne 0x418547
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
push ecx
lea esi, [eax + 4]
call fcn.00418730
mov dword [ebp - 4], 0
push edi
push esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00418840
mov dword [ebp - 4], 1
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00410650
add esp, 4
mov byte [ebp - 4], 2
call fcn.00403950
test eax, eax
je 0x418718
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x18]
push dword [ebx + 0x14]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push str._s__paths__s__retry_count__d
push eax
call fcn.004121e0
add esp, 0x14
call fcn.00403950
test eax, eax
je 0x418718
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x14]
push dword [ebp - 0x18]
push str.AllSigned
push str._NonInteractive__NoLogo__ExecutionPolicy__s__Command___s_
push eax
call fcn.004121e0
add esp, 0x10
lea esi, [ebx + 0xc]
push 1
push dword [ebp - 0x1c]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
or edi, 0xffffffff
test eax, eax
je 0x418689
mov bl, byte [ebx + 0x10]
lea ecx, [ebp - 0x28]
mov edx, esi
call fcn.004109c0
mov esi, eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x24]
push eax
call fcn.004183d0
mov byte [ebp - 4], 8
sub esp, 8
lea edx, [ebp - 0x14]
push ebx
push ecx
push esi
mov ecx, eax
call fcn.0042d170
add esp, 0x14
mov bl, al
mov byte [ebp - 4], 7
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418669
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41868b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41868b
xor bl, bl
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4186a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4186c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4186e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x418704
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404020
int3