Function at 0x1008fd60
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018d222
mov eax, dword fs:[0]
push eax
sub esp, 0x320
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 esi, dword [ebp + 8]
mov dword [ebp - 0x32c], esi
mov dword [ebp - 0x310], esi
lea eax, [ebp - 0x298]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x298], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x30c], eax
test eax, eax
jne 0x1008fefb
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 0x1008feb0
push 0x59
push str.d:jenkins.jenkinsworkspacepcmanage_ownpop_native_rightsplugin_rightsmanagerutils.cpp
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x29c], 0xf
mov byte [ebp - 0x2b0], al
call fcn.10044b60
push 3
push 0x1019eb18
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 1
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], 0
call fcn.10044b60
mov byte [ebp - 4], 2
call fcn.100ca860
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0x2b9
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.100461a0
mov esi, eax
push str.CommandLineToArgvW_failed_n
push esi
mov byte [ebp - 4], 3
call fcn.100450a0
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.100478a0
lea ecx, [ebp - 0x328]
call fcn.10042450
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0
call fcn.10042450
mov esi, dword [ebp - 0x32c]
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x1019e5ec
mov word [esi], ax
call fcn.10044c60
mov edi, dword [ebp + 0xc]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100908a1
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x100908a1
xor esi, esi
cmp dword [ebp - 0x298], esi
jle 0x100901f6
nop dword [eax]
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 0x100901e3
push 0x59
push str.d:jenkins.jenkinsworkspacepcmanage_ownpop_native_rightsplugin_rightsmanagerutils.cpp
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2b4], 0xf
mov byte [ebp - 0x2c8], al
call fcn.10044b60
push 3
push 0x1019eb18
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 4
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 0xf
mov byte [ebp - 0x2b0], 0
call fcn.10044b60
mov byte [ebp - 4], 5
call fcn.100ca860
push 1
push 2
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x308], eax
call fcn.10062f80
push 0xffffffffffffffff
push 0x1019ea14
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 6
call fcn.1004b330
push 0xffffffffffffffff
push 0x1019ea18
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x304], eax
call fcn.1004b330
push 0x64
mov edi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.1014de30
add esp, 0xc
cmp edi, 0xffffffff
je 0x10090090
mov ecx, dword [ebp - 0x304]
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10090090
mov eax, dword [ebp - 0x2b8]
lea edx, [ecx + 1]
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], 0
cmp eax, edx
jb 0x100908c3
sub edi, ecx
sub eax, edx
lea ecx, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x2b4], 0x10
lea eax, [ebp - 0x2c8]
cmovae eax, dword [ebp - 0x2c8]
push ecx
add eax, edx
lea ecx, [ebp - 0x328]
push eax
call fcn.10044b60
cmp dword [ebp - 0x314], 0x10
lea eax, [ebp - 0x328]
cmovae eax, dword [ebp - 0x328]
push eax
push 0x2be
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.10045b00
add esp, 0x10
lea ecx, [ebp - 0x328]
call fcn.10042450
jmp 0x100900a6
push 0x2be
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.10045b00
add esp, 0xc
cmp dword [ebp - 0x29c], 0x10
lea eax, [ebp - 0x2b0]
cmovae eax, dword [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.10047780
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.10047780
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 7
push str.CommandLineToArgv:
push eax
call fcn.100450a0
add esp, 0x18
lea ecx, [ebp - 0x10c]
push esi
call fcn.1004e490
lea eax, [ebp - 0x10c]
push 0x101a3440
push eax
call fcn.10047780
mov eax, dword [ebp - 0x30c]
mov ecx, 0x1019ea04
mov eax, dword [eax + esi*4]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x10c]
push ecx
push eax
call fcn.100450a0
mov ecx, dword [ebp - 0x308]
lea edx, [ebp - 0x10c]
add esp, 0x10
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.100478a0
mov edx, dword [ebp - 0x29c]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x1009018a
mov ecx, dword [ebp - 0x2b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10090180
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100908be
push edx
push ecx
call fcn.1012659a
add esp, 8
mov edx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 0xf
mov byte [ebp - 0x2b0], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x100901e3
mov ecx, dword [ebp - 0x2c8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100901d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100908be
push edx
push ecx
call fcn.1012659a
add esp, 8
inc esi
cmp esi, dword [ebp - 0x298]
jl 0x1008ff10
mov eax, dword [ebp - 0x30c]
xor ecx, ecx
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], cx
cmp dword [ebp - 0x298], 1
mov byte [ebp - 4], 8
jl 0x100902c6
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10090230
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x294]
call fcn.10044c60
cmp dword [ebp - 0x280], 8
lea eax, [ebp - 0x294]
mov edx, dword [ebp - 0x294]
lea ecx, [ebp - 0x294]
cmovae eax, edx
lea edi, [ebp - 0x294]
cmovae ecx, edx
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x284]
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 - 0x308], ecx
test ecx, ecx
je 0x100902c6
sub dword [ebp - 0x304], edi
movzx eax, word [edi]
push eax
call fcn.10158c69
mov ecx, dword [ebp - 0x304]
lea edi, [edi + 2]
inc esi
add esp, 4
mov word [ecx + edi - 2], ax
cmp esi, dword [ebp - 0x308]
jne 0x100902a3
push 0
push str..exe
lea ecx, [ebp - 0x294]
call fcn.10087b60
or edi, 0xffffffff
test eax, eax
jns 0x100906bb
xorps xmm0, xmm0
mov dword [ebp - 0x2b4], 0
lea eax, [ebp - 0x2c0]
movups xmmword [ebp - 0x2c4], xmm0
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x310], eax
push 1
mov byte [ebp - 4], 9
call fcn.100a3c06
mov dword [ebp - 0x2b4], eax
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0xa
push eax
call fcn.1007f300
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2b8]
push eax
call fcn.10045b30
mov dword [ebp - 0x2bc], eax
push 0x54
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xb
push 0
push eax
call fcn.1014de30
add esp, 0x18
lea eax, [ebp - 0x2c0]
lea ecx, [ebp - 0x64]
push 1
push 0x101a22d8
push str..__A_z_:______:________:__._eE__xX__eE__.__
push eax
call fcn.1007f490
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
call fcn.100852b0
mov esi, eax
test esi, esi
je 0x1009038b
lock inc dword [esi + 0x20]
mov ecx, dword [ebp - 0x2c4]
test ecx, ecx
je 0x100903ae
mov eax, edi
lock xadd dword [ecx + 0x20], eax
jne 0x100903ae
push 0
push dword [ebp - 0x2c4]
call fcn.100853c0
add esp, 8
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x2c4], esi
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x100903f6
mov eax, dword [ebp - 0x48]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x100903ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100908be
push edx
push ecx
call fcn.1012659a
add esp, 8
push 0x38
lea eax, [ebp - 0x300]
push 0
push eax
call fcn.1014de30
xorps xmm0, xmm0
mov dword [ebp - 0x300], 0
mov byte [ebp - 0x2fc], 0
movups xmmword [ebp - 0x2f8], xmm0
mov dword [ebp - 0x2e8], 0
mov byte [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 0
mov byte [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2d0], 0
mov byte [ebp - 0x2cc], 0
push 0x208
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 0xe
push 0
push eax
call fcn.1014de30
add esp, 0x18
lea eax, [ebp - 0x27c]
push 0x104
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor eax, eax
mov dword [ebp - 0x2a0], 0
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100904c0
sub ecx, edx
lea eax, [ebp - 0x27c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2b0]
call fcn.10044c60
cmp dword [ebp - 0x29c], 8
lea ecx, [ebp - 0x2b0]
mov eax, dword [ebp - 0x2a0]
lea edx, [ebp - 0x2c4]
cmovae ecx, dword [ebp - 0x2b0]
push 1
push 0
push edx
lea eax, [ecx + eax*2]
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x300]
push edx
lea ecx, [ebp - 0x2b0]
cmovae ecx, dword [ebp - 0x2b0]
push eax
push ecx
call fcn.1007e800
add esp, 0x18
test al, al
je 0x100905fd
mov ecx, dword [ebp - 0x2f4]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x2f8]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x100905fd
cmp eax, 1
lea eax, [ebp - 0x2d4]
jbe 0x10090569
lea eax, [esi + 0xc]
cmp byte [eax + 8], 0
je 0x10090576
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x1009057a
xor ecx, ecx
xor eax, eax
xor edx, edx
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 7
mov word [ebp - 0x328], dx
cmp ecx, eax
je 0x100905ac
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x328]
call fcn.10044c60
lea ecx, [ebp - 0x294]
call fcn.100424a0
movups xmm0, xmmword [ebp - 0x328]
xor eax, eax
lea ecx, [ebp - 0x328]
mov word [ebp - 0x328], ax
movups xmmword [ebp - 0x294], xmm0
movq xmm0, qword [ebp - 0x318]
movq qword [ebp - 0x284], xmm0
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 7
call fcn.100424a0
mov edx, dword [ebp - 0x29c]
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x10090641
mov ecx, dword [ebp - 0x2b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10090637
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100908c8
push edx
push ecx
call fcn.1012659a
add esp, 8
xor eax, eax
mov dword [ebp - 0x2a0], 0
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], ax
call fcn.1007ff70
mov ecx, dword [ebp - 0x2c4]
test ecx, ecx
je 0x1009068c
mov eax, edi
lock xadd dword [ecx + 0x20], eax
jne 0x1009068c
push 0
push dword [ebp - 0x2c4]
call fcn.100853c0
add esp, 8
mov dword [ebp - 0x2c4], 0
mov ecx, dword [ebp - 0x2b4]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x100906b7
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100906b7
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 8
push 0
push 0x101a3444
lea ecx, [ebp - 0x294]
call fcn.10087b60
test eax, eax
js 0x1009082e
cmp dword [ebp - 0x298], 2
jl 0x1009082e
mov eax, dword [ebp - 0x30c]
mov edx, dword [eax + 4]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100906f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x294]
call fcn.10044c60
cmp dword [ebp - 0x280], 8
lea eax, [ebp - 0x294]
mov esi, dword [ebp - 0x284]
lea ecx, [ebp - 0x294]
cmovae eax, dword [ebp - 0x294]
mov edx, dword [ebp - 0x280]
mov dword [ebp - 0x310], esi
lea eax, [eax + esi*2]
mov dword [ebp - 0x304], eax
lea eax, [ebp - 0x294]
cmovae eax, dword [ebp - 0x294]
cmp edx, 8
cmovae ecx, dword [ebp - 0x294]
lea eax, [eax + esi*2]
cmp ecx, eax
je 0x100907b3
nop
cmp word [ecx], 0x2c
je 0x1009076d
add ecx, 2
cmp ecx, eax
jne 0x10090760
cmp ecx, eax
je 0x100907b3
lea edx, [ecx + 2]
mov edi, eax
sub edi, edx
xor esi, esi
inc edi
shr edi, 1
cmp edx, eax
cmova edi, esi
test edi, edi
je 0x100907a4
movzx eax, word [edx]
cmp eax, 0x2c
je 0x10090794
mov word [ecx], ax
add ecx, 2
inc esi
add edx, 2
cmp esi, edi
jne 0x10090786
mov esi, dword [ebp - 0x284]
jmp 0x100907aa
mov esi, dword [ebp - 0x310]
mov edx, dword [ebp - 0x280]
or edi, 0xffffffff
cmp edx, 8
lea eax, [ebp - 0x294]
mov edx, ecx
cmovae eax, dword [ebp - 0x294]
sub edx, eax
sar edx, 1
cmp esi, edx
jb 0x100908cd
sub dword [ebp - 0x304], ecx
mov eax, esi
mov ecx, dword [ebp - 0x304]
sub eax, edx
sar ecx, 1
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x280], 8
mov dword [ebp - 0x304], ecx
lea eax, [ebp - 0x294]
cmovae eax, dword [ebp - 0x294]
sub esi, dword [ebp - 0x304]
mov dword [ebp - 0x284], esi
sub esi, edx
lea ecx, [eax + edx*2]
lea eax, [esi*2 + 2]
push eax
mov eax, dword [ebp - 0x304]
lea eax, [ecx + eax*2]
push eax
push ecx
call fcn.1014d8b0
add esp, 0xc
push dword [ebp - 0x30c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x32c]
xor eax, eax
movups xmm0, xmmword [ebp - 0x294]
mov edx, dword [ebp + 0xc]
mov word [ebp - 0x294], ax
add edx, 0xfffffff0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov dword [ebp - 4], 0xffffffff
movq xmm0, qword [ebp - 0x284]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 7
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x100908a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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.101513dc
call fcn.10049b60
call fcn.101513dc
call fcn.10049b60
int3