Function at 0x10006040
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e00cc
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x10275008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x102794b4], 0
je 0x1000612f
push 0
mov ecx, 0x102794b4
call fcn.1010abf0
mov eax, dword [0x102794b4]
cmp byte [eax + 0x54], 0
je 0x1000612f
cmp dword [eax + 0x58], 4
jb 0x1000612f
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x234]
push 0x10
push 0x102247f4
call fcn.10005390
push 0x4d
push str.RC::RCBBAProtectStat::Send2345ExplorerHomepageProtectStat
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdrtplog_srcmultilogicstat_rcbbaprotectstat.cpp
lea eax, [ebp - 0x234]
mov ecx, 0x102794b4
push eax
push 4
call fcn.1010b550
test bl, bl
je 0x1000611d
lea eax, [ebp - 0x234]
mov ecx, 0x102794b4
push eax
call fcn.1010b870
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.10005300
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov dword [ebp - 4], 1
push 0x20c
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x100064c9
xor eax, eax
lea ecx, [ebp - 0x21c]
mov word [ebp - 0x12], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100061b0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.10005390
cmp dword [ebp - 0x23c], 0
je 0x100064c9
push 0x14
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x234]
push str.Defender_f5PTSC0302
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.10005390
mov byte [ebp - 4], 2
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x27c]
call fcn.100e17c0
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
call fcn.10005300
push 0
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.10006500
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x27c]
call fcn.100fc520
cmp dword [ebp - 0x254], 0
je 0x100064ab
cmp dword [ebp - 0x250], 8
lea ecx, [ebp - 0x264]
cmovae ecx, dword [ebp - 0x264]
xor edx, edx
call fcn.100dd860
push 4
mov ecx, 0x102794b4
mov edi, eax
call fcn.1010b510
mov esi, eax
test edi, edi
jne 0x1000633b
test esi, esi
je 0x100064ab
xor eax, eax
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x234]
push 0x15
push 0x102249a8
call fcn.10005390
push 0x60
push str.RC::RCBBAProtectStat::Send2345ExplorerHomepageProtectStat
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdrtplog_srcmultilogicstat_rcbbaprotectstat.cpp
lea eax, [ebp - 0x234]
mov ecx, 0x102794b4
push eax
push 4
call fcn.1010b550
cmp esi, 1
jbe 0x1000632c
lea eax, [ebp - 0x234]
mov ecx, 0x102794b4
push eax
call fcn.1010b870
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x234]
jmp 0x100064a6
test esi, esi
je 0x100063d1
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x234]
push edi
push 0x102249d4
push eax
call fcn.1010b9f0
add esp, 0xc
lea eax, [ebp - 0x234]
mov ecx, 0x102794b4
push 0x64
push str.RC::RCBBAProtectStat::Send2345ExplorerHomepageProtectStat
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdrtplog_srcmultilogicstat_rcbbaprotectstat.cpp
push eax
push 4
call fcn.1010b550
cmp esi, 1
jbe 0x100063c2
lea eax, [ebp - 0x234]
mov ecx, 0x102794b4
push eax
call fcn.1010b870
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x234]
call fcn.10005300
push 0xa0
lea eax, [ebp - 0x31c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x31c], 0
lea ecx, [ebp - 0x314]
call fcn.1001ee40
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x31c]
push 0
call fcn.10046070
push 0x10224a04
lea ecx, [ebp - 0x234]
call fcn.10005290
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x234]
push 0
push edi
push eax
lea ecx, [ebp - 0x31c]
call fcn.100467a0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x234]
call fcn.10005300
lea ecx, [ebp - 0x31c]
call fcn.100464b0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x314]
mov dword [ebp - 0x320], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2b4]
call fcn.10005300
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2cc]
call fcn.10005300
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2e4]
call fcn.10005300
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2fc]
call fcn.10005300
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x314]
call fcn.10005300
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.10005300
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.10005300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.10005300
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101c837b
mov esp, ebp
pop ebp
ret