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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565829
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x5b38f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x70]
push 0
push 2
push eax
mov dword [ebp - 0xa8], 0
call fcn.004b8b70
mov dword [ebp - 4], 0
cmp dword [ebp - 0x60], 0
je 0x4b8538
lea eax, [ebp - 0x70]
push eax
call fcn.004b9b20
test eax, eax
je 0x4b8538
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jae 0x4b8525
mov eax, dword [ebp - 0x60]
inc eax
je 0x4b852a
add eax, eax
push eax
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.00525b00
mov edx, dword [ebp - 0x5c]
add esp, 0xc
mov ecx, dword [ebp - 0x60]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
jmp 0x4b8943
mov ecx, dword [ebp - 0x70]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x60]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
jmp 0x4b8943
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
push 7
push str.Install
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], eax
mov word [ebp - 0x88], ax
call fcn.00408659
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
push 0x17
xor eax, eax
mov dword [ebp - 0x44], 7
push str.SoftwareTencentQQ2009
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00408659
push 0x20019
push reloc.OLEAUT32.dll_SysReAllocString
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x581738
mov word [ecx], ax
call fcn.00408659
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x58]
call fcn.004ba120
add esp, 0x24
cmp dword [ebp - 0x44], 8
jb 0x4b85f1
push dword [ebp - 0x58]
call fcn.0052558c
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x4b8619
push dword [ebp - 0x88]
call fcn.0052558c
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x30], eax
je 0x4b8770
push 1
push 0x596390
lea ecx, [ebp - 0x40]
call fcn.004090e2
xor eax, eax
mov dword [ebp - 0x74], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x88], ax
lea ecx, [ebp - 0x88]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x78], 0
push eax
call fcn.0040757d
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
push 0xa
xor eax, eax
mov dword [ebp - 0x8c], 7
push 0x58dd58
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
call fcn.00408659
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
push 4
xor eax, eax
mov dword [ebp - 0x44], 7
push 0x596394
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00408659
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
call fcn.004b9df0
add esp, 4
cmp dword [ebp - 0x44], 8
jb 0x4b86f6
push dword [ebp - 0x58]
call fcn.0052558c
add esp, 4
xor eax, eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x8c], 8
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x4b8725
push dword [ebp - 0xa0]
call fcn.0052558c
add esp, 4
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x78]
push 0
call fcn.00410207
test eax, eax
je 0x4b8758
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040757d
mov byte [ebp - 4], 4
cmp dword [ebp - 0x74], 8
jb 0x4b8770
push dword [ebp - 0x88]
call fcn.0052558c
add esp, 4
cmp dword [ebp - 0x18], 0
lea eax, [ebp + 0xc]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edi
je 0x4b87ed
lea ecx, [ebp - 0x4c]
call fcn.004b8990
test al, al
je 0x4b87ed
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jae 0x4b87d3
mov eax, dword [ebp - 0x18]
inc eax
je 0x4b87df
add eax, eax
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00525b00
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
jmp 0x4b8901
mov eax, dword [ebp - 0x28]
mov dword [esi], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
jmp 0x4b8901
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0xa4]
push eax
push 0x26
push 0
mov dword [ebp - 0xa4], 0
call edi
test eax, eax
jne 0x4b8840
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x28]
call fcn.004b83e0
test eax, eax
je 0x4b8840
push 0x12
push 0x5893a4
lea ecx, [ebp - 0x28]
call fcn.004090e2
lea ecx, [ebp - 0x4c]
call fcn.004b8990
test al, al
jne 0x4b8791
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0
push eax
push 0x2b
push 0
call edi
test eax, eax
jne 0x4b888d
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x28]
call fcn.004b83e0
test eax, eax
je 0x4b888d
push 0x12
push 0x5893a4
lea ecx, [ebp - 0x28]
call fcn.004090e2
lea ecx, [ebp - 0x4c]
call fcn.004b8990
test al, al
jne 0x4b8791
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0
push eax
push 0x23
push 0
call edi
test eax, eax
jne 0x4b88d2
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x28]
call fcn.004b83e0
test eax, eax
je 0x4b88d2
push 0x15
push 0x589314
lea ecx, [ebp - 0x28]
call fcn.004090e2
lea ecx, [ebp - 0x4c]
call fcn.004b8990
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x28]
push eax
call fcn.004408e4
cmp dword [ebp - 0x14], 8
jb 0x4b8901
push dword [ebp - 0x28]
call fcn.0052558c
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
jb 0x4b8922
push dword [ebp - 0x40]
call fcn.0052558c
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
jb 0x4b8943
push dword [ebp - 0x70]
call fcn.0052558c
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b1ec
mov esp, ebp
pop ebp
ret 8