Function at 0x10095ce0
Capabilities:
Accept command line arguments
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018ed15
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x101ed40c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2a8], edi
mov dword [ebp - 0x2b0], edi
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10095d93
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov eax, dword [ebp + 0xc]
mov edx, eax
lea esi, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10095d50
sub edx, esi
mov ecx, edi
sar edx, 1
push edx
push eax
call fcn.10044c60
mov esi, dword [ebp + 0xc]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1009640c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x1009640c
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0
push eax
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x2ac], eax
test eax, eax
jne 0x10095ec5
call fcn.100ca860
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10095ea0
push 0x51
push str.d:jenkins.jenkinsworkspacepcmanage_ownpop_native_rightsplugin_rightsutils.cpp
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], 0xf
mov byte [ebp - 0x264], al
call fcn.10044b60
push 3
push 0x1019eb18
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
call fcn.10044b60
mov byte [ebp - 4], 2
call fcn.100ca860
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0xdb
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.100461a0
mov esi, eax
push str.CommandLineToArgvW_failed_n
push esi
mov byte [ebp - 4], 3
call fcn.100450a0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.100478a0
lea ecx, [ebp - 0x24c]
call fcn.10042450
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0
call fcn.10042450
mov edi, dword [ebp - 0x2a8]
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x1019e5ec
mov word [edi], ax
call fcn.10044c60
jmp 0x100963ee
xor ecx, ecx
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], cx
cmp dword [ebp - 0x234], 1
mov byte [ebp - 4], 4
jl 0x10095f9c
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10095f00
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.10044c60
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov edx, dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
cmovae eax, edx
lea edi, [ebp - 0x230]
cmovae ecx, edx
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x220]
cmovae edi, edx
xor edx, edx
xor esi, esi
lea eax, [ecx + eax*2]
mov ecx, eax
sub ecx, edi
inc ecx
shr ecx, 1
cmp edi, eax
cmova ecx, edx
mov dword [ebp - 0x2a0], ecx
test ecx, ecx
je 0x10095f96
sub dword [ebp - 0x2a4], edi
movzx eax, word [edi]
push eax
call fcn.10158c69
mov ecx, dword [ebp - 0x2a4]
lea edi, [edi + 2]
inc esi
add esp, 4
mov word [ecx + edi - 2], ax
cmp esi, dword [ebp - 0x2a0]
jne 0x10095f73
mov edi, dword [ebp - 0x2a8]
push 0
push str..exe
lea ecx, [ebp - 0x230]
call fcn.10087b60
test eax, eax
jns 0x10096205
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
push str..__A_z_:______:________:__._eE__xX__eE__.__
lea ecx, [ebp - 0x260]
movups xmmword [ebp - 0x260], xmm0
call fcn.10094db0
push 0x38
lea eax, [ebp - 0x29c]
push 0
push eax
call fcn.1014de30
xorps xmm0, xmm0
mov dword [ebp - 0x29c], 0
mov byte [ebp - 0x298], 0
movups xmmword [ebp - 0x294], xmm0
mov dword [ebp - 0x284], 0
mov byte [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0
mov byte [ebp - 0x274], 0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0
mov byte [ebp - 0x268], 0
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 6
push 0
push eax
call fcn.1014de30
add esp, 0x18
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor eax, eax
mov dword [ebp - 0x23c], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100960a3
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.10044c60
cmp dword [ebp - 0x238], 8
lea ecx, [ebp - 0x24c]
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x260]
cmovae ecx, dword [ebp - 0x24c]
push 1
push 0
push edx
lea eax, [ecx + eax*2]
mov byte [ebp - 4], 7
lea edx, [ebp - 0x29c]
push edx
lea ecx, [ebp - 0x24c]
cmovae ecx, dword [ebp - 0x24c]
push eax
push ecx
call fcn.1007e800
add esp, 0x18
test al, al
je 0x1009619c
mov ecx, dword [ebp - 0x290]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x294]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x1009619c
lea ecx, [ebp - 0x270]
cmp eax, 1
jbe 0x10096148
lea ecx, [esi + 0xc]
lea eax, [ebp - 0x2cc]
push eax
call fcn.10094fa0
mov esi, eax
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x10096191
mov ecx, eax
call fcn.100424a0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x2cc]
call fcn.100424a0
lea ecx, [ebp - 0x24c]
call fcn.100424a0
lea ecx, [ebp - 0x294]
call fcn.1007ff70
mov ecx, dword [ebp - 0x260]
test ecx, ecx
je 0x100961d6
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x100961d6
push 0
push dword [ebp - 0x260]
call fcn.100853c0
add esp, 8
mov dword [ebp - 0x260], 0
mov ecx, dword [ebp - 0x250]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x10096201
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10096201
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 4
push 0
push 0x101a3444
lea ecx, [ebp - 0x230]
call fcn.10087b60
test eax, eax
js 0x100963a0
cmp dword [ebp - 0x234], 2
jl 0x100963a0
mov edx, dword [ebp - 0x2ac]
mov edx, dword [edx + 4]
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10096240
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.10044c60
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov esi, dword [ebp - 0x220]
lea ecx, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x2b0], esi
lea eax, [eax + esi*2]
mov dword [ebp - 0x2a4], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
cmp edx, 8
cmovae ecx, dword [ebp - 0x230]
lea eax, [eax + esi*2]
cmp ecx, eax
je 0x10096325
nop
cmp word [ecx], 0x2c
je 0x100962bd
add ecx, 2
cmp ecx, eax
jne 0x100962b0
cmp ecx, eax
je 0x10096325
mov dword [ebp - 0x2a0], eax
lea edx, [ecx + 2]
sub dword [ebp - 0x2a0], edx
xor esi, esi
inc dword [ebp - 0x2a0]
shr dword [ebp - 0x2a0], 1
cmp edx, eax
mov eax, dword [ebp - 0x2a0]
cmova eax, esi
mov dword [ebp - 0x2a0], eax
test eax, eax
je 0x10096319
mov edi, eax
movzx eax, word [edx]
cmp eax, 0x2c
je 0x10096303
mov word [ecx], ax
add ecx, 2
inc esi
add edx, 2
cmp esi, edi
jne 0x100962f5
mov esi, dword [ebp - 0x220]
mov edi, dword [ebp - 0x2a8]
jmp 0x1009631f
mov esi, dword [ebp - 0x2b0]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
lea eax, [ebp - 0x230]
mov edx, ecx
cmovae eax, dword [ebp - 0x230]
sub edx, eax
sar edx, 1
cmp esi, edx
jb 0x10096429
sub dword [ebp - 0x2a4], ecx
mov eax, esi
mov ecx, dword [ebp - 0x2a4]
sub eax, edx
sar ecx, 1
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x2a4], ecx
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
sub esi, dword [ebp - 0x2a4]
mov dword [ebp - 0x220], esi
sub esi, edx
lea ecx, [eax + edx*2]
lea eax, [esi*2 + 2]
push eax
mov eax, dword [ebp - 0x2a4]
lea eax, [ecx + eax*2]
push eax
push ecx
call fcn.1014d8b0
add esp, 0xc
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [ebp - 0x230]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov word [ebp - 0x230], ax
movq xmm0, qword [ebp - 0x220]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov edx, dword [ebp + 0xc]
or eax, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 4], eax
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1009640c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.10126919
mov esp, ebp
pop ebp
ret
call fcn.10049b60
int3