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

Disassembly:
push 0xffffffffffffffff
push 0x1003f5d1
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x1004e060]
xor eax, esp
mov dword [esp + 0x320], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004e060]
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 0x1000c8cc
mov esi, dword [edi + 0xc]
jmp 0x1000c8cf
lea esi, [edi + 0xc]
call fcn.1000c7b0
test eax, eax
je 0x1000c8df
xor al, al
jmp 0x1000cc91
mov eax, dword [edi]
xor ebp, ebp
cmp eax, ebp
je 0x1000cc8f
cmp eax, 4
je 0x1000cc8f
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, 0x24
mov dword [esp + 0x24], edi
cmp dword [edi + 0x18], ebx
jb 0x1000c922
mov eax, dword [edi + 4]
jmp 0x1000c925
lea eax, [edi + 4]
push eax
lea esi, [esp + 0x138]
call fcn.10018a9f
test eax, eax
jne 0x1000cc8f
mov eax, 0x10043a90
lea edx, [esp + 0x40]
mov dword [esp + 0x3c], 0x10044c34
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], 0x10044d14
mov dword [esp + 0x58], str._QQPCRTP.EXE_QQPCTray.exe_
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x10044d5c
mov dword [esp + 0x64], str._rstray.exe_ravmond.exe_rsmain.exe_
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x10044db0
mov dword [esp + 0x70], str._UIHost.exe_KVMonXP.kxp_kvsrvxp.exe_kvxp.kxp_
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0x10044e14
mov dword [esp + 0x7c], str._BaiduSdSvc.exe_
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0x10044e44
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 0x1000cb8d
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.1000f410
mov esi, dword [eax]
mov ebp, dword [eax + 4]
lea ebx, [esp + 0xc0]
call fcn.1000f460
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.1000f410
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.100107b0
add esp, 0x14
lea ebx, [esp + 0xd8]
lea edi, [esp + 0xfc]
call fcn.1000f410
mov esi, dword [eax]
mov ebp, dword [eax + 4]
lea ebx, [esp + 0xd0]
call fcn.1000f460
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.1000f410
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.100107b0
mov ecx, dword [esp + 0x114]
mov esi, 8
add esp, 0x14
cmp dword [esp + 0x114], esi
jae 0x1000cb3d
lea ecx, [esp + 0x100]
mov eax, dword [esp + 0xe4]
cmp dword [esp + 0xf8], esi
jae 0x1000cb54
lea eax, [esp + 0xe4]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
jne 0x1000cc29
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 0x1000cb98
mov eax, dword [edi + 4]
jmp 0x1000cb9b
lea eax, [edi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ebx, eax
cmp ebx, ebp
je 0x1000cc0e
cmp word [ebx], bp
je 0x1000cc0e
push ebx
push str.__ls_
lea esi, [esp + 0x120]
call fcn.10018acf
add esp, 8
mov dword [esp + 0x340], 2
cmp dword [esp + 0x130], 8
mov eax, dword [esp + 0x11c]
jae 0x1000cbe5
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 0x1000cc69
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 0x1000c9eb
xor al, al
jmp 0x1000cc91
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x18], esi
jb 0x1000cc37
mov eax, dword [eax + 4]
jmp 0x1000cc3a
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.1001a534
add esp, 0xc
lea esi, [esp + 0xfc]
call fcn.10001b10
lea esi, [esp + 0xe0]
jmp 0x1000cc8a
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.1001a534
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.100283ef
add esp, 0x330
ret