Function at 0x4114a0
Capabilities:
Get common file path
Get disk size
Get file size
Get installed programs
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x544
mov eax, dword [0x42f560]
xor eax, esp
mov dword [esp + 0x540], eax
mov eax, dword [ebp + 0xc]
push ebx
xor ecx, ecx
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x24], ecx
cmp dword [ebp + 8], ecx
je 0x411def
cmp eax, ecx
je 0x411def
mov dword [eax + 0x104c], ecx
mov dword [eax + 0x1050], ecx
mov dword [esp + 0x18], ecx
mov esi, 0x43054c
lea ebx, [esi - 0x44]
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411500
sub eax, edx
sar eax, 1
mov dword [esi - 4], eax
mov eax, dword [esi]
lea edi, [esi + 4]
cmp eax, 0x25
je 0x41157a
push edi
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x41158e
mov eax, dword [esi]
push edi
push 1
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x41158e
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
imul eax, eax, 0x24c
add eax, str._ProgramFilesFolder_
push eax
lea esi, [edi + 0xe20]
push str.Break3___s_
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp dword [edi + 8], 0
je 0x411687
jmp 0x41167d
push 0x100
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x41166e
cmp dword [esi], 0x26
jne 0x4115d6
mov ecx, 0x42b25c
mov eax, ebx
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4115c6
test dx, dx
je 0x4115c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4115c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4115a0
xor eax, eax
jmp 0x4115cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4115d6
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x1c], edi
inc dword [esp + 0x18]
add esi, 0x24c
cmp esi, 0x4319f8
jl 0x4114f8
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x1c]
lea esi, [esp + 0x48]
mov edx, esi
sub edx, eax
jmp 0x411600
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x411600
xor ecx, ecx
cmp cx, word [esp + 0x48]
je 0x41163c
jmp 0x411620
mov ax, word [esi]
mov edx, 0x5c
add esi, 2
cmp dx, ax
jne 0x411635
xor ecx, ecx
mov word [esi], cx
xor edx, edx
cmp dx, word [esi]
jne 0x411620
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x44]
push ecx
push 0
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x411dd0
cmp dword [esp + 0x3c], 0
jne 0x4116b1
mov eax, dword [esp + 0x38]
shr eax, 0x14
mov dword [edi + 4], eax
jmp 0x4116b8
mov edx, dword [esp + 0x14]
cmp dword [edx + 8], 0
je 0x411687
mov esi, str.Break_4
mov edi, str.K7IS_Install_Init
call fcn.00412cb0
mov eax, dword [esp + 0x14]
cmp dword [eax + 8], 0
mov dword [esp + 0x10], 0
je 0x411d75
mov edi, str.K7IS_Install_Init
mov esi, str.Break_5
call fcn.00412cb0
jmp 0x411d75
mov dword [edi + 4], 0xffffffff
push 0x13f8
xor esi, esi
push 8
mov dword [edi + 0x1048], esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [edi + 0x1048], ebx
cmp ebx, esi
jne 0x4116ff
cmp dword [edi + 8], esi
je 0x4116f6
mov edi, str.K7IS_Install_Init
mov esi, str.Break_2
call fcn.00412cb0
xor esi, esi
mov dword [esp + 0x10], esi
jmp 0x411d75
push esi
push 0x80
push 3
push esi
push 3
lea eax, [edi + 0x20]
push 0x80000000
push eax
mov dword [ebx + 0x368], esi
mov dword [ebx + 0x334], esi
mov dword [ebx + 0x358], esi
mov dword [ebx + 0x364], esi
mov dword [ebx + 0x670], esi
mov dword [ebx + 0x674], esi
mov dword [ebx + 0x318], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x411752
mov dword [esp + 0x30], esi
jmp 0x41175e
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
cmp eax, esi
jne 0x41177d
cmp dword [edi + 8], esi
je 0x411774
mov edi, str.K7IS_Install_Init
mov esi, str.Break_6
call fcn.00412cb0
xor esi, esi
mov dword [esp + 0x10], esi
jmp 0x411d61
mov ecx, dword [esp + 0x18]
push esi
push esi
push esi
push 0x8000002
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esp + 0x20], eax
cmp eax, esi
jne 0x4117b8
cmp dword [edi + 8], esi
je 0x4117af
mov edi, str.K7IS_Install_Init
mov esi, str.Failed_to_create_File_Mapping
call fcn.00412cb0
xor esi, esi
mov dword [esp + 0x10], esi
jmp 0x411d52
mov edx, dword [esp + 0x18]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov eax, dword [esp + 0x24]
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x28], eax
cmp eax, esi
jne 0x4117fb
cmp dword [edi + 8], esi
je 0x4117f2
mov edi, str.K7IS_Install_Init
mov esi, str.Failed_to_do_MapViewOfFile__
call fcn.00412cb0
xor esi, esi
mov dword [esp + 0x10], esi
jmp 0x411d41
mov ecx, dword [0x4304ec]
mov edx, dword [esp + 0x28]
lea eax, [ecx + edx]
push 0x13f8
push eax
push ebx
mov dword [esp + 0x28], eax
call fcn.0041a520
mov eax, dword [ebx + 0x314]
add dword [esp + 0x28], 0x13f8
add esp, 0xc
push esi
push 0x4fe
push ebx
mov dword [esp + 0x40], eax
mov dword [ebx + 0x314], esi
call fcn.00415090
mov dword [ebx + 0x314], eax
cmp dword [esp + 0x34], eax
je 0x4118ad
cmp dword [edi + 8], esi
je 0x411865
mov edi, str.K7IS_Install_Init
mov esi, str.Data_Corruption_found_at_Install_Header_
call fcn.00412cb0
mov edi, dword [esp + 0x14]
xor esi, esi
push str.ParserInit:_Data_Corruption_found_at_Install_Header
add edi, 0xe20
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
mov dword [esp + 0x10], esi
mov dword [ebx + 0x368], esi
mov dword [ebx + 0x334], esi
mov dword [ebx + 0x358], esi
mov dword [ebx + 0x364], esi
mov dword [ebx + 0x670], esi
mov dword [ebx + 0x674], esi
mov dword [ebx + 0x318], esi
jmp 0x411d41
mov ecx, str.K7IS001:Install_Tag__C_K7_Computing_Pvt_Ltd
lea eax, [ebx + 0x80]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4118de
cmp dx, si
je 0x4118da
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4118de
add eax, 4
add ecx, 4
cmp dx, si
jne 0x4118b8
xor eax, eax
jmp 0x4118e3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x411902
cmp dword [edi + 8], esi
je 0x41187a
mov edi, str.K7IS_Install_Init
mov esi, str.Break_10
call fcn.00412cb0
xor esi, esi
jmp 0x41187a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x13ec], ecx
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x13f0], edx
mov edx, dword [ebx + 0x104]
mov dword [ebx + 0x318], esi
mov dword [ebx + 0x13f4], eax
mov dword [ebx + 0x31c], esi
mov dword [ebx + 0x368], esi
mov dword [ebx + 0x334], esi
mov dword [ebx + 0x358], esi
mov dword [ebx + 0x364], esi
mov dword [ebx + 0x670], esi
mov dword [ebx + 0x674], esi
mov dword [ebx + 0x67c], edi
mov dword [ebx + 0x678], ecx
mov eax, dword [edi + 0x1c]
push 0x334
mov dword [edi + 0x1020], edx
mov dword [edi + 0x18], esi
mov dword [edi + 0x1024], eax
push 8
mov dword [ebx + 0x318], esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebx + 0x318], eax
cmp eax, esi
jne 0x4119be
cmp dword [edi + 8], esi
je 0x4117f2
mov edi, str.K7IS_Install_Init
mov esi, str.Break_11
call fcn.00412cb0
xor esi, esi
mov dword [esp + 0x10], esi
jmp 0x411d41
push 0x200000
push 8
mov dword [ebx + 0x670], esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebx + 0x670], eax
cmp eax, esi
jne 0x411a05
cmp dword [edi + 8], esi
je 0x4117f2
mov edi, str.K7IS_Install_Init
mov esi, str.Break_12.1
call fcn.00412cb0
xor esi, esi
mov dword [esp + 0x10], esi
jmp 0x411d41
mov ecx, dword [ebx + 0x32c]
shl ecx, 8
push ecx
push 8
mov dword [ebx + 0x334], esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebx + 0x334], eax
cmp eax, esi
jne 0x411a51
cmp dword [edi + 8], esi
je 0x4117f2
mov edi, str.K7IS_Install_Init
mov esi, str.Break_13
call fcn.00412cb0
xor esi, esi
mov dword [esp + 0x10], esi
jmp 0x411d41
mov edx, dword [ebx + 0x350]
shl edx, 8
push edx
push 8
mov dword [ebx + 0x358], esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebx + 0x358], eax
cmp eax, esi
jne 0x411a9d
cmp dword [edi + 8], esi
je 0x4117f2
mov edi, str.K7IS_Install_Init
mov esi, str.Break_14
call fcn.00412cb0
xor esi, esi
mov dword [esp + 0x10], esi
jmp 0x411d41
mov eax, dword [ebx + 0x35c]
shl eax, 8
push eax
push 8
mov dword [ebx + 0x364], esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebx + 0x364], eax
cmp eax, esi
jne 0x411ae9
cmp dword [edi + 8], esi
je 0x4117f2
mov edi, str.K7IS_Install_Init
mov esi, str.Break_15
call fcn.00412cb0
xor esi, esi
mov dword [esp + 0x10], esi
jmp 0x411d41
mov dword [esp + 0x18], esi
lea ecx, [ecx]
mov eax, dword [esp + 0x1c]
mov edi, dword [ebx + 0x318]
mov esi, eax
add eax, 0x334
mov ecx, 0xcd
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x318]
mov esi, dword [eax + 0x31c]
push 0
mov dword [eax + 0x31c], 0
mov ecx, dword [ebx + 0x318]
push 0xcd
push ecx
call fcn.00415090
mov edx, dword [ebx + 0x318]
mov dword [edx + 0x31c], eax
mov edi, dword [ebx + 0x318]
cmp esi, dword [edi + 0x31c]
jne 0x411c1a
mov ecx, str.K7IS001:Module_Tag__C_K7_Computing_Pvt_Ltd
lea eax, [edi + 4]
jmp 0x411b60
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411b86
test dx, dx
je 0x411b82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411b86
add eax, 4
add ecx, 4
test dx, dx
jne 0x411b60
xor eax, eax
jmp 0x411b8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x411c56
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x411bc9
cmp dword [edi + 0x308], 5
je 0x411bd6
mov eax, dword [esp + 0x14]
cmp dword [eax + 8], esi
je 0x411bbc
mov edi, str.K7IS_Parser_Init
mov esi, str.Break_20.1
call fcn.00412cb0
mov dword [esp + 0x10], 0
jmp 0x411cbd
cmp dword [edi + 0x308], 6
jne 0x411c79
mov eax, dword [esp + 0x1c]
mov ecx, eax
add eax, dword [edi + 0x304]
push ecx
mov dword [esp + 0x20], eax
mov eax, 4
mov ecx, ebx
call fcn.00410f10
add esp, 4
test eax, eax
je 0x411c4c
call fcn.004148a0
test eax, eax
je 0x411c9c
inc esi
cmp esi, 2
mov dword [esp + 0x18], esi
jl 0x411af0
jmp 0x411cbd
mov eax, dword [esp + 0x14]
cmp dword [eax + 8], 0
je 0x411c33
mov edi, str.K7IS_Parser_Init
mov esi, str.Break_18
call fcn.00412cb0
mov ecx, dword [esp + 0x14]
add ecx, 0xe20
push str.ParserStart:_Data_Corruption___Module_Header_of_Resource_dll_or_Font_Lib
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
mov dword [esp + 0x10], 0
jmp 0x411cbd
mov edx, dword [esp + 0x14]
cmp dword [edx + 8], 0
je 0x411c6f
mov edi, str.K7IS_Parser_Init
mov esi, str.Break_19
call fcn.00412cb0
mov dword [esp + 0x10], 0
jmp 0x411cbd
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 8], 0
je 0x411c92
mov edi, str.K7IS_Parser_Init
mov esi, str.Break_20.2
call fcn.00412cb0
mov dword [esp + 0x10], 0
jmp 0x411cbd
mov edx, dword [esp + 0x14]
cmp dword [edx + 8], 0
je 0x411cb5
mov edi, str.K7IS_Install_Init
mov esi, str.Current_user_doesnt_have_Admin_Privilege_
call fcn.00412cb0
mov dword [esp + 0x24], 1
push ebx
lea eax, [esp + 0x14c]
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_s
push eax
mov dword [esp + 0x38], 0
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
push 1
push 0
lea edx, [esp + 0x154]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411da3
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
cmp dword [eax + 8], 0
mov dword [eax + 0xc], 1
je 0x411d2b
mov edi, str.K7IS_Install_Init
mov esi, str.This_product_is_already_installed_
call fcn.00412cb0
mov dword [esp + 0x24], 1
cmp dword [esp + 0x10], 0
je 0x411d41
cmp dword [esp + 0x24], 1
jne 0x411d8a
mov eax, dword [esp + 0x28]
xor esi, esi
cmp eax, esi
je 0x411d52
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x411d61
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x411d70
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0040e970
mov eax, dword [esp + 0x14]
mov dword [eax + 0x1048], 0
mov dword [eax + 0x10], 1
mov ecx, dword [esp + 0x54c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00416a72
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax]
jae 0x411d33
cmp dword [eax + 8], 0
je 0x411dc3
mov edi, str.K7IS_Install_Init
mov esi, str.Low_Disk_Space_Error_
call fcn.00412cb0
mov dword [esp + 0x10], 0
jmp 0x411d41
cmp dword [edi + 8], 0
je 0x411de5
mov edi, str.K7IS_Install_Init
mov esi, str.Failed_to_get_Disk_Space
call fcn.00412cb0
mov dword [esp + 0x10], 0
jmp 0x411d75
cmp dword [eax + 8], ecx
je 0x411e05
mov edi, str.K7IS_Install_Init
mov esi, str.Break_1
call fcn.00412cb0
xor ecx, ecx
mov dword [esp + 0x10], ecx
jmp 0x411d75