Function at 0x4436f0
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2742
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x62b370]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x254]
push ebx
mov dword [ebp - 0x2c0], edi
mov dword [ebp - 0x2c4], ebx
call fcn.0042f050
push 0xffffffffffffffff
push 0x3f
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], 0
call fcn.0043dc00
cmp eax, 0xffffffff
je 0x443785
push eax
push 0
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x254]
call fcn.00438e40
push eax
lea ecx, [ebp - 0x254]
call fcn.00430d70
lea ecx, [ebp - 0x26c]
call fcn.00427660
push 0xffffffffffffffff
push 0x2f
lea ecx, [ebp - 0x254]
call fcn.0043dc00
cmp eax, 0xffffffff
je 0x4437d3
mov ecx, ebx
lea esi, [eax + 1]
call fcn.0042f150
cmp esi, eax
jae 0x4437d3
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x254]
call fcn.00438e40
push eax
lea ecx, [ebp - 0x254]
call fcn.00430d70
lea ecx, [ebp - 0x26c]
call fcn.00427660
lea ecx, [ebp - 0x254]
call fcn.0042f150
cmp eax, 4
jae 0x4437ee
lea ecx, [ebp - 0x254]
call fcn.00430d30
or esi, 0xffffffff
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x2bc], esi
call fcn.0042f120
test al, al
jne 0x443957
lea eax, [ebp - 0x254]
push eax
lea eax, [edi + 0x20]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00432ad0
push 0x6194e0
push eax
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 1
push eax
call fcn.00444260
add esp, 0x18
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call fcn.00427660
lea ecx, [ebp - 0x284]
call fcn.004275c0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x443896
lea ecx, [ebp - 0x284]
call fcn.004275c0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call ebx
lea ecx, [ebp - 0x284]
call fcn.004275c0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x44389c
lea ecx, [ebp - 0x284]
call fcn.00430d30
jmp 0x44389c
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x284]
call fcn.0042f120
test al, al
jne 0x4438eb
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x284]
call fcn.004275c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x2bc], esi
cmp esi, 0xffffffff
je 0x4438eb
lea eax, [ebp - 0x284]
push eax
lea ecx, [edi + 0x38]
call fcn.0042ef10
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0
call fcn.00427660
cmp esi, 0xffffffff
je 0x44395d
push dword [ebp - 0x2c4]
mov byte [ebp - 4], 8
push ecx
push esi
mov ecx, edi
call fcn.00443c90
push esi
mov byte [ebp - 0x2b5], al
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x2b5], 0
mov dword [ebp - 0x2bc], 0xffffffff
jne 0x443ba3
lea ecx, [edi + 0x38]
call fcn.004275c0
push eax
call ebx
lea ecx, [ebp - 0x254]
call fcn.00427660
mov al, byte [ebp - 0x2b5]
jmp 0x443b85
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.Setup.exe
lea ecx, [ebp - 0x26c]
call fcn.004276b0
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 4
push ecx
lea eax, [edi + 0x20]
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.00432ad0
push 0x6194e0
push eax
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 5
push eax
call fcn.00444260
add esp, 0x18
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 7
call fcn.00427660
lea ecx, [ebp - 0x23c]
call fcn.004275c0
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call esi
cmp eax, 0xffffffff
je 0x4439f5
lea ecx, [ebp - 0x23c]
call fcn.004275c0
push eax
call ebx
lea ecx, [ebp - 0x23c]
call fcn.004275c0
push eax
call esi
cmp eax, 0xffffffff
je 0x4439f5
lea ecx, [ebp - 0x23c]
call fcn.00430d30
lea ecx, [ebp - 0x23c]
call fcn.0042f120
test al, al
je 0x443aec
push 0x20c
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.004d7c10
add esp, 0xc
lea eax, [ebp - 0x224]
lea ecx, [edi + 0x20]
push eax
push 1
push 0x619500
call fcn.004275c0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x443aa8
xor eax, eax
lea ecx, [ebp - 0x23c]
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x224]
push eax
call fcn.00427640
push 0x619534
call fcn.00426dd0
add esp, 4
lea ecx, [ebp - 0x23c]
push eax
push 0xffffffffffffffff
push 0x619534
call fcn.004441d0
cmp eax, 0xffffffff
je 0x443aa8
push eax
push 0
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00438e40
push eax
lea ecx, [ebp - 0x23c]
call fcn.00430d70
lea ecx, [ebp - 0x29c]
call fcn.00427660
lea ecx, [ebp - 0x23c]
call fcn.0042f120
lea ecx, [ebp - 0x23c]
test al, al
je 0x443acb
lea eax, [ebp - 0x26c]
push eax
call fcn.0042ef10
jmp 0x443ad5
push str._Setup.exe
call fcn.00427600
lea ecx, [edi + 0x38]
call fcn.0042f120
test al, al
jne 0x443aec
lea ecx, [edi + 0x38]
call fcn.004275c0
push eax
call ebx
lea ecx, [ebp - 0x23c]
call fcn.004275c0
push eax
call ebx
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x23c]
call fcn.004275c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x2bc], esi
cmp esi, 0xffffffff
je 0x443b3a
lea eax, [ebp - 0x23c]
push eax
lea ecx, [edi + 0x38]
call fcn.0042ef10
lea ecx, [ebp - 0x23c]
call fcn.00427660
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0
call fcn.00427660
cmp esi, 0xffffffff
jne 0x4438ff
cmp dword [edi], 0
je 0x443b78
sub esp, 0x18
mov ecx, esp
push 0x619548
call fcn.004276b0
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0x254]
call fcn.00427660
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00484636
mov esp, ebp
pop ebp
ret 0xc
lea esi, [edi + 0x38]
mov ecx, esi
call fcn.0042f150
sub eax, 5
mov ecx, esi
push eax
push 0
lea eax, [ebp - 0x29c]
push eax
call fcn.00438e40
add edi, 8
push eax
mov ecx, edi
call fcn.00430d70
lea ecx, [ebp - 0x29c]
call fcn.00427660
mov ecx, edi
call fcn.004275c0
push eax
mov ecx, esi
call fcn.004275c0
push eax
call fcn.004eb37c
add esp, 8
test eax, eax
je 0x443c49
mov ecx, edi
call fcn.004275c0
push eax
call ebx
mov ecx, edi
call fcn.004275c0
push eax
mov ecx, esi
call fcn.004275c0
push eax
call fcn.004eb37c
add esp, 8
mov ecx, edi
call fcn.004275c0
push eax
mov ecx, esi
call fcn.004275c0
push eax
call fcn.004eb37c
add esp, 8
test eax, eax
je 0x443c49
push 1
mov ecx, edi
call fcn.004275c0
push eax
mov ecx, esi
call fcn.004275c0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x254]
call fcn.00427660
mov al, byte [ebp - 0x2b5]
jmp 0x443b85