Function at 0x10052450
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10156aa1
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x10198e28]
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
call fcn.10040410
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.101293f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x1019d154]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push str.PluginBrowserBasic.tpi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10052566
lea eax, [ebp - 0x218]
push eax
call fcn.1005ae90
add esp, 4
test eax, eax
jne 0x10052514
mov dword [ebp - 0x24c], 2
jmp 0x10052570
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x10052531
mov dword [ebp - 0x24c], 3
jmp 0x10052570
push str.GetBrowserAcceptorMgr
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1005254d
mov dword [ebp - 0x24c], 4
jmp 0x10052570
call eax
xor ecx, ecx
mov dword [ebx + 8], eax
test eax, eax
mov edx, 5
cmove ecx, edx
mov dword [ebp - 0x24c], ecx
jmp 0x10052570
mov dword [ebp - 0x24c], 1
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x10052583
mov eax, dword [ecx]
push ebx
push ecx
call dword [eax + 4]
jmp 0x1005268d
call fcn.1005e790
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1005268d
push 0x56
push str.d:jenkins.jenkinsworkspacelib_commonwnd_plugin_realeasewnd_pluginwndwndmgr.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1001dfc0
push 3
push 0x1015c718
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1001dfc0
mov byte [ebp - 4], 1
call fcn.1005e790
mov edi, eax
lea ecx, [ebp - 0x2ec]
push 0x2d
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10011410
mov esi, eax
push str.init_browserAcceptorMgr_failed._ret:
push esi
mov byte [ebp - 4], 2
call fcn.10013bd0
add esp, 8
mov ecx, esi
push dword [ebp - 0x24c]
call fcn.10013510
push str.__path:
push esi
call fcn.10013bd0
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.1000d4e0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2ec]
call fcn.10014090
lea ecx, [ebp - 0x230]
call fcn.10005050
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.10005050
call fcn.1004a420
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
mov dword [ebx + 0x10], eax
lea esi, [ebx + 0x50]
xor eax, eax
mov dword [ebp - 0x254], 4
cmp dword [ebx + 8], eax
mov dword [ebp - 0x250], 4
setne al
mov dword [ebx + 4], eax
lea eax, [ebp - 0x250]
push eax
push esi
lea eax, [ebp - 0x254]
push eax
push str.wnd_open_test
push str.SoftwareLudashi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
mov eax, dword [ebx + 4]
je 0x100526ef
mov dword [esi], 0x7530
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.1011bafc
mov esp, ebp
pop ebp
ret