Function at 0x1000c08c
Capabilities:
Get common file path

Disassembly:
push 0x130
mov eax, 0x1001a056
call fcn.10018e4a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x118], ebp
push 1
push dword [ebp - 0x118]
push str.int___cdecl_GetXAppPath_const_char__const_char__char__
call fcn.1000b484
mov esi, eax
add esp, 0xc
mov eax, 0x1001f148
cmp esi, ebx
jne 0x1000c0df
mov esi, eax
push ebx
push ebx
push ebx
push ebx
push eax
push 0x1001f12c
push esi
lea ecx, [ebp - 0x13c]
call fcn.1000a370
mov dword [ebp - 4], ebx
cmp esi, ebx
jne 0x1000c0fe
push ebp
pop ebp
push 0x103
lea eax, [ebp - 0x113]
push ebx
push eax
mov byte [ebp - 0x114], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push 0x2b
lea eax, [ebp - 0x114]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x1000c1a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0x1001f114
push esi
mov edi, eax
call fcn.10005425
pop ecx
test eax, eax
jne 0x1000c186
push 4
push edi
push str.__failed._LastError_
lea eax, [ebp - 0x114]
push eax
push str.SHGetSpecialFolderPathA_
push ebx
push esi
call fcn.10009855
pop ecx
pop ecx
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.1000bba2
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.10001626
mov ecx, eax
call fcn.1000a33f
xor edi, edi
inc edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.1000be71
mov eax, edi
call fcn.10018ecd
ret
lea eax, [ebp - 0x114]
push str.Thunder_NetworkKankanPusherxappllv.dll
push eax
call sub.MSVCR90.dll_strcat
pop ecx
pop ecx
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x120], eax
cmp eax, ebx
jne 0x1000c22a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0x1001f114
push esi
mov edi, eax
call fcn.10005425
pop ecx
test eax, eax
jne 0x1000c222
push 4
push edi
push str.__failed._LastError_
lea eax, [ebp - 0x114]
push eax
push str.LoadLibraryA_
push ebx
push esi
call fcn.10009855
pop ecx
pop ecx
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.1000bba2
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.10001626
mov ecx, eax
call fcn.1000a33f
push 2
pop edi
jmp 0x1000c189
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x1000c2c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0x1001f114
push esi
mov dword [ebp - 0x11c], eax
call fcn.10005425
pop ecx
test eax, eax
jne 0x1000c2af
push 4
push dword [ebp - 0x11c]
lea eax, [ebp - 0x114]
push 0x1001f038
push edi
push 0x1001f030
push eax
push str.GetProcAddress_
push ebx
push esi
call fcn.10009855
pop ecx
pop ecx
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.1000bba2
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.1000bba2
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.10001626
mov ecx, eax
call fcn.1000a33f
push dword [ebp - 0x120]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 3
jmp 0x1000c224
push dword [ebp - 0x11c]
push dword [ebp - 0x124]
call eax
mov esi, 0x1001f114
push esi
mov edi, eax
call fcn.10005425
add esp, 0xc
test eax, eax
jne 0x1000c30a
push 1
push edi
push str.fpGetPath_return
push ebx
push esi
call fcn.10009855
pop ecx
pop ecx
mov ecx, eax
call fcn.100016a4
mov ecx, eax
call fcn.1000152a
mov ecx, eax
call fcn.1000a33f
push dword [ebp - 0x120]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1000c189