Function at 0x1009b4c0
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10188fec
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x101dd594]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x254], 0
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x254]
push edx
push 0
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 1
call dword [ecx + 0x38]
mov dword [ebp - 0x258], eax
test eax, eax
jns 0x1009b641
call fcn.100d1170
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1009bdeb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x60
push str.d:jenkins.jenkinsworkspacemultiplugin_nativemultiplugin_rightsplugin_startup_autorunmgr.cpp
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0xf
mov byte [ebp - 0x2a4], 0
call fcn.10019000
push 3
push 0x10193e24
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 2
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
call fcn.10019000
mov byte [ebp - 4], 3
call fcn.100d1170
mov edi, eax
lea ecx, [ebp - 0x374]
push 0xa3
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.100167c0
mov esi, eax
push str.tid_:
push esi
mov byte [ebp - 4], 4
call fcn.100174d0
add esp, 8
mov ecx, esi
push dword [ebp - 0x28c]
call fcn.1002f8e0
push 0x1019c2a8
push esi
call fcn.100174d0
add esp, 8
mov ecx, esi
push dword [ebp - 0x258]
call fcn.1009b300
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x374]
call fcn.10017580
lea ecx, [ebp - 0x244]
call fcn.10017170
lea ecx, [ebp - 0x2a4]
call fcn.10017170
jmp 0x1009bdeb
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x25c]
mov dword [ebp - 0x25c], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
lea esi, [eax + 3]
cmp dword [ebp - 0x25c], eax
jle 0x1009bc14
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x21c], 0
inc eax
mov word [ebp - 0x29c], si
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x254]
lea ecx, [ebp - 0x21c]
movups xmm0, xmmword [ebp - 0x29c]
push ecx
sub esp, 0x10
mov byte [ebp - 4], 0xa
mov edx, dword [eax]
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x20]
mov esi, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x29c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x21c]
test esi, esi
js 0x1009b8a2
mov ecx, dword [eax]
lea edx, [ebp - 0x224]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x24c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x264]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x220]
push edx
push eax
mov byte [ebp - 4], 0xb
mov ecx, dword [eax]
call dword [ecx + 0x4c]
test eax, eax
js 0x1009b888
mov dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x22c]
push edx
push eax
mov byte [ebp - 4], 0xc
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
js 0x1009b874
mov dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x258]
mov dword [ebp - 0x258], 0
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xd
call dword [ecx + 0x1c]
cmp dword [ebp - 0x258], 0
je 0x1009b860
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x280]
push edx
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
mov eax, dword [ebp - 0x280]
js 0x1009b866
xor ecx, ecx
mov dword [ebp - 0x228], ecx
test eax, eax
je 0x1009b81e
mov ecx, dword [eax]
lea edx, [ebp - 0x228]
push edx
push str.MbLk
push eax
call dword [ecx]
mov ecx, dword [ebp - 0x228]
xor edx, edx
test eax, eax
mov eax, dword [ebp - 0x280]
cmovs ecx, edx
mov dword [ebp - 0x228], ecx
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x1009b852
mov eax, dword [ecx]
lea edx, [ebp - 0x284]
push edx
push ecx
call dword [eax + 0x28]
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x248]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x228]
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x1009b866
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x280]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x1009b874
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x22c]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x1009b888
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x220]
mov byte [ebp - 4], 9
test eax, eax
je 0x1009b89c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 8
test eax, eax
je 0x1009b8b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x224], 0
je 0x1009bbdd
cmp dword [ebp - 0x24c], 0
je 0x1009bbdd
mov eax, dword [ebp - 0x284]
mov edx, 0x10193fcc
test eax, eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 7
cmovne edx, eax
xor eax, eax
mov ecx, edx
mov word [ebp - 0x244], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009b900
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x244]
call fcn.1001ba50
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x27c]
call fcn.100348f0
mov esi, dword [ebp - 0x248]
mov byte [ebp - 4], 0x10
test esi, esi
je 0x1009b97c
push 1
push 0x101946c8
lea ecx, [ebp - 0x27c]
call fcn.10036ac0
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x21c], ecx
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1009b960
sub edx, dword [ebp - 0x21c]
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.10036ac0
mov edx, dword [ebp - 0x234]
mov esi, dword [ebp - 0x230]
test edx, edx
je 0x1009ba1c
mov ecx, dword [ebp - 0x244]
lea eax, [ebp - 0x244]
cmp esi, 8
cmovae eax, ecx
cmp word [eax], 0x22
jne 0x1009b9d9
cmp esi, 8
lea eax, [ebp - 0x244]
cmovae eax, ecx
lea ecx, [ebp - 0x244]
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.1009d000
mov esi, dword [ebp - 0x230]
mov edx, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x244]
test edx, edx
je 0x1009ba1c
cmp esi, 8
lea eax, [ebp - 0x244]
cmovae eax, ecx
cmp word [eax + edx*2 - 2], 0x22
jne 0x1009ba1c
cmp esi, 8
lea eax, [ebp - 0x244]
cmovae eax, ecx
lea ecx, [ebp - 0x244]
lea eax, [eax + edx*2]
add eax, 0xfffffffe
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.1009d000
mov esi, dword [ebp - 0x230]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10150460
add esp, 0xc
lea ecx, [ebp - 0x218]
cmp esi, 8
lea eax, [ebp - 0x244]
cmovae eax, dword [ebp - 0x244]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009ba60
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.1001ba50
cmp dword [ebp - 0x230], 8
lea eax, [ebp - 0x244]
cmovae eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1009bbbe
call fcn.100d1170
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1009bbc7
cmp dword [ebp - 0x230], 8
lea eax, [ebp - 0x244]
push 0x60
cmovae eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x2dc]
push str.d:jenkins.jenkinsworkspacemultiplugin_nativemultiplugin_rightsplugin_startup_autorunmgr.cpp
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0xf
mov byte [ebp - 0x2dc], 0
call fcn.10019000
push 3
push 0x10193e24
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 0xf
mov byte [ebp - 0x2c4], 0
call fcn.10019000
mov byte [ebp - 4], 0x12
call fcn.100d1170
mov edi, eax
lea ecx, [ebp - 0x374]
push 0xea
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.100167c0
mov esi, eax
push 0x1019c20c
push esi
mov byte [ebp - 4], 0x13
call fcn.100174d0
mov eax, dword [ebp - 0x21c]
mov ecx, 0x10193e70
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.1001a540
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x374]
call fcn.10017580
lea ecx, [ebp - 0x2c4]
call fcn.10017170
lea ecx, [ebp - 0x2dc]
call fcn.10017170
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1009bbc7
mov esi, dword [ebp - 0x28c]
inc dword [esi + 4]
lea ecx, [ebp - 0x27c]
call fcn.100171c0
lea ecx, [ebp - 0x244]
call fcn.100171c0
push dword [ebp - 0x248]
call edi
push dword [ebp - 0x284]
call edi
push dword [ebp - 0x24c]
call edi
push dword [ebp - 0x224]
call edi
mov eax, dword [ebp - 0x288]
mov esi, 3
cmp eax, dword [ebp - 0x25c]
jl 0x1009b675
mov dword [ebp - 0x250], 0
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x250]
push edx
push 0
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x14
call dword [ecx + 0x28]
mov dword [ebp - 0x264], eax
test eax, eax
jns 0x1009be30
call fcn.100d1170
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1009bdd7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x60
push str.d:jenkins.jenkinsworkspacemultiplugin_nativemultiplugin_rightsplugin_startup_autorunmgr.cpp
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0xf
mov byte [ebp - 0x2a4], 0
call fcn.10019000
push 3
push 0x10193e24
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
call fcn.10019000
mov byte [ebp - 4], 0x16
call fcn.100d1170
mov edi, eax
lea ecx, [ebp - 0x374]
push 0xf5
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.100167c0
mov esi, eax
push str.tid_:
push esi
mov byte [ebp - 4], 0x17
call fcn.100174d0
add esp, 8
mov ecx, esi
push dword [ebp - 0x288]
call fcn.1002f8e0
push str._ITaskFolder_GetFolders_hr:
push esi
call fcn.100174d0
add esp, 8
mov ecx, esi
push dword [ebp - 0x264]
call fcn.1009b300
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x374]
call fcn.10017580
mov edx, dword [ebp - 0x230]
mov byte [ebp - 4], 0x15
cmp edx, 0x10
jb 0x1009bd7e
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009bd74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009bfe7
push edx
push ecx
call fcn.10127e1e
add esp, 8
mov edx, dword [ebp - 0x290]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x1009bdd7
mov ecx, dword [ebp - 0x2a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009bdcd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009bfec
push edx
push ecx
call fcn.10127e1e
add esp, 8
mov eax, dword [ebp - 0x250]
mov byte [ebp - 4], 1
test eax, eax
je 0x1009bdeb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x254]
mov byte [ebp - 4], 0
test eax, eax
je 0x1009bdff
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x1009be13
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10128191
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x250]
lea edx, [ebp - 0x260]
mov dword [ebp - 0x260], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
cmp dword [ebp - 0x260], eax
jle 0x1009bdd7
nop word [eax + eax]
mov dword [ebp - 0x220], 0
inc eax
mov word [ebp - 0x29c], si
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x220]
movups xmm0, xmmword [ebp - 0x29c]
push ecx
sub esp, 0x10
mov byte [ebp - 4], 0x19
mov edx, dword [eax]
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x20]
mov esi, eax
lea eax, [ebp - 0x29c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
js 0x1009bfad
mov dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x228]
push edx
push eax
mov byte [ebp - 4], 0x1a
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, dword [ebp - 0x228]
call fcn.1001b540
mov ecx, eax
test ecx, ecx
je 0x1009bfdd
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 0x1b
test esi, esi
je 0x1009bf38
test esi, 0xffff0000
jne 0x1009bf22
movzx eax, si
lea ecx, [ebp - 0x224]
push eax
call fcn.100183a0
jmp 0x1009bf47
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009bf27
sub ecx, edx
sar ecx, 1
jmp 0x1009bf3a
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x224]
call fcn.10020080
mov esi, dword [ebp - 0x224]
push str.microsoft
push esi
mov byte [ebp - 4], 0x1c
call fcn.10158862
add esp, 8
test eax, eax
je 0x1009bf89
mov eax, dword [ebp - 0x220]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x1009bf7e
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ecx, dword [ebp - 0x28c]
call fcn.1009b4c0
or eax, 0xffffffff
mov byte [ebp - 4], 0x1a
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1009bfa5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x228]
call edi
mov eax, dword [ebp - 0x220]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x1009bfc1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x288]
mov esi, 3
cmp eax, dword [ebp - 0x260]
jl 0x1009be60
jmp 0x1009bdd7
push 0x80004005
call fcn.10017a40
call fcn.10153963
call fcn.10153963
int3