Function at 0x1000c519
Capabilities:
Get common file path

Disassembly:
push 0x2ec
mov eax, 0x10229ed7
call fcn.101e5a91
mov dword [ebp - 0x2f8], ecx
xor ebx, ebx
lea ecx, [ebp - 0x264]
push 0x102c7294
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x250], ebx
call fcn.1000808e
mov dword [ebp - 4], ebx
call fcn.10079d00
test al, al
je 0x1000c568
push 0x102c727c
lea ecx, [ebp - 0x264]
call fcn.10007f74
mov byte [ebp - 0x2ed], bl
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push ebx
push eax
call fcn.101fd690
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1000c690
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 4
pop ebx
mov esi, 0x102c7324
mov dword [ebp - 0x2f4], eax
push ebx
mov ecx, esi
call fcn.10013560
mov edi, eax
test edi, edi
je 0x1000c67a
mov byte [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
push dword [ebp - 0x2f4]
lea eax, [ebp - 0x234]
mov byte [ebp - 4], bl
push 0x10274bf8
push eax
call fcn.10074cd0
add esp, 0xc
lea eax, [ebp - 0x234]
mov ecx, esi
push 0xa8
push str.RC::RCDownloadHandler::ExcuteDownloadTask
push str.e:c_safe_rhino_safeinstall_rcsetup_rcwidgetplugin_srchandler_rcdownloadhandler.cpp
push eax
push ebx
call fcn.10013750
cmp edi, 1
jbe 0x1000c667
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.10013db0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 5
call fcn.10005e33
mov byte [ebp - 4], 2
push 1
xor ebx, ebx
mov edi, 0x102cfbc8
push ebx
mov ecx, edi
call fcn.1000de8d
jmp 0x1000c969
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.10005e61
push 0x102c7264
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x234]
call fcn.10076b80
pop ecx
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 9
call fcn.10007f9d
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xa
call fcn.10005e33
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 2
call fcn.10077600
mov esi, 0x102c7324
push 4
pop ebx
test al, al
je 0x1000c796
push ebx
mov ecx, esi
call fcn.10013560
mov edi, eax
test edi, edi
je 0x1000c78b
mov byte [ebp - 4], 0xe
xor eax, eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
push 0x10274c7c
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0xf
push eax
call fcn.100135a0
push 0xb4
push str.RC::RCDownloadHandler::ExcuteDownloadTask
push str.e:c_safe_rhino_safeinstall_rcsetup_rcwidgetplugin_srchandler_rcdownloadhandler.cpp
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
push ebx
call fcn.10013750
cmp edi, 1
jbe 0x1000c778
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.10013db0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x10
call fcn.10005e33
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.1009aa00
mov eax, dword [ebp - 0x2f8]
mov edi, 0x102cfbc8
cmp dword [eax + 0x2c], 0
je 0x1000c967
lea ecx, [ebp - 0x2ec]
call fcn.1007b620
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x2ec]
call fcn.10007f74
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x2d4]
call fcn.10007f74
sub esp, 0xc
lea eax, [ebp - 0x2ec]
push eax
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [eax + 0x2c]
call fcn.1007b740
test al, al
je 0x1000c8b1
push ebx
mov ecx, esi
call fcn.10013560
mov dword [ebp - 0x2f4], eax
test eax, eax
je 0x1000c89a
mov byte [ebp - 4], 0x15
xor eax, eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
push 0x10274c9c
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x16
push eax
call fcn.100135a0
push 0xc3
push str.RC::RCDownloadHandler::ExcuteDownloadTask
push str.e:c_safe_rhino_safeinstall_rcsetup_rcwidgetplugin_srchandler_rcdownloadhandler.cpp
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
push ebx
call fcn.10013750
cmp dword [ebp - 0x2f4], 1
jbe 0x1000c887
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.10013db0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x17
call fcn.10005e33
mov byte [ebp - 4], 0x14
push 0
push 0
mov ecx, edi
call fcn.1000de8d
mov byte [ebp - 0x2ed], 1
jmp 0x1000c958
push 1
push 0
mov ecx, edi
call fcn.1000de8d
push ebx
mov ecx, esi
call fcn.10013560
mov dword [ebp - 0x2f4], eax
test eax, eax
je 0x1000c958
mov byte [ebp - 4], 0x1b
xor eax, eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
push 0x10274cd0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x1c
push eax
call fcn.100135a0
push 0xcb
push str.RC::RCDownloadHandler::ExcuteDownloadTask
push str.e:c_safe_rhino_safeinstall_rcsetup_rcwidgetplugin_srchandler_rcdownloadhandler.cpp
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
push ebx
call fcn.10013750
cmp dword [ebp - 0x2f4], 1
jbe 0x1000c945
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.10013db0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x1d
call fcn.10005e33
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 2
call fcn.1000cb95
xor ebx, ebx
mov eax, dword [ebp - 0x2f8]
push ebx
push ebx
push 0x1402
mov ecx, dword [eax + 4]
add ecx, 0x24
mov eax, dword [ecx]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [ebp - 0x2ed], 0
je 0x1000cb4c
xor eax, eax
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
lea ecx, [ebp - 0x234]
push 0x10272ce0
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.10005e61
push ecx
push 1
lea edx, [ebp - 0x234]
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x24c]
call fcn.1007b9c0
pop ecx
pop ecx
mov bl, al
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x22
call fcn.10005e33
mov byte [ebp - 4], 2
mov ecx, edi
test bl, bl
jne 0x1000caa9
push 1
push 1
call fcn.1000de8d
push 2
mov ecx, esi
call fcn.10013560
mov edi, eax
test edi, edi
je 0x1000cb4a
mov byte [ebp - 4], 0x26
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
push 0x10274cf0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x27
push eax
call fcn.100135a0
push 0xdb
push str.RC::RCDownloadHandler::ExcuteDownloadTask
push str.e:c_safe_rhino_safeinstall_rcsetup_rcwidgetplugin_srchandler_rcdownloadhandler.cpp
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
push 2
call fcn.10013750
cmp edi, 1
jbe 0x1000ca91
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.10013db0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x28
call fcn.10005e33
mov byte [ebp - 4], 2
jmp 0x1000cb4c
xor ebx, ebx
push ebx
push 1
call fcn.1000de8d
push 2
mov ecx, esi
call fcn.10013560
mov edi, eax
test edi, edi
je 0x1000cb4c
mov byte [ebp - 4], 0x2c
xor eax, eax
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
push 0x10274d0c
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x2d
push eax
call fcn.100135a0
push 0xe0
push str.RC::RCDownloadHandler::ExcuteDownloadTask
push str.e:c_safe_rhino_safeinstall_rcsetup_rcwidgetplugin_srchandler_rcdownloadhandler.cpp
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
push 2
call fcn.10013750
cmp edi, 1
jbe 0x1000cb36
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.10013db0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x2e
call fcn.10005e33
jmp 0x1000caa0
xor ebx, ebx
mov esi, dword [ebp - 0x2f8]
lea ecx, [esi + 8]
call fcn.100799f0
push ebx
push ebx
push 0x2401
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x32
call fcn.10005e33
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 0x36
call fcn.10005e33
or dword [ebp - 4], 0xffffffff
call fcn.101e5a4c
ret