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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018b181
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x101d90a8]
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
cmp dword [ebx + 4], 0
je 0x1005d840
mov eax, 1
jmp 0x1005dabd
call fcn.10049510
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1015bd90
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x101df6ac]
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]
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x1005d94b
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1005d93c
lea eax, [ebp - 0x218]
push eax
call fcn.10067600
add esp, 4
test eax, eax
jne 0x1005d8e2
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x24c], 2
jmp 0x1005d957
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x1005d902
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x24c], 3
jmp 0x1005d957
push str.GetBrowserAcceptorMgr
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1005d921
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x24c], 4
jmp 0x1005d957
call eax
xor ecx, ecx
mov dword [ebx + 8], eax
test eax, eax
mov edx, 5
cmove ecx, edx
mov dword [ebp - 0x24c], ecx
mov ecx, eax
jmp 0x1005d957
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x24c], 1
jmp 0x1005d957
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x24c], eax
test ecx, ecx
je 0x1005d967
mov eax, dword [ecx]
push ebx
push ecx
call dword [eax + 4]
jmp 0x1005da6a
call fcn.1006bca0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1005da6a
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.1001f970
push 3
push 0x10193314
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.1001f970
mov byte [ebp - 4], 1
call fcn.1006bca0
mov edi, eax
lea ecx, [ebp - 0x2ec]
push 0x2a
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100119f0
mov esi, eax
push str.init_browserAcceptorMgr_failed._ret:
push esi
mov byte [ebp - 4], 2
call fcn.100146d0
add esp, 8
mov ecx, esi
push dword [ebp - 0x24c]
call fcn.10014010
push str.__path:
push esi
call fcn.100146d0
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.1000d8e0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2ec]
call fcn.10014b90
lea ecx, [ebp - 0x230]
call fcn.10005450
lea ecx, [ebp - 0x248]
call fcn.10005450
xor eax, eax
mov dword [ebp - 0x250], 4
cmp dword [ebx + 8], eax
lea esi, [ebx + 0x54]
mov dword [ebp - 0x254], 4
setne al
mov dword [ebx + 4], eax
lea eax, [ebp - 0x254]
push eax
push esi
lea eax, [ebp - 0x250]
push eax
push str.wnd_open_test
push str.SoftwareLudashi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1005daba
mov dword [esi], 0x7530
mov eax, dword [ebx + 4]
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.1013724c
mov esp, ebp
pop ebp
ret