Function at 0x100590f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f7893
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x1013b7e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xdc], esi
mov ebx, dword [ebp + 8]
call fcn.10058e00
lea ecx, [ebp - 0xec]
call fcn.10057f50
push dword [esi]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x1005945b
push dword [esi + 4]
call edi
test eax, eax
je 0x1005945b
lea ecx, [ebp - 0x10c]
call fcn.10059db0
push 0
push 0
push 0x101018f8
push dword [esi]
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 4
call fcn.10059f10
lea ecx, [ebp - 0x10c]
call fcn.10059e70
call fcn.100063a0
mov ecx, eax
test ecx, ecx
je 0x1005956d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xe4], eax
mov ecx, 0x10101780
mov byte [ebp - 4], 5
test ebx, ebx
mov eax, 0x10109464
cmove eax, ecx
push eax
push dword [esi + 4]
lea eax, [ebp - 0xe4]
push str.__s___set_useplatformclock__s
push eax
call fcn.100062b0
add esp, 0x10
call fcn.10088cd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov esi, dword [ebp - 0xe4]
movzx eax, al
sub eax, 1
jne 0x100592ab
push 0x61
push str.d:jenkins.jenkinsworkspacemaster_lucomputerz_cncompuerz_cnludashi_srchpethpetchecker.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.100070f0
push 3
push 0x10102f98
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.100070f0
mov byte [ebp - 4], 7
call fcn.10088cd0
mov ebx, eax
lea ecx, [ebp - 0xd8]
push 0x47
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007cd0
mov edi, eax
push str.write_cmd:
push edi
mov byte [ebp - 4], 8
call fcn.10008a00
test esi, esi
mov ecx, 0x10102ca4
cmovne ecx, esi
push ecx
push edi
call fcn.10007290
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xd8]
call fcn.10008b30
lea ecx, [ebp - 0x28]
call fcn.10005ec0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.10005ec0
push esi
lea ecx, [ebp - 0xc4]
call fcn.10058220
push dword [eax]
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 9
call fcn.100142c0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x10c]
call fcn.1005a620
mov edx, dword [ebp - 0xdc]
or ebx, 0xffffffff
mov byte [ebp - 4], 9
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10059302
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 5
cmp eax, ecx
je 0x1005931f
push eax
call fcn.100c8d75
add esp, 4
call fcn.100063a0
mov ecx, eax
test ecx, ecx
je 0x10059577
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xe0], eax
push 0
push 0x2710
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x10c]
call fcn.1005a1d0
call fcn.10088cd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10059411
push 0x61
push str.d:jenkins.jenkinsworkspacemaster_lucomputerz_cncompuerz_cnludashi_srchpethpetchecker.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.100070f0
push 3
push 0x10102f98
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.100070f0
mov byte [ebp - 4], 0xd
call fcn.10088cd0
mov ebx, eax
lea ecx, [ebp - 0xd8]
push 0x4c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10007cd0
mov edi, eax
push dword [ebp - 0xe0]
mov byte [ebp - 4], 0xe
push edi
call fcn.10008a00
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xd8]
call fcn.10008b30
lea ecx, [ebp - 0x40]
call fcn.10005ec0
lea ecx, [ebp - 0x28]
call fcn.10005ec0
or ebx, 0xffffffff
mov edx, dword [ebp - 0xe0]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10059432
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1005944b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x10c]
call fcn.10059de0
jmp 0x10059544
call fcn.10088cd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10059544
push 0x61
push str.d:jenkins.jenkinsworkspacemaster_lucomputerz_cncompuerz_cnludashi_srchpethpetchecker.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.100070f0
push 3
push 0x10102f98
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.100070f0
mov byte [ebp - 4], 2
call fcn.10088cd0
mov ebx, eax
lea ecx, [ebp - 0xd8]
push 0x3c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10007cd0
mov edi, eax
push str.file_no_exists:
push edi
mov byte [ebp - 4], 3
call fcn.10008a00
mov edx, dword [esi]
mov esi, 0x10102ca4
test edx, edx
mov ecx, esi
cmovne ecx, edx
push ecx
push edi
call fcn.10007290
push str._or:
push edi
call fcn.10008a00
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
test eax, eax
cmovne esi, eax
push esi
push edi
call fcn.10007290
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xd8]
call fcn.10008b30
lea ecx, [ebp - 0x40]
call fcn.10005ec0
lea ecx, [ebp - 0x28]
call fcn.10005ec0
lea ecx, [ebp - 0xec]
call fcn.10057fa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10089d41
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.100060c0
push 0x80004005
call fcn.100060c0
int3