Function at 0x1000ce09
Capabilities:
Get common file path

Disassembly:
push 0x2ec
mov eax, 0x1022c72d
call fcn.101e81e1
mov dword [ebp - 0x2f8], ecx
xor ebx, ebx
lea ecx, [ebp - 0x264]
push 0x102cb294
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x250], ebx
call fcn.10008857
mov dword [ebp - 4], ebx
call fcn.1007c400
test al, al
je 0x1000ce58
push 0x102cb27c
lea ecx, [ebp - 0x264]
call fcn.1000873d
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.101ffde0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1000cf80
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 4
pop ebx
mov esi, 0x102cb324
mov dword [ebp - 0x2f4], eax
push ebx
mov ecx, esi
call fcn.10013e30
mov edi, eax
test edi, edi
je 0x1000cf6a
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 0x10277cf0
push eax
call fcn.100773d0
add esp, 0xc
lea eax, [ebp - 0x234]
mov ecx, esi
push 0xa8
push str.RC::RCDownloadHandler::ExcuteDownloadTask
push str.e:cpp_safe_rhino_safeinstall_rcsetup_rcwidgetplugin_srchandler_rcdownloadhandler.cpp
push eax
push ebx
call fcn.10014020
cmp edi, 1
jbe 0x1000cf57
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.10014680
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 5
call fcn.10005e33
mov byte [ebp - 4], 2
push 1
xor ebx, ebx
mov edi, 0x102d3bc8
push ebx
mov ecx, edi
call fcn.1000e77d
jmp 0x1000d259
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.10005e61
push 0x102cb264
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x234]
call fcn.10079280
pop ecx
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 9
call fcn.10008766
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xa
call fcn.10005e33
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 2
call fcn.10079d00
mov esi, 0x102cb324
push 4
pop ebx
test al, al
je 0x1000d086
push ebx
mov ecx, esi
call fcn.10013e30
mov edi, eax
test edi, edi
je 0x1000d07b
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 0x10277d74
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0xf
push eax
call fcn.10013e70
push 0xb4
push str.RC::RCDownloadHandler::ExcuteDownloadTask
push str.e:cpp_safe_rhino_safeinstall_rcsetup_rcwidgetplugin_srchandler_rcdownloadhandler.cpp
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
push ebx
call fcn.10014020
cmp edi, 1
jbe 0x1000d068
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.10014680
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x10
call fcn.10005e33
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.1009d0d0
mov eax, dword [ebp - 0x2f8]
mov edi, 0x102d3bc8
cmp dword [eax + 0x2c], 0
je 0x1000d257
lea ecx, [ebp - 0x2ec]
call fcn.1007dd00
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x2ec]
call fcn.1000873d
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x2d4]
call fcn.1000873d
sub esp, 0xc
lea eax, [ebp - 0x2ec]
push eax
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [eax + 0x2c]
call fcn.1007de20
test al, al
je 0x1000d1a1
push ebx
mov ecx, esi
call fcn.10013e30
mov dword [ebp - 0x2f4], eax
test eax, eax
je 0x1000d18a
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 0x10277d94
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x16
push eax
call fcn.10013e70
push 0xc3
push str.RC::RCDownloadHandler::ExcuteDownloadTask
push str.e:cpp_safe_rhino_safeinstall_rcsetup_rcwidgetplugin_srchandler_rcdownloadhandler.cpp
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
push ebx
call fcn.10014020
cmp dword [ebp - 0x2f4], 1
jbe 0x1000d177
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.10014680
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.1000e77d
mov byte [ebp - 0x2ed], 1
jmp 0x1000d248
push 1
push 0
mov ecx, edi
call fcn.1000e77d
push ebx
mov ecx, esi
call fcn.10013e30
mov dword [ebp - 0x2f4], eax
test eax, eax
je 0x1000d248
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 0x10277dc8
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x1c
push eax
call fcn.10013e70
push 0xcb
push str.RC::RCDownloadHandler::ExcuteDownloadTask
push str.e:cpp_safe_rhino_safeinstall_rcsetup_rcwidgetplugin_srchandler_rcdownloadhandler.cpp
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
push ebx
call fcn.10014020
cmp dword [ebp - 0x2f4], 1
jbe 0x1000d235
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.10014680
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.1000d485
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 0x1000d43c
xor eax, eax
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
lea ecx, [ebp - 0x234]
push 0x10275ce0
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.1007e0a0
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 0x1000d399
push 1
push 1
call fcn.1000e77d
push 2
mov ecx, esi
call fcn.10013e30
mov edi, eax
test edi, edi
je 0x1000d43a
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 0x10277de8
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x27
push eax
call fcn.10013e70
push 0xdb
push str.RC::RCDownloadHandler::ExcuteDownloadTask
push str.e:cpp_safe_rhino_safeinstall_rcsetup_rcwidgetplugin_srchandler_rcdownloadhandler.cpp
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
push 2
call fcn.10014020
cmp edi, 1
jbe 0x1000d381
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.10014680
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x28
call fcn.10005e33
mov byte [ebp - 4], 2
jmp 0x1000d43c
xor ebx, ebx
push ebx
push 1
call fcn.1000e77d
push 2
mov ecx, esi
call fcn.10013e30
mov edi, eax
test edi, edi
je 0x1000d43c
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 0x10277e04
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x2d
push eax
call fcn.10013e70
push 0xe0
push str.RC::RCDownloadHandler::ExcuteDownloadTask
push str.e:cpp_safe_rhino_safeinstall_rcsetup_rcwidgetplugin_srchandler_rcdownloadhandler.cpp
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
push 2
call fcn.10014020
cmp edi, 1
jbe 0x1000d426
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.10014680
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x2e
call fcn.10005e33
jmp 0x1000d390
xor ebx, ebx
mov esi, dword [ebp - 0x2f8]
lea ecx, [esi + 8]
call fcn.1007c0f0
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.101e819c
ret