Function at 0x100f107a
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x101c6444]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x48
mov eax, 0x1018c15f
call fcn.1015d10b
mov ecx, dword [ebp + 0x218]
mov eax, dword [ebp + 0x21c]
xor ebx, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ebx
call fcn.100064d0
mov edi, 0x104
push edi
xor esi, esi
lea eax, [ebp + 0x108]
push ebx
inc esi
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], esi
call fcn.101580b0
add esp, 0xc
push esi
push 0x1a
lea eax, [ebp + 0x108]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x100f1245
lea eax, [ebp + 0x108]
push eax
lea ecx, [ebp - 0x38]
call fcn.100019a0
push str.TencentQQDownload
push eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 4], esi
call fcn.1002ced0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.1000c960
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.10001b20
push ebx
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.10001b20
push edi
lea eax, [ebp + 0x108]
push ebx
push eax
call fcn.101580b0
push dword [ebp - 0x14]
lea eax, [ebp + 0x108]
push eax
call fcn.100febb9
add esp, 0x14
push esi
push 3
lea ecx, [ebp + 0x7c]
call fcn.10013620
lea eax, [ebp + 0x108]
push eax
mov dword [ebp - 4], 3
mov dword [ebp - 0x14], ebx
call fcn.1015d080
test eax, eax
pop ecx
jbe 0x100f11b4
mov eax, dword [ebp - 0x14]
movsx eax, byte [ebp + eax + 0x108]
push eax
call fcn.1015a6ed
mov ecx, dword [ebp - 0x14]
inc dword [ebp - 0x14]
mov byte [ebp + ecx + 0x108], al
lea eax, [ebp + 0x108]
push eax
call fcn.1015d080
cmp dword [ebp - 0x14], eax
pop ecx
pop ecx
jb 0x100f1183
lea eax, [ebp + 0x108]
push eax
call fcn.1015d080
push eax
lea eax, [ebp + 0x108]
push eax
push ebx
call fcn.101025eb
add esp, 0x10
push eax
lea eax, [ebp + 0x84]
push 0x10198048
push eax
call fcn.10012340
pop ecx
pop ecx
mov ecx, eax
call fcn.100133a0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 0x7c]
call fcn.1000abd0
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 4
call fcn.1000c960
push ebx
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.10001b20
push dword [ebp - 0x18]
call fcn.100efede
test al, al
pop ecx
jne 0x100f1231
push dword [ebp - 0x18]
call fcn.100effda
pop ecx
mov byte [ebp - 0xd], al
jmp 0x100f1235
mov byte [ebp - 0xd], 1
lea ecx, [ebp + 0x7c]
mov byte [ebp - 4], bl
call fcn.10005840
cmp byte [ebp - 0xd], bl
jne 0x100f12a2
push edi
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.101580b0
add esp, 0xc
push 0x105
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp]
push 0x5c
push eax
call fcn.101591a0
cmp eax, ebx
pop ecx
pop ecx
je 0x100f1279
mov byte [eax], bl
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x38]
call fcn.100019a0
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push ebx
push eax
mov dword [ebp - 4], 5
call fcn.10001a10
push ebx
push esi
lea ecx, [ebp - 0x38]
call fcn.10001b20
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.101586e7
add ebp, 0x210
leave
ret