Function at 0x436420
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ba5d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4a6024]
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 0x436467
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]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
push ecx
lea esi, [eax + 4]
call fcn.00436640
mov dword [ebp - 4], 0
push edi
push esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00436820
mov dword [ebp - 4], 1
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00423180
add esp, 4
mov byte [ebp - 4], 2
call fcn.00403270
test eax, eax
je 0x436634
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.00422e30
add esp, 0x14
call fcn.00403270
test eax, eax
je 0x436634
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.RemoteSigned
push str._NoProfile__NonInteractive__NoLogo__ExecutionPolicy__s__Command___s_
push eax
call fcn.00422e30
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 0x4365a5
mov bl, byte [ebx + 0x10]
lea ecx, [ebp - 0x28]
mov edx, esi
call fcn.00423540
mov esi, eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x24]
push eax
call fcn.004362f0
mov byte [ebp - 4], 8
sub esp, 8
lea edx, [ebp - 0x14]
push ebx
push ecx
push esi
mov ecx, eax
call fcn.00447980
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 0x436585
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 0x4365a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4365a7
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 0x4365c5
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 0x4365e3
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 0x436601
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 0x436620
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.00402f30
int3