Function at 0x48eb10
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0x7c]
sub esp, 0x7c
push 0xffffffffffffffff
push 0x50ec78
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5500a4]
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 edi, dword [ebp + 0x84]
lea ecx, [ebp + 0x60]
mov ebx, dword [ebp + 0x88]
push str.download
mov dword [ebp - 0x18], edi
call fcn.0040a850
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x60]
lea eax, [esi + 4]
push ecx
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x18]
push eax
call fcn.00418310
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x60]
call fcn.0040a7c0
lea eax, [ebp + 0x18]
push eax
call fcn.00413fc0
add esp, 4
test al, al
jne 0x48ebab
lea ecx, [ebp + 0x18]
call fcn.00414980
test al, al
jne 0x48ebab
xor bl, bl
jmp 0x48ed56
lea ecx, [ebp + 0x30]
call fcn.0040a890
mov byte [ebp - 4], 3
mov ecx, edi
mov dword [ebp - 0x10], 0
call fcn.0040bfc0
test eax, eax
je 0x48ecff
mov ecx, edi
call fcn.00402fb0
xor edi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edi
nop dword [eax]
mov esi, dword [eax]
lea ecx, [ebp + 0x60]
add esi, edi
call fcn.0040a890
mov byte [ebp - 4], 4
lea eax, [ebp + 0x60]
push eax
push esi
call fcn.00415df0
add esp, 8
test al, al
je 0x48ed92
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.00418310
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x48]
push 0
call fcn.0040a750
push eax
mov ecx, esi
call fcn.0040a750
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x48ed86
mov ecx, ebx
call fcn.0040aa10
lea ecx, [ebp + 0x48]
test al, al
je 0x48ec8a
call fcn.00402fb0
mov ecx, ebx
mov edx, eax
call fcn.0040a980
mov ecx, edx
mov edi, eax
call fcn.00402fb0
push dword [edi]
mov esi, eax
push 0x18
call fcn.00401950
add esp, 8
mov ecx, esi
mov edx, eax
call fcn.00402fb0
push eax
mov ecx, edx
call fcn.0040a8b0
add dword [edi], 0x18
mov edi, dword [ebp - 0x14]
jmp 0x48ec9f
call fcn.00402fb0
push eax
mov ecx, ebx
call fcn.0040a980
mov eax, dword [eax]
push eax
call fcn.0040bad0
lea ecx, [ebp + 0x48]
call fcn.00402fb0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x48ecb1
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x30]
call fcn.0040c160
push 0x3b
lea ecx, [ebp + 0x30]
call fcn.004136c0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x48]
call fcn.0040a7c0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x60]
call fcn.0040a7c0
mov esi, dword [ebp - 0x10]
add edi, 0x18
mov ecx, dword [ebp - 0x18]
inc esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
call fcn.0040bfc0
cmp esi, eax
mov eax, dword [ebp - 0x1c]
jb 0x48ebe0
push str.download.hzt
lea ecx, [ebp + 0x60]
call fcn.0040a850
mov byte [ebp - 4], 6
lea eax, [ebp + 0x60]
push eax
push dword [ebp - 0x20]
lea eax, [ebp]
push eax
call fcn.00418310
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x60]
call fcn.0040a7c0
lea eax, [ebp]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0048f070
mov bl, 1
mov byte [ebp - 4], 3
lea ecx, [ebp]
call fcn.0040a7c0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x30]
call fcn.0040a7c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.0040a7c0
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.004d6ca5
lea esp, [ebp + 0x7c]
pop ebp
ret 8
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x48]
call fcn.0040a7c0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x60]
call fcn.0040a7c0
xor bl, bl
jmp 0x48ed4a