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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10152f33
mov eax, dword fs:[0]
push eax
sub esp, 0x4cc
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
mov dword [ebp - 0x410], ebx
mov eax, dword [ebx + 0x2c]
cmp eax, 1
jne 0x10028b23
jmp 0x100291ea
cmp eax, 2
je 0x10028b87
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.101293f0
add esp, 0xc
mov dword [ebp - 0x418], 1
lea eax, [ebp - 0x414]
mov dword [ebp - 0x414], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x418]
push eax
push str.InstallLocation
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall360se6
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x10028b8e
mov dword [ebx + 0x2c], 2
xor eax, eax
jmp 0x100291ea
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x404]
call fcn.10004be0
mov eax, dword [ebp - 0x404]
mov edi, 0x1015d7a8
sub edi, eax
mov dword [ebp - 4], 0
push 0x21
push 0x1015d7a8
mov ebx, dword [eax - 0xc]
sar edi, 1
call fcn.1012f4f2
mov ecx, SysReAllocString
mov dword [ebp - 0x40c], eax
sub ecx, eax
add esp, 8
cmp ecx, ebx
jl 0x10029206
lea esi, [ebx + eax]
test esi, esi
js 0x10029210
mov eax, dword [ebp - 0x404]
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x10028c11
push esi
lea ecx, [ebp - 0x404]
call fcn.10003760
mov eax, dword [ebp - 0x404]
lea edx, [eax + edi*2]
cmp edi, ebx
jbe 0x10028c1d
mov edx, 0x1015d7a8
mov ecx, dword [ebp - 0x40c]
lea eax, [eax + ebx*2]
push ecx
push edx
push ecx
push eax
call fcn.10003340
mov eax, dword [ebp - 0x404]
add esp, 0x10
cmp esi, dword [eax - 8]
jg 0x10029206
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x404]
mov word [eax + esi*2], cx
push dword [ebp - 0x404]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edi, 0xffffffff
test eax, eax
jne 0x10028d70
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 0x10028d5c
push 0x5e
push str.d:jenkins.jenkinsworkspacelib_commonwnd_plugin_realeasewnd_pluginconfig_fixedswitch.cpp
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], al
call fcn.1001dfc0
push 3
push 0x1015c718
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1001dfc0
mov byte [ebp - 4], 2
call fcn.1005e790
mov edi, eax
lea ecx, [ebp - 0x3fc]
push 0xee
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10011410
mov esi, eax
mov ecx, dword [ebp - 0x404]
mov edx, 0x1015c2f4
test ecx, ecx
mov byte [ebp - 4], 3
cmovne edx, ecx
push edx
push esi
call fcn.1000d4e0
push str._not_exist.
push esi
call fcn.10013bd0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x3fc]
call fcn.10014090
lea ecx, [ebp - 0x248]
call fcn.10005050
lea ecx, [ebp - 0x260]
call fcn.10005050
or edi, 0xffffffff
mov eax, dword [ebp - 0x410]
xor esi, esi
mov dword [eax + 0x2c], 2
jmp 0x100291c6
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
push 1
push 0x40
push 1
push dword [ebp - 0x404]
lea ecx, [ebp - 0x4d8]
mov byte [ebp - 4], 4
call fcn.10025e10
xor eax, eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x40c], eax
xor bl, bl
mov eax, dword [ebp - 0x4d8]
mov byte [ebp - 0x3fd], bl
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x4cc], 6
jne 0x100290b5
lea ecx, [ebp - 0x4d8]
push 0xa
add ecx, eax
call fcn.1002a440
movzx eax, al
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x4d8]
push eax
call fcn.10025930
add esp, 0xc
lea eax, [ebp - 0x230]
test bl, bl
mov ebx, dword [ebp - 0x230]
je 0x10028e6d
mov edi, dword [ebp - 0x21c]
cmp edi, 0x10
mov esi, dword [ebp - 0x220]
push 0xb
push str._state_:_1_
push 0
cmovae eax, ebx
push esi
push eax
call fcn.10025840
add esp, 0x14
cmp eax, 0xffffffff
jne 0x10029131
push 0xb
push str._state_:_0_
cmp edi, 0x10
lea eax, [ebp - 0x230]
push 0
cmovae eax, ebx
push esi
push eax
call fcn.10025840
add esp, 0x14
cmp eax, 0xffffffff
je 0x10029008
xor bl, bl
mov byte [ebp - 0x3fd], bl
jmp 0x1002909b
mov esi, dword [ebp - 0x21c]
cmp esi, 0x10
push 9
push str._name_:__
push 0
push dword [ebp - 0x220]
cmovae eax, ebx
push eax
call fcn.10025840
add esp, 0x14
cmp eax, 0xffffffff
je 0x10029095
cmp esi, 0x10
lea edi, [ebp - 0x230]
lea eax, [ebp - 0x360]
cmovae edi, ebx
mov dword [ebp - 0x364], eax
test edi, edi
jne 0x10028ec3
xor eax, eax
mov dword [ebp - 0x364], eax
jmp 0x10028f81
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10028ec8
sub ecx, edx
lea eax, [ebp - 0x360]
push 0x80
push eax
lea eax, [ebp - 0x364]
lea esi, [ecx + 1]
push esi
push eax
mov dword [ebp - 0x408], esi
call fcn.100045a0
add esp, 0x10
push esi
push dword [ebp - 0x364]
push esi
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x10028f73
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10028f73
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push esi
push edi
push 0
push 0xfde9
call ebx
mov esi, eax
lea eax, [ebp - 0x360]
push 0x80
push eax
lea eax, [ebp - 0x364]
push esi
push eax
call fcn.100045a0
add esp, 0x10
push esi
push dword [ebp - 0x364]
push dword [ebp - 0x408]
push edi
push 0
push 0xfde9
call ebx
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
test ebx, ebx
jne 0x1002921a
mov eax, dword [ebp - 0x364]
lea ecx, [ebp - 0x3e4]
mov byte [ebp - 4], 7
push 0
mov dword [ebp - 0x3e8], ecx
lea ecx, [ebp - 0x3e8]
push eax
call fcn.100271c0
mov edx, dword [ebp - 0x3e8]
mov ecx, edx
mov byte [ebp - 4], 8
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10028fb0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.1001dfc0
mov eax, dword [ebp - 0x3e8]
lea ecx, [ebp - 0x3e4]
cmp eax, ecx
je 0x10028fdf
push eax
call fcn.1012f829
add esp, 4
mov eax, dword [ebp - 0x364]
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 5
cmp eax, ecx
je 0x10028ffc
push eax
call fcn.1012f829
add esp, 4
mov ebx, dword [ebp - 0x230]
mov edi, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x410]
mov dword [ebp - 0x408], 0
mov ecx, dword [eax + 0x24]
mov esi, dword [eax + 0x20]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10029095
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1002903d
mov ecx, dword [esi]
push dword [esi + 0x10]
cmp edi, 0x10
lea eax, [ebp - 0x230]
push ecx
push 0
push dword [ebp - 0x220]
cmovae eax, ebx
push eax
call fcn.10025840
add esp, 0x14
cmp eax, 0xffffffff
jne 0x10029117
mov eax, dword [ebp - 0x410]
add esi, 0x18
inc dword [ebp - 0x408]
mov ecx, dword [eax + 0x24]
sub ecx, dword [eax + 0x20]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x408], eax
jb 0x10029033
mov bl, byte [ebp - 0x3fd]
mov eax, dword [ebp - 0x4d8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x4cc], 6
je 0x10028dd1
or edi, 0xffffffff
lea ecx, [ebp - 0x4c8]
call fcn.10027c00
test eax, eax
jne 0x100291a1
mov eax, dword [ebp - 0x4d8]
mov ecx, dword [eax + 4]
xor eax, eax
cmp dword [ebp + ecx - 0x4a0], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ebp + ecx - 0x4cc]
and eax, 0x17
mov dword [ebp + ecx - 0x4cc], eax
mov ecx, dword [ebp + ecx - 0x4c8]
and ecx, eax
je 0x100291a1
test cl, 4
je 0x10029239
mov esi, str.ios_base::badbit_set
jmp 0x10029249
mov esi, dword [ebp - 0x408]
mov bl, 1
inc esi
mov byte [ebp - 0x3fd], bl
mov dword [ebp - 0x40c], esi
jmp 0x1002909b
mov eax, dword [ebp - 0x40c]
push eax
lea eax, [ebp - 0x40c]
push str.ex1adb__d
push eax
call fcn.100354c0
add esp, 0xc
push 0
push 0
push 1
push dword [eax]
mov byte [ebp - 4], 6
push str.skip_pro
call fcn.100148c0
mov ecx, eax
call fcn.1005f660
mov edx, dword [ebp - 0x40c]
or edi, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002918d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x410]
mov esi, 1
mov dword [eax + 0x2c], 1
jmp 0x100291b0
mov eax, dword [ebp - 0x410]
xor esi, esi
mov dword [eax + 0x2c], 2
lea ecx, [ebp - 0x4d8]
call fcn.10026e30
lea ecx, [ebp - 0x230]
call fcn.10005050
mov eax, dword [ebp - 0x404]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x100291e8
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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
push 0x80070057
call fcn.10002c10
push 0x80070057
call fcn.10002c10
push 0x80
lea eax, [ebp - 0x360]
push eax
push dword [ebp - 0x364]
call fcn.10004620
add esp, 0xc
call fcn.10005560
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x420]
push 1
push eax
call fcn.10023c00
add esp, 8
lea ecx, [ebp - 0x244]
push eax
push esi
call fcn.10011bd0
push 0x101882d8
lea eax, [ebp - 0x244]
push eax
call fcn.101284cc
int3