Function at 0x10017b00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dcfee
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x100ff008]
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
mov ebx, ecx
mov ecx, 0x10103149
call fcn.100d96c4
mov eax, dword [ebx + 4]
test eax, eax
jne 0x10017b48
xor al, al
jmp 0x1001809b
mov byte [eax], 0
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x5c]
lea eax, [ecx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x10017b41
push 0xb
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
lea ecx, [ebp - 0x278]
push str.Quarantine_
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
call fcn.10004530
mov dword [ebp - 4], 0
mov ecx, esi
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x230], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017be4
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x230]
call fcn.10004530
mov byte [ebp - 4], 1
lea eax, [ebp - 0x278]
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x290]
call fcn.10028e90
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 4]
push eax
add ecx, 0xc
call fcn.1000cea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x290]
call fcn.100044d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.100044d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.100044d0
mov ecx, dword [ebx + 4]
add ecx, 0xc
call fcn.10025860
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x10017d4d
push 2
mov ecx, 0x10101274
call fcn.10034d10
mov esi, eax
test esi, esi
je 0x10017d4d
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x230]
push str.Failed_to_GetTempPath__d
push eax
call fcn.10035220
add esp, 0xc
lea eax, [ebp - 0x230]
mov ecx, 0x10101274
push 0x8b
push str.RC::RCTrojaneOperator::Init
push str.f:_branches6.1.5_rhinoprotect_virusscan_srcgdoperate_rctrojaneoperator.cpp
push eax
push 2
call fcn.10034d60
cmp esi, 1
jbe 0x10017d3b
lea eax, [ebp - 0x230]
mov ecx, 0x10101274
push eax
call fcn.10035090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.100044d0
xor eax, eax
mov dword [ebp - 0x268], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x268], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017d87
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x278]
call fcn.10004530
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x278]
mov edx, dword [ebx + 4]
add edx, 0x40
call fcn.10026cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.100044d0
mov ecx, dword [ebx + 4]
push 0xb
add ecx, 0x40
push str.Quarantine_
call fcn.10008210
mov ecx, dword [ebx + 4]
add ecx, 0x40
call fcn.10025860
mov ecx, dword [ebx + 4]
add ecx, 0x24
call fcn.10006570
lea eax, [ebp - 0x260]
push eax
call fcn.1001f040
add esp, 4
mov dword [ebp - 4], 5
xor eax, eax
push 0xd
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 0
push str.DriverApi.dll
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.10004530
mov byte [ebp - 4], 6
lea eax, [ebp - 0x230]
push eax
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x248]
call fcn.10028e90
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x230]
call fcn.100044d0
push ecx
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x248]
push eax
add ecx, 4
call fcn.1001e600
test al, al
je 0x10017f10
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x10017f10
mov eax, dword [eax]
test eax, eax
je 0x10017f10
push str.CreateObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10017f10
mov ecx, dword [ebx + 4]
add ecx, 8
push ecx
push 0x100ea7ec
call eax
mov eax, dword [ebx + 4]
add esp, 8
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10017f10
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax]
call eax
test al, al
jne 0x10017efa
mov esi, dword [ebx + 4]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10017f10
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 8], 0
jmp 0x10017f10
mov eax, dword [ebx + 4]
mov esi, dword [eax + 8]
mov edi, dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [esi + 4]
call dword [edi + 8]
mov eax, dword [ebx + 4]
cmp dword [eax + 8], 0
jne 0x10017fc1
push 2
mov ecx, 0x10101274
call fcn.10034d10
mov esi, eax
test esi, esi
je 0x10017fc1
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x230]
push 0x1b
push str.Load_BdPcSafeApi.dll_failed
call fcn.10004530
push 0xaa
push str.RC::RCTrojaneOperator::Init
push str.f:_branches6.1.5_rhinoprotect_virusscan_srcgdoperate_rctrojaneoperator.cpp
lea eax, [ebp - 0x230]
mov ecx, 0x10101274
push eax
push 2
call fcn.10034d60
cmp esi, 1
jbe 0x10017fb2
lea eax, [ebp - 0x230]
mov ecx, 0x10101274
push eax
call fcn.10035090
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x230]
call fcn.100044d0
mov ecx, dword [ebx + 4]
add ecx, 0x60
call fcn.10025020
test al, al
jne 0x10018078
push 2
mov ecx, 0x10101274
call fcn.10034d10
mov esi, eax
test esi, esi
je 0x10018078
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x230]
push 0x22
push 0x100e9d10
call fcn.10004530
push 0xaf
push str.RC::RCTrojaneOperator::Init
push str.f:_branches6.1.5_rhinoprotect_virusscan_srcgdoperate_rctrojaneoperator.cpp
lea eax, [ebp - 0x230]
mov ecx, 0x10101274
push eax
push 2
call fcn.10034d60
cmp esi, 1
jbe 0x10018069
lea eax, [ebp - 0x230]
mov ecx, 0x10101274
push eax
call fcn.10035090
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x230]
call fcn.100044d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x248]
call fcn.100044d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.100044d0
mov al, 1
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.100d8362
mov esp, ebp
pop ebp
ret