Function at 0x4fcf10
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0x7c]
sub esp, 0x7c
push 0xffffffffffffffff
push 0x54fb58
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x592174]
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.004fd420
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.00418830
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x60]
push ecx
lea eax, [ebx + 4]
push eax
lea eax, [ebp]
push eax
call fcn.0041e580
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x60]
call fcn.004184d0
lea eax, [ebp]
push eax
call fcn.0041edc0
add esp, 4
test al, al
jne 0x4fcfd2
lea eax, [ebp]
push eax
call fcn.00420860
add esp, 4
test al, al
jne 0x4fcfd2
xor bl, bl
jmp 0x4fd168
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.00420910
add esp, 8
test al, al
jne 0x4fd010
xor bl, bl
jmp 0x4fd15c
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.0041e580
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 0x4fd03b
mov esi, dword [esi]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4fd050
xor bl, bl
jmp 0x4fd150
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.00418830
push 0x3b
lea ecx, [ebp + 0x60]
call fcn.00418420
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.0041c6a0
push 0x3b
lea ecx, [ebp + 0x60]
call fcn.00418420
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.00418830
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.0041e580
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x30]
call fcn.004184d0
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
lea eax, [ebp + 0x60]
push eax
call fcn.004fde90
test al, al
jne 0x4fd11c
xor bl, bl
jmp 0x4fd138
lea eax, [ebp + 0x48]
cmp edi, eax
je 0x4fd136
cmp dword [ebp + 0x5c], 8
mov ecx, edi
push dword [ebp + 0x58]
cmovae eax, dword [ebp + 0x48]
push eax
call fcn.00418830
mov bl, 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.004184d0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x60]
call fcn.004184d0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x48]
call fcn.004184d0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x18]
call fcn.004184d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004184d0
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.0050b0b7
lea esp, [ebp + 0x7c]
pop ebp
ret 8