Function at 0x100eb53c
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x101cd7b4]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x48
mov eax, 0x1018e233
call fcn.1015e3cb
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.10004840
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.101596b0
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 0x100eb707
lea eax, [ebp + 0x108]
push eax
lea ecx, [ebp - 0x38]
call fcn.10006620
push str.BaiduBDDownload
push eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 4], esi
call fcn.1002a900
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.1000a7c0
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.10003eb0
push ebx
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.10003eb0
push edi
lea eax, [ebp + 0x108]
push ebx
push eax
call fcn.101596b0
push dword [ebp - 0x14]
lea eax, [ebp + 0x108]
push eax
call fcn.100f8de5
add esp, 0x14
push esi
push 3
lea ecx, [ebp + 0x7c]
call fcn.10011410
lea eax, [ebp + 0x108]
push eax
mov dword [ebp - 4], 3
mov dword [ebp - 0x14], ebx
call fcn.1015e340
test eax, eax
pop ecx
jbe 0x100eb676
mov eax, dword [ebp - 0x14]
movsx eax, byte [ebp + eax + 0x108]
push eax
call fcn.1015b587
mov ecx, dword [ebp - 0x14]
inc dword [ebp - 0x14]
mov byte [ebp + ecx + 0x108], al
lea eax, [ebp + 0x108]
push eax
call fcn.1015e340
cmp dword [ebp - 0x14], eax
pop ecx
pop ecx
jb 0x100eb645
lea eax, [ebp + 0x108]
push eax
call fcn.1015e340
push eax
lea eax, [ebp + 0x108]
push eax
push ebx
call fcn.100fedc0
add esp, 0x10
push eax
lea eax, [ebp + 0x84]
push 0x1019a068
push eax
call fcn.10010130
pop ecx
pop ecx
mov ecx, eax
call fcn.10011190
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 0x7c]
call fcn.100376f0
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 4
call fcn.1000a7c0
push ebx
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.10003eb0
push dword [ebp - 0x18]
call fcn.100ea69b
test al, al
pop ecx
jne 0x100eb6f3
push dword [ebp - 0x18]
call fcn.100ea797
pop ecx
mov byte [ebp - 0xd], al
jmp 0x100eb6f7
mov byte [ebp - 0xd], 1
lea ecx, [ebp + 0x7c]
mov byte [ebp - 4], bl
call fcn.10003a80
cmp byte [ebp - 0xd], bl
jne 0x100eb764
push edi
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.101596b0
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.1015cc70
cmp eax, ebx
pop ecx
pop ecx
je 0x100eb73b
mov byte [eax], bl
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x38]
call fcn.10006620
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push ebx
push eax
mov dword [ebp - 4], 5
call fcn.10005470
push ebx
push esi
lea ecx, [ebp - 0x38]
call fcn.10003eb0
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.10159cce
add ebp, 0x210
leave
ret