Function at 0x1001a110
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083ad3
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x100a91bc]
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, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 0x64], 0
jb 0x1001a150
mov eax, dword [esi]
lea ecx, [ebp - 0x64]
push ecx
push eax
call fcn.1001abb0
add esp, 8
cmp dword [ebp - 0x64], 0
je 0x1001a16d
mov eax, 1
jmp 0x1001a40b
cmp dword [0x100a9190], 0
je 0x1001a240
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x1008b6d0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001a236
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x88]
push ecx
movups xmmword [ebp - 0x88], xmm0
movups xmmword [ebp - 0x78], xmm0
call eax
mov ax, word [ebp - 0x88]
cmp ax, 9
je 0x1001a22c
cmp ax, 6
je 0x1001a22c
cmp ax, 0xc
je 0x1001a22c
push str.IsWow64Process2
push 0x1008dbdc
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1001a223
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x1001a223
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x5c], cx
sete al
mov dword [0x100ad2b0], eax
jmp 0x1001a236
xor eax, eax
mov dword [0x100ad2b0], eax
jmp 0x1001a236
mov dword [0x100ad2b0], 1
mov dword [0x100a9190], 0
cmp dword [0x100ad2b0], 0
mov edi, 0x18
mov ecx, 0x30
mov dword [ebp - 0x18], 0
cmovne edi, ecx
mov dword [ebp - 0x14], 0
add edi, esi
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x5c], eax
jb 0x1001a272
mov edi, dword [edi]
cmp eax, 8
jae 0x1001a28c
movups xmm0, xmmword [edi]
mov dword [ebp - 0x14], 7
mov ecx, 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x1001a2c7
or eax, 7
mov ecx, 0x7ffffffe
cmp eax, ecx
cmova eax, ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x60], eax
inc eax
push eax
call fcn.10009620
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.100502e0
mov ecx, dword [ebp - 0x60]
add esp, 0xc
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
cmp ecx, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001a3ff
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.100370a0
add esp, 4
test eax, eax
je 0x1001a3ff
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, esi
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x1001a31d
mov ecx, dword [esi]
mov esi, ecx
push 0
push 0
push eax
push 1
push ecx
push esi
call fcn.1001ab20
add esp, 0x18
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x60], eax
test esi, esi
jns 0x1001a426
call fcn.10034dc0
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1001a3ff
push 0x6a
push str.d:jenkins.jenkinsworkspacecore_libldsutilspublic_srcldsutils_src_service_handler_service_handler.cc
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.10009b50
push 3
push 0x1008994c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10009b50
mov byte [ebp - 4], 2
call fcn.10034dc0
mov edi, eax
lea ecx, [ebp - 0x120]
push 0x31
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10003550
mov esi, eax
push str.InstallSvc_error:
push esi
mov byte [ebp - 4], 3
call fcn.10004b40
add esp, 8
mov ecx, esi
push dword [ebp - 0x60]
call fcn.10004660
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x120]
call fcn.10004c60
lea ecx, [ebp - 0x40]
call fcn.10003f30
lea ecx, [ebp - 0x58]
call fcn.10003f30
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.10003f80
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.10030da7
mov esp, ebp
pop ebp
ret
mov esi, 1
jmp 0x1001a401