Function at 0x1001a220
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083cb3
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 0x1001a260
mov eax, dword [esi]
lea ecx, [ebp - 0x64]
push ecx
push eax
call fcn.1001acc0
add esp, 8
cmp dword [ebp - 0x64], 0
je 0x1001a27d
mov eax, 1
jmp 0x1001a51b
cmp dword [0x100a9190], 0
je 0x1001a350
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x1008b710
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001a346
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 0x1001a33c
cmp ax, 6
je 0x1001a33c
cmp ax, 0xc
je 0x1001a33c
push str.IsWow64Process2
push 0x1008dc1c
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 0x1001a333
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 0x1001a333
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x5c], cx
sete al
mov dword [0x100ad2b0], eax
jmp 0x1001a346
xor eax, eax
mov dword [0x100ad2b0], eax
jmp 0x1001a346
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 0x1001a382
mov edi, dword [edi]
cmp eax, 8
jae 0x1001a39c
movups xmm0, xmmword [edi]
mov dword [ebp - 0x14], 7
mov ecx, 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x1001a3d7
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.10009720
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.10050490
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 0x1001a50f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.100371e0
add esp, 4
test eax, eax
je 0x1001a50f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, esi
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x1001a42d
mov ecx, dword [esi]
mov esi, ecx
push 0
push 0
push eax
push 1
push ecx
push esi
call fcn.1001ac30
add esp, 0x18
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x60], eax
test esi, esi
jns 0x1001a536
call fcn.10034f00
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1001a50f
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.10009c50
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.10009c50
mov byte [ebp - 4], 2
call fcn.10034f00
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.10004b60
add esp, 8
mov ecx, esi
push dword [ebp - 0x60]
call fcn.10004680
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x120]
call fcn.10004c80
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.10030ed7
mov esp, ebp
pop ebp
ret
mov esi, 1
jmp 0x1001a511