Function at 0x41a7a0
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x627ad9
mov eax, dword fs:[0]
push eax
sub esp, 0x5a0
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5ac], ecx
mov eax, dword [ebp + 8]
push eax
push str.SoftInstall::_UnExeResFile__s_
call fcn.00412530
push eax
call fcn.0040d040
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41a810
push str.SoftInstall::_Exe
call fcn.00412530
push eax
call fcn.0040d040
add esp, 8
xor eax, eax
jmp 0x41ab66
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x59c]
call fcn.0040e4b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x59c]
push ecx
lea edx, [ebp - 0x13c]
push edx
call fcn.0043a030
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x59c]
call fcn.0040e530
mov dword [ebp - 0x150], 0
xor eax, eax
mov word [ebp - 0x574], ax
push 0x206
push 0
lea ecx, [ebp - 0x572]
push ecx
call fcn.005b4de0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x35c], dx
push 0x206
push 0
lea eax, [ebp - 0x35a]
push eax
call fcn.005b4de0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x35c]
push edx
call fcn.005b4dbe
add esp, 8
lea eax, [ebp - 0x574]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x574]
push ecx
call fcn.00432f80
add esp, 4
push str.ZZZZ
push str.7zData
mov edx, dword [ebp - 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x368], eax
cmp dword [ebp - 0x368], 0
jne 0x41a937
push str.SoftInstall::_Exe_7zData_ZZZZ
call fcn.00412530
push eax
call fcn.0040d040
add esp, 8
mov dword [ebp - 0x5a0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.0040e3e0
mov eax, dword [ebp - 0x5a0]
jmp 0x41ab66
mov eax, dword [ebp - 0x368]
push eax
mov ecx, dword [ebp - 0x140]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x360], eax
mov edx, dword [ebp - 0x360]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x368]
push eax
mov ecx, dword [ebp - 0x140]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x120], eax
push str.my7zData.7z
lea edx, [ebp - 0x574]
push edx
call fcn.005b4d90
add esp, 8
lea eax, [ebp - 0x574]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a9b2
lea ecx, [ebp - 0x574]
push ecx
call fcn.004396c0
add esp, 4
mov edx, dword [ebp - 0x120]
push edx
call fcn.005b2e02
add esp, 4
mov dword [ebp - 0x5a4], eax
mov eax, dword [ebp - 0x5a4]
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x148]
push edx
mov eax, dword [ebp - 0x144]
push eax
call fcn.005b5620
add esp, 0xc
mov dword [ebp - 0x364], 0
cmp dword [ebp - 0x364], 0
je 0x41aa63
mov dword [ebp - 0x578], 0
mov dword [ebp - 0x57c], 0
jmp 0x41aa28
mov ecx, dword [ebp - 0x57c]
add ecx, 1
mov dword [ebp - 0x57c], ecx
mov edx, dword [ebp - 0x57c]
cmp edx, dword [ebp - 0x120]
jae 0x41aa63
mov eax, dword [ebp - 0x144]
add eax, dword [ebp - 0x57c]
mov ecx, dword [ebp - 0x144]
add ecx, dword [ebp - 0x57c]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x578]
add eax, 1
mov dword [ebp - 0x578], eax
jmp 0x41aa19
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x574]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0xffffffff
je 0x41aacc
mov dword [ebp - 0x580], 0
push 0
lea edx, [ebp - 0x580]
push edx
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x144]
push ecx
mov edx, dword [ebp - 0x14c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x11c], 0
push 0x103
push 0
lea ecx, [ebp - 0x11b]
push ecx
call fcn.005b4de0
add esp, 0xc
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x574]
push eax
call fcn.00433140
add esp, 8
push 0
push 0
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x35c]
push edx
call fcn.00429f30
add esp, 0x10
cmp dword [ebp - 0x144], 0
je 0x41ab47
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x5a8], eax
mov ecx, dword [ebp - 0x5a8]
push ecx
call fcn.005b467e
add esp, 4
mov dword [ebp - 0x144], 0
mov edx, dword [ebp - 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.0040e3e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret 8