Function at 0x429fc0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x47663c
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x48b2b0]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
xor ebp, ebp
cmp esi, ebp
je 0x42a008
lea eax, [esi + 0x2fc]
jmp 0x42a00a
xor eax, eax
mov dword [esi + 0x608], eax
mov eax, dword [esi + 0x628]
mov eax, dword [eax - 0xc]
lea edi, [esi + 0x628]
cmp eax, ebp
jne 0x42a0cb
lea ecx, [esp + 0x10]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallklive
mov dword [esp + 0x250], ebp
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push str.InstallDir
lea edx, [esp + 0x14]
push edx
mov eax, edi
call fcn.0041bd50
mov eax, dword [edi]
cmp dword [eax - 0xc], ebp
jne 0x42a0b1
mov edx, dword [esi + 4]
push ebp
push 0x26
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x34]
lea edx, [eax + 2]
jmp 0x42a080
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42a080
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x34]
mov ebx, eax
push ecx
mov eax, edi
call fcn.0040c520
mov eax, edi
call fcn.0040c7a0
push 6
push str.Klive_
push edi
call fcn.0040dbc0
mov dword [esp + 0x248], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x42a0cb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
cmp eax, ebp
je 0x42a101
lea ecx, [eax - 1]
cmp ecx, ebp
jl 0x42a2c8
cmp ecx, eax
jg 0x42a2c8
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x42a101
cmp ax, 0x2f
je 0x42a101
mov edx, 0x47b228
call fcn.0040db40
mov edx, dword [0x48fbec]
mov eax, edx
lea ecx, [esi + 0x50]
push eax
mov edi, 0x69
mov eax, ecx
mov dword [esi + 0x630], edx
mov dword [esp + 0x1c], ecx
call fcn.00429310
lea edi, [esi + 0x62c]
lea eax, [esp + 0x14]
push edi
push eax
mov ebx, str.cgpb_polish.png
call fcn.0040bda0
mov ebp, eax
lea ecx, [esp + 0x24]
push edi
push ecx
mov ebx, str.cgpb_bg.png
mov dword [esp + 0x258], 1
call fcn.0040bda0
mov dword [esp + 0x20], eax
lea edx, [esp + 0x30]
push edi
push edx
mov ebx, str.cgpb_fg.png
mov byte [esp + 0x260], 2
call fcn.0040bda0
add esp, 0x18
mov byte [esp + 0x248], 3
mov ebp, dword [ebp]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
mov eax, dword [eax]
push ebp
push ecx
push eax
call fcn.00428910
mov byte [esp + 0x248], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a1b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x248], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a1e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x248], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a20b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x30]
xor eax, eax
mov ebp, 0x67
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0x1a7
mov dword [esp + 0x30], 0xa
mov dword [esp + 0x14], ecx
cmp dword [0x48d890], eax
jne 0x42a243
mov dword [0x48d890], str.STATIC
push 0x48fd48
push 0x48eae8
mov ebx, 0x48d860
call fcn.00404310
add esp, 8
push ebp
push 0
push 0
lea edx, [esp + 0x30]
movzx edi, ax
mov eax, dword [esp + 0x20]
push edx
push eax
mov ebx, 0x50000000
call fcn.0042bf20
mov eax, dword [0x48fcb8]
test eax, eax
je 0x42a284
mov ecx, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
push 0
mov edi, 0x65
mov dword [esi + 0x6c8], 0
call fcn.0042b930
lea eax, [edi - 0x64]
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.004599ac
add esp, 0x23c
ret
push 0x80070057
call fcn.0040c6b0
int3