Function at 0x4fa9e0
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0x7c]
sub esp, 0x7c
push 0xffffffffffffffff
push 0x5435b8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x582184]
xor eax, ebp
mov dword [ebp + 0x78], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0x84]
mov edi, dword [ebp + 0x88]
call fcn.004faef0
push 8
xor eax, eax
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x74], 0
lea ecx, [ebp + 0x60]
push str.download
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x74], 7
mov word [ebp + 0x60], ax
call fcn.00404420
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x60]
push ecx
lea eax, [ebx + 4]
push eax
lea eax, [ebp]
push eax
call fcn.00407100
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x60]
call fcn.00404370
lea eax, [ebp]
push eax
call fcn.00407b80
add esp, 4
test al, al
jne 0x4faaa2
lea eax, [ebp]
push eax
call fcn.00409b50
add esp, 4
test al, al
jne 0x4faaa2
xor bl, bl
jmp 0x4fac38
xor eax, eax
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
mov byte [ebp - 4], 3
lea eax, [ebp + 0x18]
push eax
push esi
call fcn.00409c00
add esp, 8
test al, al
jne 0x4faae0
xor bl, bl
jmp 0x4fac2c
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.00407100
add esp, 0xc
mov byte [ebp - 4], 4
lea eax, [ebp + 0x48]
cmp dword [ebp + 0x5c], 8
cmovae eax, dword [ebp + 0x48]
cmp dword [esi + 0x14], 8
jb 0x4fab0b
mov esi, dword [esi]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4fab20
xor bl, bl
jmp 0x4fac20
xor eax, eax
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x74], 0
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x74], 7
mov word [ebp + 0x60], ax
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x60]
push 6
push str.DELETE
call fcn.00404420
push 0x3b
lea ecx, [ebp + 0x60]
call fcn.00406920
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
push dword [ebp + 0x58]
cmovae eax, dword [ebp + 0x48]
lea ecx, [ebp + 0x60]
push eax
call fcn.00407830
push 0x3b
lea ecx, [ebp + 0x60]
call fcn.00406920
push 0xb
xor eax, eax
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0
lea ecx, [ebp + 0x30]
push str.startup.hzt
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
call fcn.00404420
mov byte [ebp - 4], 6
lea eax, [ebp + 0x30]
push eax
lea eax, [ebx + 4]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00407100
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x30]
call fcn.00404370
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
lea eax, [ebp + 0x60]
push eax
call fcn.004fb960
test al, al
jne 0x4fabec
xor bl, bl
jmp 0x4fac08
lea eax, [ebp + 0x48]
cmp edi, eax
je 0x4fac06
cmp dword [ebp + 0x5c], 8
mov ecx, edi
push dword [ebp + 0x58]
cmovae eax, dword [ebp + 0x48]
push eax
call fcn.00404420
mov bl, 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.00404370
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x60]
call fcn.00404370
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x48]
call fcn.00404370
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x18]
call fcn.00404370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00404370
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 + 0x78]
xor ecx, ebp
call fcn.005001f6
lea esp, [ebp + 0x7c]
pop ebp
ret 8