Function at 0x4fb930
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0x7c]
sub esp, 0x7c
push 0xffffffffffffffff
push 0x54f828
mov eax, dword fs:[0]
push eax
sub esp, 0x10
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 esi, ecx
mov dword [ebp - 0x1c], esi
mov ebx, dword [ebp + 0x84]
lea ecx, [ebp + 0x48]
mov edi, dword [ebp + 0x88]
xor eax, eax
push 8
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 0
push str.download
mov dword [ebp - 0x14], ebx
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 7
mov word [ebp + 0x48], ax
call fcn.00418820
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x48]
lea eax, [esi + 4]
push ecx
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x18]
push eax
call fcn.0041e570
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x48]
call fcn.004184c0
lea eax, [ebp + 0x18]
push eax
call fcn.0041edb0
add esp, 4
test al, al
jne 0x4fb9f6
lea eax, [ebp + 0x18]
push eax
call fcn.00420850
add esp, 4
test al, al
jne 0x4fb9f6
xor bl, bl
jmp 0x4fbbcc
xor eax, eax
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 0
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 7
mov word [ebp + 0x48], ax
mov byte [ebp - 4], 3
xor ecx, ecx
mov esi, dword [ebx]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebx + 4]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4fbb4e
xor ebx, ebx
nop dword [eax]
nop word [eax + eax]
xor eax, eax
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x74], 0
add esi, ebx
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x74], 7
mov word [ebp + 0x60], ax
mov byte [ebp - 4], 4
lea eax, [ebp + 0x60]
push eax
push esi
call fcn.00420900
add esp, 8
test al, al
je 0x4fbc08
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0041e570
add esp, 0xc
mov byte [ebp - 4], 5
lea eax, [ebp + 0x30]
cmp dword [ebp + 0x44], 8
cmovae eax, dword [ebp + 0x30]
cmp dword [esi + 0x14], 8
jb 0x4fbab8
mov esi, dword [esi]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4fbbfc
mov eax, dword [edi + 4]
lea ecx, [ebp + 0x30]
push ecx
cmp dword [edi + 8], eax
je 0x4fbae3
mov ecx, eax
call fcn.0041c4e0
add dword [edi + 4], 0x18
jmp 0x4fbaeb
push eax
mov ecx, edi
call fcn.004235e0
cmp dword [ebp + 0x44], 8
lea eax, [ebp + 0x30]
push dword [ebp + 0x40]
cmovae eax, dword [ebp + 0x30]
lea ecx, [ebp + 0x48]
push eax
call fcn.0041c690
push 0x3b
lea ecx, [ebp + 0x48]
call fcn.00418410
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x30]
call fcn.004184c0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x60]
call fcn.004184c0
mov eax, dword [ebp - 0x14]
add ebx, 0x18
inc dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x10], eax
jb 0x4fba50
push 0xc
xor eax, eax
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x74], 0
lea ecx, [ebp + 0x60]
push str.download.hzt
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x74], 7
mov word [ebp + 0x60], ax
call fcn.00418820
mov byte [ebp - 4], 6
lea eax, [ebp + 0x60]
push eax
push dword [ebp - 0x18]
lea eax, [ebp]
push eax
call fcn.0041e570
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x60]
call fcn.004184c0
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.004fde30
mov bl, 1
mov byte [ebp - 4], 3
lea ecx, [ebp]
call fcn.004184c0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x48]
call fcn.004184c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.004184c0
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.0050b067
lea esp, [ebp + 0x7c]
pop ebp
ret 8
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x30]
call fcn.004184c0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x60]
call fcn.004184c0
xor bl, bl
jmp 0x4fbbc0