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

Disassembly:
push 0xffffffffffffffff
push 0x4e4218
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x24c]
mov dword [esp + 0x14], 0
cmp dword [0x5156c8], 0
je 0x410620
push ebx
push ebp
call fcn.004102b0
jmp 0x4108c7
push 0x206
lea eax, [esp + 0x36]
push 0
push eax
mov word [esp + 0x3c], 0
call fcn.004be320
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call fcn.004100a0
push 0
push 0x26
lea edx, [esp + 0x38]
push edx
push 0
mov dword [esp + 0x254], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41088a
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x410688
jge 0x410680
push 0x80070057
call fcn.00401340
mov ax, word [ecx]
mov word [esp + 0x30], ax
lea edx, [esp + 0x30]
lea edi, [esp + 0x10]
call fcn.004049e0
mov eax, edi
call fcn.00421450
mov ecx, edi
push ecx
mov edx, str.TencentQQPCMgr_
call fcn.00413950
test ebx, ebx
je 0x41088a
lea edx, [esp + 0x14]
push 0x5157b8
push edx
mov ebx, 0x4f09d4
call fcn.00413810
lea ecx, [esp + 0x28]
push 0x5157bc
push ecx
mov ebx, eax
mov byte [esp + 0x254], 1
call fcn.00416a70
push eax
lea edx, [esp + 0x30]
push edx
mov ebx, 0x4f09d4
mov byte [esp + 0x25c], 2
call fcn.00413810
lea ecx, [esp + 0x30]
push 0x5157c0
push ecx
mov ebx, eax
mov byte [esp + 0x264], 3
call fcn.00416a70
push eax
lea edx, [esp + 0x50]
push edx
mov ebx, 0x4f09d4
mov byte [esp + 0x26c], 4
call fcn.00413810
lea ecx, [esp + 0x50]
push 0x5157c4
push ecx
mov ebx, eax
mov byte [esp + 0x274], 5
call fcn.00416a70
push eax
lea edx, [esp + 0x58]
push edx
mov ebx, 0x4f09a4
mov byte [esp + 0x27c], 6
call fcn.00413810
add esp, 0x38
mov byte [esp + 0x244], 7
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov eax, edi
push eax
call fcn.00405fb0
mov byte [esp + 0x244], 6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41079a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x244], 5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4107c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x244], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4107ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x244], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410812
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x244], 2
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 0x41083a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x244], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410862
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x244], 0
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 0x41088a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004012d0
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x244], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4108c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004b84de
add esp, 0x238
ret 4