Function at 0x443de1
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes

Disassembly:
push 0x33c
mov eax, 0x49b6c9
call fcn.00459b85
xor ebx, ebx
mov dword [ebp - 0x328], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x320], ebx
mov dword [ebp - 0x31c], ebx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x324]
push 1
push eax
push ebx
push 0x3b
lea ecx, [ebp + 8]
call fcn.0042a6f6
mov ecx, dword [ebp - 0x320]
mov edi, 0x4b6748
mov edx, dword [ebp - 0x324]
mov eax, ecx
sub eax, edx
push 0x30
sub eax, 0x90
pop esi
cmp eax, esi
jae 0x443ed6
push ebx
lea eax, [ebp - 0x311]
mov dword [ebp - 0x248], edi
push eax
push 0x4b65d4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x220], 0x4b6750
call fcn.00407aa0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
mov eax, dword [ebp - 0x320]
cmp eax, dword [ebp - 0x31c]
je 0x443eae
push ebx
mov dword [ebp - 0x330], eax
push ecx
mov ecx, eax
mov dword [eax], edi
mov dword [eax + 0x28], 0x4b6750
call fcn.004077f0
mov byte [ebp - 4], 3
add dword [ebp - 0x320], esi
jmp 0x443ebb
push ecx
push eax
lea ecx, [ebp - 0x324]
call fcn.0042a0e7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00404cc0
mov ecx, dword [ebp - 0x320]
mov edx, dword [ebp - 0x324]
sub ecx, edx
sub ecx, 0xc0
cmp ecx, esi
jb 0x443ef0
push 0xfffffffffffffffc
pop edi
mov dword [ebp - 0x318], edi
jmp 0x444231
add edx, 0x34
cmp dword [edx + 0x14], 8
jb 0x443efb
mov edx, dword [edx]
push edx
call fcn.004771cd
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x324]
add eax, 0x64
pop ecx
cmp dword [eax + 0x14], 8
jb 0x443f19
mov eax, dword [eax]
push eax
call fcn.004771cd
mov esi, eax
lea eax, [ebp - 0x278]
push eax
mov dword [ebp - 0x32c], esi
call fcn.0041dca4
pop ecx
pop ecx
mov byte [ebp - 4], 8
lea eax, [ebp - 0x274]
cmp dword [ebp - 0x260], 8
cmovae eax, dword [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44413c
push 0
lea eax, [ebp - 0x311]
mov dword [ebp - 0x248], edi
push eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x220], 0x4b6750
call fcn.004060a0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x248]
mov dword [ebp - 0x348], eax
mov esi, 0x104
xor eax, eax
mov byte [ebp - 0x344], al
mov dword [ebp - 0x340], eax
cmp dword [ebp - 0x234], esi
jae 0x443fb9
push eax
push esi
lea ecx, [ebp - 0x244]
call fcn.00408100
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x328], 1
mov byte [ebp - 0x344], 1
call fcn.00407930
push dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor edi, edi
inc edi
mov dword [ebp - 0x328], edi
and edi, 0xfffffffe
mov dword [ebp - 0x328], edi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x348]
call fcn.00405f90
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x278]
mov dword [ebp - 0x33c], eax
xor eax, eax
mov byte [ebp - 0x338], al
mov dword [ebp - 0x334], eax
cmp dword [ebp - 0x264], esi
jae 0x444032
push eax
push esi
lea ecx, [ebp - 0x274]
call fcn.0041496d
or edi, 2
lea esi, [ebp - 0x244]
mov dword [ebp - 0x328], edi
lea ecx, [ebp - 0x278]
cmp dword [ebp - 0x230], 8
mov byte [ebp - 0x338], 1
cmovae esi, dword [ebp - 0x244]
call fcn.004140be
push dword [eax]
push 0
push 0x4adc68
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
and edi, 0xfffffffd
mov dword [ebp - 0x328], edi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x33c]
call fcn.0041132b
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [0x4de280]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x310]
call fcn.0045529f
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x311]
push 1
push eax
push str.ISSetup.dll
lea ecx, [ebp - 0x2a8]
call fcn.0041088a
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x278]
push 0
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x310]
call fcn.00455993
mov esi, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2a8]
call fcn.00404cc0
cmp esi, 1
je 0x444116
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x278]
call fcn.00413efa
jmp 0x444118
mov bl, 1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x310]
call fcn.0045554e
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x248]
call fcn.00404cc0
mov esi, dword [ebp - 0x32c]
cmp dword [ebp - 0x264], 0
mov edi, 0x1b59
mov dword [ebp - 0x318], edi
je 0x4441cc
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.0041d7bc
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2ac]
call fcn.0041e168
test eax, eax
jne 0x444195
mov edi, dword [0x4dea88]
mov dword [ebp - 0x318], edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2ac]
call fcn.0041d9d8
jmp 0x444220
mov ecx, dword [ebp - 0x324]
lea eax, [ecx + 0x90]
push eax
push esi
push dword [ebp - 0x330]
push ecx
lea ecx, [ebp - 0x2ac]
call fcn.0041e8f1
mov edi, eax
mov dword [ebp - 0x318], edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2ac]
call fcn.0041d9d8
test bl, bl
je 0x4441eb
cmp dword [ebp - 0x260], 8
lea eax, [ebp - 0x274]
cmovae eax, dword [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [ebp + 0x38], 0
je 0x444220
lea ecx, [ebp - 0x33c]
call fcn.00410db9
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x33c]
push dword [0x4de280]
call fcn.00411804
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x33c]
call fcn.00411324
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.00404cc0
xor ebx, ebx
mov byte [ebp - 4], bl
mov esi, dword [ebp - 0x324]
test esi, esi
je 0x4442da
mov ebx, dword [ebp - 0x320]
mov dword [ebp - 0x330], esi
cmp esi, ebx
je 0x444278
push 0x30
pop edi
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00404cc0
add esi, edi
mov dword [ebp - 0x330], esi
cmp esi, ebx
jne 0x444255
mov esi, dword [ebp - 0x324]
mov edi, dword [ebp - 0x318]
mov eax, dword [ebp - 0x31c]
sub eax, esi
mov dword [ebp - 0x318], esi
push 0x30
cdq
pop ecx
idiv ecx
imul eax, eax, 0x30
mov dword [ebp - 0x32c], eax
cmp eax, 0x1000
jb 0x4442bd
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.00413386
mov esi, dword [ebp - 0x318]
mov eax, dword [ebp - 0x32c]
pop ecx
pop ecx
push eax
push esi
call fcn.004598ae
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x31c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404cc0
mov eax, edi
call fcn.00459b34
ret