Function at 0x10021a60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10152502
mov eax, dword fs:[0]
push eax
sub esp, 0x3a0
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.1005e790
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10021bef
push 0x5c
push str.d:jenkins.jenkinsworkspacelib_commonwnd_plugin_realeasewnd_pluginconfigconfigmgr.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 - 0x314]
push 0x43
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10011410
mov esi, eax
push str.init_config
push esi
mov byte [ebp - 4], 2
call fcn.10013bd0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x314]
call fcn.10014090
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10021b93
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10021b89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10021e42
push edx
push ecx
call fcn.1011b768
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10021bef
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10021be5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10021e47
push edx
push ecx
call fcn.1011b768
add esp, 8
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.PluginConfigCenterStub.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
lea esi, [ebx + 0x98]
push eax
mov dword [ebp - 0x27c], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10021c9c
lea eax, [ebp - 0x218]
push eax
call fcn.1005ae90
add esp, 4
test eax, eax
je 0x10021c9c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10021c9c
push str.GetConfigCenterEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10021c9c
call eax
mov dword [esi], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x10021d32
mov eax, dword [ecx]
push str.wnd_plugin_v2_stub
push ecx
call dword [eax + 4]
lea eax, [ebx + 4]
neg ebx
sbb ebx, ebx
and ebx, eax
mov eax, dword [esi]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
call fcn.100148c0
mov ecx, eax
call fcn.1005f630
mov edi, eax
test edi, edi
je 0x10021e20
mov ecx, dword [esi]
push dword [edi + 0xc]
push 0x1015c788
mov edx, dword [ecx]
push ebx
push ecx
call dword [edx + 0x10]
mov eax, dword [esi]
push dword [edi + 8]
push str.channel
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x10]
mov eax, dword [esi]
push dword [edi + 0x10]
push 0x1015c7a8
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x10]
mov eax, dword [esi]
push dword [edi]
push 0x1015c7b4
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x10]
mov eax, dword [esi]
push dword [edi + 4]
push 0x1015c7bc
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x10]
jmp 0x10021e20
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 0x10021e20
push 0x5c
push str.d:jenkins.jenkinsworkspacelib_commonwnd_plugin_realeasewnd_pluginconfigconfigmgr.cpp
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], al
call fcn.1001dfc0
push 3
push 0x1015c718
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 3
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.1001dfc0
mov byte [ebp - 4], 4
call fcn.1005e790
mov edi, eax
lea ecx, [ebp - 0x3ac]
push 0x5a
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10011410
mov esi, eax
push str.init_cfgCenterHelper_failed._path:
push esi
mov byte [ebp - 4], 5
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 - 0x3ac]
call fcn.10014090
lea ecx, [ebp - 0x260]
call fcn.10005050
lea ecx, [ebp - 0x278]
call fcn.10005050
mov esi, dword [ebp - 0x27c]
cmp dword [esi], 0
setne al
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
call fcn.1012ca09
call fcn.1012ca09
int3