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

Disassembly:
push 0xffffffffffffffff
push 0x469a1b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push esi
push edi
mov eax, dword [0x4832f0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, 7
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], ax
lea ecx, [esp + 0x80]
mov dword [esp + 0xa8], ebx
call fcn.004090f0
test eax, eax
jne 0x4333f1
cmp dword [esp + 0x98], 8
jb 0x4333ea
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0044b6e3
add esp, 4
xor eax, eax
jmp 0x4336c8
push 0x4743d0
lea ecx, [esp + 0x84]
lea esi, [esp + 0x14]
call fcn.00404d90
add esp, 4
push 0xc
push 0x474534
mov eax, esi
mov byte [esp + 0xb0], 1
call fcn.00405090
mov ecx, esi
push str..prev
lea esi, [esp + 0x30]
call fcn.00404d90
add esp, 4
xor edx, edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], dx
lea ecx, [esp + 0x48]
mov byte [esp + 0xa8], 3
call fcn.004090f0
test eax, eax
jne 0x4334f8
push ebx
push 0x474a60
lea esi, [esp + 0x50]
call fcn.004018a0
mov esi, 8
cmp dword [esp + 0x60], esi
jb 0x433481
mov eax, dword [esp + 0x4c]
push eax
call fcn.0044b6e3
add esp, 4
xor ecx, ecx
mov word [esp + 0x4c], cx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edi
cmp dword [esp + 0x44], esi
jb 0x4334a3
mov edx, dword [esp + 0x30]
push edx
call fcn.0044b6e3
add esp, 4
xor eax, eax
mov word [esp + 0x30], ax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
cmp dword [esp + 0x28], esi
jb 0x4334c5
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0044b6e3
add esp, 4
xor edx, edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], dx
cmp dword [esp + 0x98], esi
jb 0x4333ea
mov eax, dword [esp + 0x84]
push eax
call fcn.0044b6e3
add esp, 4
xor eax, eax
jmp 0x4336c8
push 9
push str.Download
lea eax, [esp + 0x50]
call fcn.00405090
push 0x4743d0
lea ecx, [esp + 0x4c]
lea esi, [esp + 0x68]
call fcn.00404d90
add esp, 4
push 0xc
push 0x474534
mov eax, esi
mov byte [esp + 0xb0], 4
call fcn.00405090
mov eax, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0x433546
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x68]
cmp dword [esp + 0x7c], esi
jae 0x433554
lea ecx, [esp + 0x68]
push eax
call fcn.00432d10
add esp, 4
test eax, eax
jne 0x433588
cmp dword [esp + 0x7c], esi
jb 0x433574
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0044b6e3
add esp, 4
xor edx, edx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], dx
jmp 0x43346e
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], esi
jae 0x433596
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4335ba
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], esi
jae 0x4335af
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x43360a
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x44], esi
jae 0x4335c8
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], esi
jae 0x4335d6
lea eax, [esp + 0x14]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x433641
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x44], esi
jae 0x4335f2
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], esi
jae 0x433600
lea eax, [esp + 0x14]
push ecx
push eax
call fcn.0044e735
add esp, 8
lea esi, [esp + 0x64]
call fcn.00402290
lea esi, [esp + 0x48]
call fcn.00402290
lea esi, [esp + 0x2c]
call fcn.00402290
lea esi, [esp + 0x10]
call fcn.00402290
lea esi, [esp + 0x80]
call fcn.00402290
xor eax, eax
jmp 0x4336c8
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x28], esi
jae 0x43364f
lea ecx, [esp + 0x14]
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x7c], esi
jae 0x43365d
lea eax, [esp + 0x68]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x433693
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x28], esi
jae 0x433678
lea ecx, [esp + 0x14]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], esi
jae 0x433686
lea eax, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x43360a
lea esi, [esp + 0x64]
call fcn.00402290
lea esi, [esp + 0x48]
call fcn.00402290
lea esi, [esp + 0x2c]
call fcn.00402290
lea esi, [esp + 0x10]
call fcn.00402290
lea esi, [esp + 0x80]
call fcn.00402290
mov eax, 1
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x9c
ret