Function at 0x4133eb
Capabilities:
Get common file path
Read .ini file

Disassembly:
push 0x234
mov eax, 0x449c1b
call fcn.004386f7
mov ebx, ecx
mov dword [ebp - 0x240], ebx
lea esi, [ebx + 4]
xor edi, edi
mov dword [ebx], vtable.CUninstallActions.0
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.00420fa0
mov dword [esi], eax
lea esi, [ebx + 0xc]
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.00420fcb
mov dword [esi], eax
lea esi, [ebx + 0x14]
mov ecx, esi
mov byte [ebp - 4], 2
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.00420fcb
mov dword [esi], eax
lea esi, [ebx + 0x1c]
mov ecx, esi
mov byte [ebp - 4], 3
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.00405061
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], ax
push 0x4676b0
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 5
call fcn.0040620b
mov eax, dword [ebp + 8]
push 0x44df8c
push edi
push str.AlwaysReboot
push str.Setup
mov byte [ebp - 4], 6
mov dword [ebx + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
mov ecx, esp
test eax, eax
je 0x4134b8
push str.SET_VARSIGNED__0x00000000_REBOOT_DIRECT___1
jmp 0x4134bd
push str.SET_VARSIGNED__0x00000000_REBOOT_DIRECT___0
call fcn.00406234
mov ecx, ebx
call fcn.0041edcf
mov edi, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x105
lea eax, [ebp - 0x21c]
push eax
call edi
test eax, eax
je 0x413522
push str.SET_VARSTRING__0x00000000_FLD_WINDOWS_DIRECT___
lea ecx, [ebp - 0x238]
call fcn.00409f9c
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.00406767
mov eax, dword [ebp - 0x238]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.0040693a
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.0041edcf
push 0x105
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.SET_VARSTRING__0x00000000_FLD_SYSTEM_DIRECT___
lea ecx, [ebp - 0x238]
call fcn.00409f9c
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.00406767
mov eax, dword [ebp - 0x238]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.0040693a
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.0041edcf
mov esi, 0x105
push esi
lea eax, [ebp - 0x21c]
push eax
call edi
xor edi, edi
test eax, eax
je 0x4135e2
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x21c]
push esi
push eax
push eax
call fcn.0043967a
add esp, 0x24
lea ecx, [ebp - 0x238]
push str.SET_VARSTRING__0x00000000_FLD_SYSTEMROOT_DIRECT___
call fcn.00409f9c
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.00406767
mov eax, dword [ebp - 0x238]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.0040693a
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.0041edcf
push 0x20a
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.00438dc0
push edi
push 0x26
lea eax, [ebp - 0x234]
push eax
push edi
call fcn.00427d59
add esp, 0x1c
lea ecx, [ebp - 0x238]
push str.SET_VARSTRING__0x00000000_FLD_PROGRAM_FILES_DIRECT___
call fcn.00409f9c
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
lea ecx, [ebp - 0x238]
call fcn.00406767
mov eax, dword [ebp - 0x238]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.0040693a
pop ecx
push 0x10
pop edi
add eax, edi
mov ecx, ebx
mov dword [esi], eax
call fcn.0041edcf
push dword [ebp + 0x10]
lea eax, [ebp - 0x238]
push str.SET_VARSIGNED__0x00000000_UNINSTLEVEL_DIRECT____d
push eax
call fcn.00406ea6
mov eax, dword [ebp - 0x238]
pop ecx
pop ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.0040693a
pop ecx
add eax, edi
mov ecx, ebx
mov dword [esi], eax
call fcn.0041edcf
push dword [ebp + 0xc]
lea eax, [ebp - 0x238]
push str.SET_VARSIGNED__0x00000000_UILEVEL_DIRECT____d
push eax
call fcn.00406ea6
mov eax, dword [ebp - 0x238]
pop ecx
pop ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.0040693a
pop ecx
add eax, edi
mov ecx, ebx
mov dword [esi], eax
call fcn.0041edcf
push dword [ebp + 0x18]
lea eax, [ebp - 0x238]
push str.SET_VARSIGNED__0x00000000_RESTART_DIRECT____d
push eax
call fcn.00406ea6
mov eax, dword [ebp - 0x238]
pop ecx
pop ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.0040693a
pop ecx
add eax, edi
mov ecx, ebx
mov dword [esi], eax
call fcn.0041edcf
push str.SET_VARSTRING__0x00000000_UNINSTGUID_DIRECT___
lea ecx, [ebp - 0x238]
call fcn.00409f9c
cmp dword [ebp + 0x30], 8
lea eax, [ebp + 0x1c]
cmovae eax, dword [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x238]
call fcn.00406767
mov eax, dword [ebp - 0x238]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.0040693a
pop ecx
add eax, edi
mov ecx, ebx
mov dword [esi], eax
call fcn.0041edcf
push dword [ebp + 0x34]
lea eax, [ebp - 0x238]
push str.SET_VARSTRING__0x0000000000000000_DEVICE_DEFINITION_TOP_RESOURCEID_DIRECT____ld
push eax
call fcn.00406ea6
mov eax, dword [ebp - 0x238]
pop ecx
pop ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.0040693a
pop ecx
add eax, edi
mov ecx, ebx
mov dword [esi], eax
call fcn.0041edcf
mov edi, 0x1f40
lea ecx, [ebp - 0x238]
call fcn.00406ba7
mov eax, dword [0x4690d4]
mov dword [ebp - 0x23c], eax
mov eax, dword [0x4686a0]
test eax, eax
je 0x4137f9
push eax
push 0x4690d4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push edi
call fcn.00406857
pop ecx
pop ecx
test eax, eax
jne 0x4137ab
xor esi, esi
jmp 0x4137ba
push edi
push eax
lea ecx, [ebp - 0x238]
call fcn.00409864
mov esi, eax
push dword [ebp - 0x23c]
push 0x4690d4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test esi, esi
je 0x4137f0
mov eax, dword [ebp - 0x238]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.0040693a
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.00419677
mov esi, eax
inc edi
test esi, esi
jne 0x41376e
push dword [ebp + 0x14]
lea eax, [ebp - 0x238]
push str.SET_VARUNSIGNED__0x00000000_LEAVE_FUNC_NETSCN_DIRECT____d
push eax
call fcn.00406ea6
mov edi, dword [ebp - 0x238]
pop ecx
pop ecx
add edi, 0xfffffff0
mov esi, esp
push edi
call fcn.0040693a
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.0041edcf
mov ecx, edi
call fcn.00409a06
push 0
push 1
lea ecx, [ebp - 0x234]
call fcn.00401ba5
push 0
push 1
lea ecx, [ebp + 0x1c]
call fcn.00401ba5
mov eax, ebx
call fcn.004386a6
ret 0x30