Function at 0x4f1030
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x60618b
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x3b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x3d4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3e4]
push ecx
xor ebx, ebx
mov dword [esp + 0x20], esp
mov esi, ecx
mov ecx, esp
push ebx
push ebx
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [ecx], ebx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
lea edx, [esp + 0x38]
lea ebp, [esi + 0x28]
push ebp
mov dword [esp + 0x38], esi
mov dword [ecx], edx
call fcn.004f5410
cmp dword [ebp], ebx
jne 0x4f10f2
push 3
mov edx, str.CreateLUIAxLastErrorType
mov ecx, str.SOFTWARETencentQQPinyin
call fcn.00479d80
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 4
call esi
push eax
mov edx, str.CreateLUIAxLastErrorValue
mov ecx, str.SOFTWARETencentQQPinyin
call fcn.00479d80
add esp, 4
call esi
push eax
push 3
call fcn.004fb080
add esp, 8
jmp 0x4f12ce
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
push 1
push 0x2b
lea eax, [esp + 0x3c]
push eax
push ebx
mov dword [esp + 0x3ec], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4f126b
lea edx, [esp + 0x34]
lea edi, [esp + 0x18]
call fcn.00403760
push 0x5c
push 0x2f
mov ecx, edi
push ecx
call fcn.004f5360
mov edx, edi
push edx
mov eax, 1
lea ecx, [esp + 0x20]
call fcn.004a4b30
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x4f1176
cmp ecx, ebx
jge 0x4f1169
push 0x80070057
call fcn.00403650
movzx eax, word [eax]
cmp ax, 0x5c
mov byte [esp + 0x17], bl
je 0x4f117b
mov byte [esp + 0x17], 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 0x4f119b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], bl
je 0x4f11ac
push 0x5c
lea edi, [esp + 0x1c]
call fcn.0040af90
push 0x23
push str.TencentTXSSOBinSSOLUIControl.dll
lea ecx, [esp + 0x20]
push ecx
call fcn.0040aee0
mov edi, dword [esp + 0x18]
add esi, 0x2c
mov eax, esi
mov ecx, edi
call fcn.004fb3e0
cmp eax, ebx
jge 0x4f11f1
lea eax, [edi - 0x10]
mov dword [esp + 0x3dc], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4f12c2
mov ecx, dword [esi]
mov edx, ebp
call fcn.004f5470
test eax, eax
jge 0x4f1248
push 6
mov edx, str.CreateLUIAxLastErrorType
mov ecx, str.SOFTWARETencentQQPinyin
call fcn.00479d80
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 4
call esi
push eax
mov edx, str.CreateLUIAxLastErrorValue
mov ecx, str.SOFTWARETencentQQPinyin
call fcn.00479d80
add esp, 4
call esi
push eax
push 6
call fcn.004fb080
add esp, 8
lea ecx, [esp + 0x18]
call fcn.00403870
jmp 0x4f12ce
mov esi, dword [esi]
mov edx, dword [esp + 0x20]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x34]
push edx
push esi
call eax
test eax, eax
lea ecx, [esp + 0x18]
jl 0x4f123e
call fcn.00403870
mov eax, 1
jmp 0x4f12d0
push 4
mov edx, str.CreateLUIAxLastErrorType
mov ecx, str.SOFTWARETencentQQPinyin
call fcn.00479d80
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 4
call esi
push eax
mov edx, str.CreateLUIAxLastErrorValue
mov ecx, str.SOFTWARETencentQQPinyin
call fcn.00479d80
add esp, 4
call esi
push eax
push 4
call fcn.004fb080
lea eax, [edi - 0x10]
add esp, 8
mov dword [esp + 0x3dc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f12ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x3d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3b8]
xor ecx, esp
call fcn.005d28b3
add esp, 0x3cc
ret 4