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

Disassembly:
push 0xffffffffffffffff
push 0x4e4098
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 [0x5156e8], 0
je 0x410870
push ebx
push ebp
call fcn.00410500
jmp 0x410b17
push 0x206
lea eax, [esp + 0x36]
push 0
push eax
mov word [esp + 0x3c], 0
call fcn.004be240
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call fcn.004102f0
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 0x410ada
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x4108d8
jge 0x4108d0
push 0x80070057
call fcn.00401350
mov ax, word [ecx]
mov word [esp + 0x30], ax
lea edx, [esp + 0x30]
lea edi, [esp + 0x10]
call fcn.00404a50
mov eax, edi
call fcn.004214e0
mov ecx, edi
push ecx
mov edx, str.TencentQQPCMgr_
call fcn.00413ba0
test ebx, ebx
je 0x410ada
lea edx, [esp + 0x14]
push 0x5157d8
push edx
mov ebx, 0x4f09d4
call fcn.00413a60
lea ecx, [esp + 0x28]
push 0x5157dc
push ecx
mov ebx, eax
mov byte [esp + 0x254], 1
call fcn.00416b50
push eax
lea edx, [esp + 0x30]
push edx
mov ebx, 0x4f09d4
mov byte [esp + 0x25c], 2
call fcn.00413a60
lea ecx, [esp + 0x30]
push 0x5157e0
push ecx
mov ebx, eax
mov byte [esp + 0x264], 3
call fcn.00416b50
push eax
lea edx, [esp + 0x50]
push edx
mov ebx, 0x4f09d4
mov byte [esp + 0x26c], 4
call fcn.00413a60
lea ecx, [esp + 0x50]
push 0x5157e4
push ecx
mov ebx, eax
mov byte [esp + 0x274], 5
call fcn.00416b50
push eax
lea edx, [esp + 0x58]
push edx
mov ebx, 0x4f09a4
mov byte [esp + 0x27c], 6
call fcn.00413a60
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.004060a0
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 0x4109ea
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 0x410a12
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 0x410a3a
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 0x410a62
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 0x410a8a
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 0x410ab2
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 0x410ada
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.004012e0
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 0x410b17
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.004b83ee
add esp, 0x238
ret 4