Function at 0x10051e10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10148ba7
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov byte [ebp - 0x2a0], al
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov byte [ebp - 0x299], 0
call fcn.1011a400
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push esi
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x10052138
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
jne 0x10051eb8
xor ecx, ecx
jmp 0x10051ed0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10051ec1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.1000c2b0
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.1000de70
add esp, 8
push 0x1c
xor eax, eax
mov byte [ebp - 4], 1
push str.liebaoUser_DataLocal_State
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.1000c2b0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x280]
call fcn.1000d990
push eax
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 3
call fcn.1000d2b0
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 2
call fcn.1000baf0
cmp dword [ebp - 0x21c], 8
mov byte [ebp - 4], 1
jb 0x10051f8a
push dword [ebp - 0x230]
call fcn.1011a1ea
add esp, 4
lea eax, [ebp - 0x280]
push eax
call fcn.10017130
add esp, 4
test al, al
je 0x10052112
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x268], 0x1016828c
call fcn.1000b9b0
mov byte [ebp - 0x24c], 0
push 0
push 0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 5
call fcn.10018640
mov esi, eax
mov dword [ebp - 0x2a8], esi
mov byte [ebp - 4], 6
test esi, esi
je 0x100520da
cmp dword [esi + 4], 6
jne 0x100520da
push 0x10
call fcn.1011a4b2
add esp, 4
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x10052022
push dword [ebp - 0x2a0]
mov ecx, eax
call fcn.10014390
mov ebx, eax
jmp 0x10052024
xor ebx, ebx
cmp byte [edi], 0
mov byte [ebp - 4], 6
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
jne 0x1005204c
xor ecx, ecx
jmp 0x1005205a
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10052051
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x230]
call fcn.10002130
push ebx
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 9
push eax
mov ecx, esi
call fcn.10014a60
cmp dword [ebp - 0x21c], 0x10
mov byte [ebp - 4], 6
jb 0x10052095
push dword [ebp - 0x230]
call fcn.1011a1ea
add esp, 4
push esi
lea ecx, [ebp - 0x268]
call fcn.100184c0
test al, al
mov byte [ebp - 4], 5
mov eax, dword [esi]
mov ecx, esi
push 1
jne 0x100520c1
call dword [eax]
mov dword [ebp - 0x268], 0x1016828c
mov byte [ebp - 4], 0xa
jmp 0x100520f8
mov byte [ebp - 0x299], 1
call dword [eax]
mov dword [ebp - 0x268], 0x1016828c
mov byte [ebp - 4], 0xb
jmp 0x100520f8
mov byte [ebp - 4], 5
test esi, esi
je 0x100520ea
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov dword [ebp - 0x268], 0x1016828c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x264]
call fcn.1000baf0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.10015ae0
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0
call fcn.1000baf0
cmp dword [ebp - 0x234], 8
jb 0x10052138
push dword [ebp - 0x248]
call fcn.1011a1ea
add esp, 4
mov al, byte [ebp - 0x299]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret 0xc