Function at 0x439cf0
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4996bb
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov ebp, 7
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], ax
mov dword [esp + 0xac], ebx
lea ecx, [esp + 0x4c]
call fcn.0040ccf0
test eax, eax
jne 0x439d8a
mov dword [esp + 0xac], 0xffffffff
cmp dword [esp + 0x64], 8
jb 0x439d74
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00471eaf
add esp, 4
xor edx, edx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], dx
xor eax, eax
jmp 0x43a1da
lea eax, [esp + 0x14]
push eax
mov edi, 0x4a5a68
lea ecx, [esp + 0x50]
call fcn.00402db0
add esp, 4
mov byte [esp + 0xac], 1
push 0xc
push 0x4a61c0
lea eax, [esp + 0x1c]
call fcn.004037d0
lea ecx, [esp + 0x30]
push ecx
mov edi, str..prev
lea ecx, [esp + 0x18]
call fcn.00402db0
add esp, 4
mov byte [esp + 0xac], 2
xor edx, edx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], dx
mov byte [esp + 0xac], 3
lea ecx, [esp + 0x68]
call fcn.0040ccf0
test eax, eax
jne 0x439ecc
push ebx
push 0x4a5b20
lea esi, [esp + 0x70]
call fcn.00402bd0
mov byte [esp + 0xac], 2
mov esi, 8
cmp dword [esp + 0x80], esi
jb 0x439e33
mov eax, dword [esp + 0x6c]
push eax
call fcn.00471eaf
add esp, 4
xor ecx, ecx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], cx
mov byte [esp + 0xac], 1
cmp dword [esp + 0x48], esi
jb 0x439e60
mov edx, dword [esp + 0x34]
push edx
call fcn.00471eaf
add esp, 4
xor eax, eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], ax
mov byte [esp + 0xac], bl
cmp dword [esp + 0x2c], esi
jb 0x439e89
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00471eaf
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
mov dword [esp + 0xac], 0xffffffff
cmp dword [esp + 0x64], esi
jb 0x439eb6
mov eax, dword [esp + 0x50]
push eax
call fcn.00471eaf
add esp, 4
xor ecx, ecx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], cx
xor eax, eax
jmp 0x43a1da
push 9
push str.Download
lea eax, [esp + 0x70]
call fcn.004037d0
lea edx, [esp + 0x84]
push edx
mov edi, 0x4a5a68
lea ecx, [esp + 0x6c]
call fcn.00402db0
add esp, 4
mov byte [esp + 0xac], 4
push 0xc
push 0x4a61c0
lea eax, [esp + 0x8c]
call fcn.004037d0
mov eax, dword [esp + 0x18]
mov esi, 8
cmp dword [esp + 0x2c], esi
jae 0x439f23
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x88]
cmp dword [esp + 0x9c], esi
jae 0x439f3a
lea ecx, [esp + 0x88]
push eax
call fcn.004396b0
add esp, 4
test eax, eax
jne 0x43a039
mov byte [esp + 0xac], 3
cmp dword [esp + 0x9c], esi
jb 0x439f6c
mov eax, dword [esp + 0x88]
push eax
call fcn.00471eaf
add esp, 4
xor ecx, ecx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], cx
mov byte [esp + 0xac], 2
cmp dword [esp + 0x80], esi
jb 0x439fa2
mov edx, dword [esp + 0x6c]
push edx
call fcn.00471eaf
add esp, 4
xor eax, eax
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], ax
mov byte [esp + 0xac], 1
cmp dword [esp + 0x48], esi
jb 0x439fcf
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00471eaf
add esp, 4
xor edx, edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], dx
mov byte [esp + 0xac], bl
cmp dword [esp + 0x2c], esi
jb 0x439ff8
mov eax, dword [esp + 0x18]
push eax
call fcn.00471eaf
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], cx
mov dword [esp + 0xac], 0xffffffff
cmp dword [esp + 0x64], esi
jb 0x43a025
mov edx, dword [esp + 0x50]
push edx
call fcn.00471eaf
add esp, 4
xor eax, eax
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], ax
jmp 0x43a1da
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x43a047
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a06b
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x43a060
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x43a0bf
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x43a079
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], esi
jae 0x43a087
lea eax, [esp + 0x18]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x43a120
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x43a0a7
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], esi
jae 0x43a0b5
lea eax, [esp + 0x18]
push ecx
push eax
call fcn.00475fd4
add esp, 8
mov byte [esp + 0xac], 3
lea esi, [esp + 0x84]
call fcn.00428ca0
mov byte [esp + 0xac], 2
lea esi, [esp + 0x68]
call fcn.00428ca0
mov byte [esp + 0xac], 1
lea esi, [esp + 0x30]
call fcn.00428ca0
mov byte [esp + 0xac], bl
lea esi, [esp + 0x14]
call fcn.00428ca0
mov dword [esp + 0xac], 0xffffffff
lea esi, [esp + 0x4c]
call fcn.00428ca0
xor eax, eax
jmp 0x43a1da
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x2c], esi
jae 0x43a12e
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x9c], esi
jae 0x43a145
lea eax, [esp + 0x88]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x43a17b
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x2c], esi
jae 0x43a160
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x43a16e
lea eax, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x43a0bf
mov byte [esp + 0xac], 3
lea esi, [esp + 0x84]
call fcn.00428ca0
mov byte [esp + 0xac], 2
lea esi, [esp + 0x68]
call fcn.00428ca0
mov byte [esp + 0xac], 1
lea esi, [esp + 0x30]
call fcn.00428ca0
mov byte [esp + 0xac], bl
lea esi, [esp + 0x14]
call fcn.00428ca0
mov dword [esp + 0xac], 0xffffffff
lea esi, [esp + 0x4c]
call fcn.00428ca0
mov eax, 1
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00471eba
add esp, 0x9c
ret