Function at 0x4075d5
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428762
mov eax, dword fs:[0]
push eax
mov eax, 0x2250
call fcn.0041ace0
mov eax, dword [0x43b034]
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 esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2258]
push dword [esi + 0x858]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x2244], eax
mov eax, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x2258], ebx
call fcn.004117e5
test eax, eax
je 0x407649
push 0xa038
mov ecx, esi
call fcn.004040a5
xor al, al
jmp 0x407a10
cmp byte [esi + 0x174c], bl
jne 0x4076c6
lea ecx, [ebp - 0x2238]
call fcn.004016e1
lea eax, [ebp - 0x2238]
mov dword [ebp - 4], ebx
push eax
call fcn.00404a59
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0x433210
push dword [ebp - 0x2238]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x21c]
push eax
mov ecx, eax
call fcn.0040eaec
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x2238]
call fcn.004015bf
push str.___AUTOIT_NO_CMDEXECUTE___
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x2258]
call fcn.00411b45
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.Compressing_and_adding:_Master_Script
mov ecx, esi
call fcn.00405e3a
push str.___AUTOIT_SCRIPT___
push edi
lea ecx, [ebp - 0x2258]
call fcn.00411b45
test eax, eax
je 0x407726
lea eax, [ebp - 0x221c]
push str.Error_adding_script_file:_n_n
push eax
call fcn.00413fdb
lea eax, [ebp - 0x221c]
push edi
push eax
call fcn.00413fac
add esp, 0x10
lea eax, [ebp - 0x221c]
mov ecx, esi
push eax
call fcn.0040403e
lea ecx, [ebp - 0x2258]
call fcn.004118f4
jmp 0x407642
mov eax, dword [0x43f674]
xor ecx, ecx
inc ecx
test cl, al
jne 0x40775d
or eax, ecx
mov dword [0x43f674], eax
mov dword [ebp - 4], ecx
mov ecx, 0x43f678
push str.___AUTOIT_SCRIPT_SOURCE___
call fcn.00403a9f
push 0x428f7c
call fcn.0041589e
or dword [ebp - 4], 0xffffffff
pop ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x2240], ecx
lea ecx, [ebp - 0x2238]
call fcn.004016e1
push 0x10
mov dword [ebp - 4], 2
pop ecx
mov eax, dword [ebp - 0x2240]
cmp eax, dword [esi + 0x16ec]
jg 0x407794
test eax, eax
jle 0x407794
mov edi, dword [esi + 0x1728]
add edi, ecx
jmp 0x407796
mov edi, ebx
inc eax
add ecx, 0x10
mov dword [ebp - 0x2240], eax
mov dword [ebp - 0x223c], ecx
test edi, edi
je 0x4079f6
mov edx, dword [edi + 4]
push 0x7f
pop ecx
mov dword [ebp - 0x2220], ebx
mov eax, dword [edx]
cmp word [eax + 8], cx
mov ecx, ebx
je 0x40786b
mov eax, ebx
mov eax, dword [edx + eax]
cmp word [eax + 8], 0x31
jne 0x4077ee
mov eax, dword [eax]
push dword [eax]
push str.FILEINSTALL
call fcn.00413d2f
pop ecx
pop ecx
test eax, eax
je 0x40781d
mov ecx, dword [ebp - 0x2220]
mov edx, dword [edi + 4]
inc ecx
mov eax, ecx
mov dword [ebp - 0x2220], ecx
shl eax, 2
mov dword [ebp - 0x2228], eax
push 0x7f
pop ecx
mov eax, dword [edx + eax]
cmp word [eax + 8], cx
mov ecx, dword [ebp - 0x2220]
je 0x40786b
mov eax, dword [ebp - 0x2228]
jmp 0x4077ca
lea ecx, [ebp - 0x2238]
call fcn.00401715
mov edx, dword [edi + 4]
mov ecx, dword [ebp - 0x2220]
mov eax, dword [edx + ecx*4 + 4]
cmp word [eax + 8], 0x47
jne 0x40786b
mov eax, dword [edx + ecx*4 + 8]
cmp word [eax + 8], 0x36
jne 0x40786b
mov eax, dword [edx + ecx*4 + 0xc]
cmp word [eax + 8], 0x40
jne 0x40786b
mov eax, dword [edx + ecx*4 + 8]
lea ecx, [ebp - 0x2238]
mov eax, dword [eax]
push dword [eax]
call fcn.0040182f
mov ecx, dword [ebp - 0x2220]
mov eax, dword [edi + 4]
push 0x7f
mov eax, dword [eax + ecx*4]
pop ecx
cmp word [eax + 8], cx
mov ecx, dword [ebp - 0x223c]
je 0x407778
cmp dword [ebp - 0x2234], 0
mov dword [ebp - 0x2224], ebx
je 0x4079a7
mov edx, 0x43f678
lea ecx, [ebp - 0x2238]
call fcn.00401756
test al, al
lea eax, [ebp - 0x2224]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x104
je 0x4078d2
push dword [ebp - 0x2244]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov edi, dword [ebp - 0x2238]
jmp 0x4078df
mov edi, dword [ebp - 0x2238]
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp dword [ebp - 0x2224], 0
je 0x4079a7
lea eax, [ebp - 0x221c]
push str.Compressing_and_adding:
push eax
call fcn.00413fdb
push dword [ebp - 0x2224]
lea eax, [ebp - 0x221c]
push eax
call fcn.00413fac
lea eax, [ebp - 0x221c]
push eax
lea eax, [esi + 0xc78]
push eax
call fcn.00413fdb
add esp, 0x18
lea eax, [ebp - 0x221c]
mov ecx, esi
push eax
call fcn.00405e3a
cmp byte [esi + 0x16c0], 0
je 0x407946
mov dword [ebp - 0x2258], 0x407a2e
push edi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x2258]
call fcn.00411b45
mov ecx, dword [ebp - 0x223c]
test eax, eax
je 0x407778
cmp eax, 0xa
je 0x40799d
lea eax, [ebp - 0x221c]
push str.Error_adding_file:_n_n
push eax
call fcn.00413fdb
lea eax, [ebp - 0x221c]
push edi
push eax
call fcn.00413fac
add esp, 0x10
lea eax, [ebp - 0x221c]
mov ecx, esi
push eax
call fcn.0040403e
jmp 0x4079f8
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x4079f8
lea eax, [ebp - 0x221c]
push str.Invalid_FileInstall___function:_n_n
push eax
call fcn.00413fdb
push dword [ebp - 0x2238]
lea eax, [ebp - 0x221c]
push eax
call fcn.00413fac
add esp, 0x10
lea eax, [ebp - 0x221c]
mov ecx, esi
push eax
call fcn.0040403e
lea ecx, [ebp - 0x2258]
call fcn.004118f4
lea ecx, [ebp - 0x2238]
call fcn.004015bf
jmp 0x407642
mov bl, 1
lea ecx, [ebp - 0x2258]
call fcn.004118f4
lea ecx, [ebp - 0x2238]
call fcn.004015bf
mov al, bl
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.004126e7
mov esp, ebp
pop ebp
ret 0xc