Function at 0x44c2da
Capabilities:
Copy file
Create directory

Disassembly:
push 0x6c
mov eax, 0x4929e1
call fcn.00474ec1
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jne 0x44c2f5
xor al, al
jmp 0x44c517
cmp dword [0x4bfb94], ebx
je 0x44c31b
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x58], esp
push str.HandleDownloads
call fcn.00409f78
mov ecx, 0x4bfcf0
call fcn.004437f6
mov ecx, dword [esi]
call fcn.0041ae14
test eax, eax
setne al
mov byte [esi + 0x70], al
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x14]
push 0x1c
cdq
pop ecx
idiv ecx
push 0x1c
pop edi
mov ecx, eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 4]
cdq
idiv edi
cmp ecx, eax
jne 0x44c4ed
cmp ecx, ebx
jle 0x44c4ed
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x58], ecx
mov ecx, dword [esi + 4]
add ecx, dword [ebp - 0x50]
lea edi, [ebp - 0x48]
call fcn.00459352
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x44c376
mov eax, edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esi]
mov edi, dword [eax + 0x70]
cmp dword [0x4bfb94], ebx
je 0x44c3f7
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 1
mov eax, dword [esi + 4]
add eax, dword [ebp - 0x50]
cmp dword [eax + 0x14], 8
jb 0x44c3b0
mov eax, dword [eax]
push edi
push eax
push str.Actual_path__s_._CreateDirectory_last_error__d
lea eax, [ebp - 0x54]
call fcn.00418ebf
mov edi, dword [ebp - 0x54]
add esp, 0xc
cmp dword [edi - 4], 1
push 1
jle 0x44c3dc
push dword [edi - 0xc]
lea eax, [ebp - 0x54]
push eax
call fcn.00418cc4
mov edi, dword [ebp - 0x54]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x5c], esp
push edi
call fcn.0040a4c4
call fcn.004437b3
lea eax, [edi - 0x10]
call fcn.00404bd4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x14]
add eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x78]
push eax
call fcn.0040a49c
mov byte [ebp - 4], 3
cmp dword [ebp - 0x68], ebx
je 0x44c46b
cmp dword [0x4bfbfc], ebx
je 0x44c46b
lea eax, [ebp - 0x78]
mov byte [ebp - 0x49], bl
call fcn.0041c285
cmp eax, ebx
je 0x44c457
cmp dword [eax + 0x38], ebx
jne 0x44c444
mov byte [ebp - 0x49], bl
jmp 0x44c457
push 0xffffffffffffffff
push ebx
add eax, 0x28
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040baae
mov byte [ebp - 0x49], 1
push ebx
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.0040bba0
mov al, byte [ebp - 0x49]
jmp 0x44c47c
push ebx
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.0040bba0
xor al, al
cmp al, bl
je 0x44c4a5
mov eax, dword [esi + 4]
add eax, dword [ebp - 0x50]
cmp dword [eax + 0x14], 8
jb 0x44c48e
mov eax, dword [eax]
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x44c49a
lea ecx, [ebp - 0x2c]
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x44c4c6
cmp dword [0x4bfb94], ebx
je 0x44c4c6
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x5c], esp
push str.No_local_file_available_for_copy
call fcn.0040a4c4
call fcn.004437b3
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040bba0
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0040bba0
add dword [ebp - 0x50], 0x1c
dec dword [ebp - 0x58]
jne 0x44c35a
mov esi, dword [esi]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x44c4fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x44c509
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
call fcn.00474f44
ret