Function at 0x100131f0
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100520f1
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x10065060]
xor eax, esp
mov dword [esp + 0x320], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10065060]
xor eax, esp
push eax
lea eax, [esp + 0x338]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, 8
cmp dword [edi + 0x20], ebx
jb 0x1001323c
mov esi, dword [edi + 0xc]
jmp 0x1001323f
lea esi, [edi + 0xc]
call fcn.10013120
test eax, eax
je 0x1001324f
xor al, al
jmp 0x10013601
mov eax, dword [edi]
xor ebp, ebp
cmp eax, ebp
je 0x100135ff
cmp eax, 4
je 0x100135ff
push 0x100
lea ecx, [esp + 0x138]
xor eax, eax
push ecx
mov word [esp + 0x13c], ax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
add edi, 0x40
mov dword [esp + 0x24], edi
cmp dword [edi + 0x18], ebx
jb 0x10013292
mov eax, dword [edi + 4]
jmp 0x10013295
lea eax, [edi + 4]
push eax
lea esi, [esp + 0x138]
call fcn.10026d0a
test eax, eax
jne 0x100135ff
mov eax, 0x10057ce4
lea edx, [esp + 0x40]
mov dword [esp + 0x3c], 0x10059184
mov dword [esp + 0x40], str._360sd.exe_360tray.exe_360Safe.exe_SoftMgr.exe_360se.exe_
mov dword [esp + 0x44], str.360360Safe
mov dword [esp + 0x48], str.q_g
mov dword [esp + 0x4c], str._ksafe.exe_KSafeSvc.exe_
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x10059264
mov dword [esp + 0x58], str._QQPCRTP.EXE_QQPCTray.exe_
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x100592ac
mov dword [esp + 0x64], str._rstray.exe_ravmond.exe_rsmain.exe_
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x10059300
mov dword [esp + 0x70], str._UIHost.exe_KVMonXP.kxp_kvsrvxp.exe_kvxp.kxp_
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0x10059364
mov dword [esp + 0x7c], str._BaiduSdSvc.exe_
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0x10059394
mov dword [esp + 0x88], str._HipsMain.exe_HipsTray.exe_
mov dword [esp + 0x8c], str.HuorongSysdiag
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 4]
cmp word [esi], bp
je 0x100134fd
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0xe8], cx
push ebp
mov eax, edi
lea ecx, [esp + 0xe8]
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], ebp
call fcn.10001e40
mov eax, esi
lea ecx, [esp + 0xfc]
mov dword [esp + 0x340], ebp
call fcn.10001aa0
lea ebx, [esp + 0xb0]
lea edi, [esp + 0xe0]
mov byte [esp + 0x340], 1
call fcn.10015b00
mov esi, dword [eax]
mov ebp, dword [eax + 4]
lea ebx, [esp + 0xc0]
call fcn.10015b50
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ebx, [esp + 0xb8]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call fcn.10015b00
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ebp
push esi
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x30], 0
mov edx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0xdc]
call fcn.10016560
add esp, 0x14
lea ebx, [esp + 0xd8]
lea edi, [esp + 0xfc]
call fcn.10015b00
mov esi, dword [eax]
mov ebp, dword [eax + 4]
lea ebx, [esp + 0xd0]
call fcn.10015b50
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea ebx, [esp + 0xa0]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
call fcn.10015b00
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ebp
mov byte [esp + 0x24], 0
mov edx, dword [esp + 0x24]
push esi
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0xbc]
call fcn.10016560
mov ecx, dword [esp + 0x114]
mov esi, 8
add esp, 0x14
cmp dword [esp + 0x114], esi
jae 0x100134ad
lea ecx, [esp + 0x100]
mov eax, dword [esp + 0xe4]
cmp dword [esp + 0xf8], esi
jae 0x100134c4
lea eax, [esp + 0xe4]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
jne 0x10013599
lea esi, [esp + 0xfc]
call fcn.10001b10
lea esi, [esp + 0xe0]
mov dword [esp + 0x340], 0xffffffff
call fcn.10001b10
mov edi, dword [esp + 0x24]
xor ebp, ebp
cmp dword [edi + 0x18], 8
jb 0x10013508
mov eax, dword [edi + 4]
jmp 0x1001350b
lea eax, [edi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ebx, eax
cmp ebx, ebp
je 0x1001357e
cmp word [ebx], bp
je 0x1001357e
push ebx
push str.__ls_
lea esi, [esp + 0x120]
call fcn.10026d81
add esp, 8
mov dword [esp + 0x340], 2
cmp dword [esp + 0x130], 8
mov eax, dword [esp + 0x11c]
jae 0x10013555
lea eax, [esp + 0x11c]
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x100135d9
lea esi, [esp + 0x118]
mov dword [esp + 0x340], 0xffffffff
call fcn.10001b10
mov eax, dword [esp + 0x18]
add dword [esp + 0x1c], 0xc
inc eax
mov dword [esp + 0x18], eax
cmp eax, 7
jne 0x1001335b
xor al, al
jmp 0x10013601
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x18], esi
jb 0x100135a7
mov eax, dword [eax + 4]
jmp 0x100135aa
add eax, 4
mov ecx, dword [esp + 0x18]
lea edx, [ecx + ecx*2]
mov ecx, dword [esp + edx*4 + 0x3c]
push ecx
push eax
push str.pass_sd_proc_path:_ls__desc:_ls
call fcn.1002a9d5
add esp, 0xc
lea esi, [esp + 0xfc]
call fcn.10001b10
lea esi, [esp + 0xe0]
jmp 0x100135fa
mov eax, dword [esp + 0x18]
lea edx, [eax + eax*2]
mov eax, dword [esp + edx*4 + 0x3c]
push eax
push ebx
push str.pass_sd_proc_name:_ls__desc:_ls
call fcn.1002a9d5
add esp, 0xc
lea esi, [esp + 0x118]
call fcn.10001b10
mov al, 1
mov ecx, dword [esp + 0x338]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.10039e38
add esp, 0x330
ret