Function at 0x100ea57b
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x101b01e4]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x48
mov eax, 0x1017a31a
call fcn.1014d21b
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.10001b40
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.10149460
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 0x100ea746
lea eax, [ebp + 0x108]
push eax
lea ecx, [ebp - 0x38]
call fcn.100025a0
push str.TencentQQDownload
push eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 4], esi
call fcn.10002a70
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.10001c20
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.10001800
push ebx
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.10001800
push edi
lea eax, [ebp + 0x108]
push ebx
push eax
call fcn.10149460
push dword [ebp - 0x14]
lea eax, [ebp + 0x108]
push eax
call fcn.100eae1d
add esp, 0x14
push esi
push 3
lea ecx, [ebp + 0x7c]
call fcn.100390b0
lea eax, [ebp + 0x108]
push eax
mov dword [ebp - 4], 3
mov dword [ebp - 0x14], ebx
call fcn.1014d190
test eax, eax
pop ecx
jbe 0x100ea6b5
mov eax, dword [ebp - 0x14]
movsx eax, byte [ebp + eax + 0x108]
push eax
call fcn.1014bf21
mov ecx, dword [ebp - 0x14]
inc dword [ebp - 0x14]
mov byte [ebp + ecx + 0x108], al
lea eax, [ebp + 0x108]
push eax
call fcn.1014d190
cmp dword [ebp - 0x14], eax
pop ecx
pop ecx
jb 0x100ea684
lea eax, [ebp + 0x108]
push eax
call fcn.1014d190
push eax
lea eax, [ebp + 0x108]
push eax
push ebx
call fcn.100fac7f
add esp, 0x10
push eax
lea eax, [ebp + 0x84]
push 0x10184474
push eax
call fcn.10011d70
pop ecx
pop ecx
mov ecx, eax
call fcn.100ea444
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 0x7c]
call fcn.10037260
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 4
call fcn.10001c20
push ebx
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.10001800
push dword [ebp - 0x18]
call fcn.100e9d9c
test al, al
pop ecx
jne 0x100ea732
push dword [ebp - 0x18]
call fcn.100e9e63
pop ecx
mov byte [ebp - 0xd], al
jmp 0x100ea736
mov byte [ebp - 0xd], 1
lea ecx, [ebp + 0x7c]
mov byte [ebp - 4], bl
call fcn.10036b10
cmp byte [ebp - 0xd], bl
jne 0x100ea7a3
push edi
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.10149460
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.1014ac60
cmp eax, ebx
pop ecx
pop ecx
je 0x100ea77a
mov byte [eax], bl
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x38]
call fcn.100025a0
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push ebx
push eax
mov dword [ebp - 4], 5
call fcn.10001ec0
push ebx
push esi
lea ecx, [ebp - 0x38]
call fcn.10001800
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.10149c5e
add ebp, 0x210
leave
ret