Function at 0x42df10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af607
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4e96d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
lea edi, [ebx + 4]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x42e053
call fcn.0046c0e0
mov esi, eax
mov ecx, esi
call fcn.0046e8e0
cmp byte [0x4f2cd5], 0
jne 0x42dfbc
push 0xf0
call fcn.0046e4f0
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x42dfb1
push 0x4f2cd5
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x4cea7a
push 0
push 0
push 0x8b9
push str.C:BuildAgentwork6ef1b807bd9726a1RemoteInstallerInstallerUIMainDlg.cpp
push 0x20
call fcn.0046bf00
jmp 0x42dfb3
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x4f3de0], eax
mov ecx, esi
call fcn.0046e8f0
mov ecx, dword [0x4f3de0]
lea ecx, [ecx + 0xd0]
call fcn.0046e8e0
push dword [edi]
lea ecx, [ebp - 0x28]
call fcn.00418b90
mov byte [ebp - 4], 2
mov ecx, dword [0x4f3de0]
push dword [eax]
push 0x4d1fe0
mov edx, dword [ecx]
push ecx
call dword [edx + 0x48]
mov byte [ebp - 4], 0
add esp, 0xc
mov edx, dword [ebp - 0x28]
or ecx, 0xffffffff
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42e019
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x4f3de0]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov eax, dword [0x4f3de0]
lea ecx, [eax + 0xd0]
call fcn.0046e8f0
push edi
push ecx
mov ecx, dword [ebx]
call fcn.00435c90
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0046c0e0
mov esi, eax
mov ecx, esi
call fcn.0046e8e0
cmp byte [0x4f2cb7], 0
jne 0x42e0ca
push 0xf0
call fcn.0046e4f0
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 3
xorps xmm0, xmm0
movsd qword [ebp - 0x3c], xmm0
test eax, eax
je 0x42e0be
push 0x4f2cb7
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4cea7a
push 0
push 0
push 0x8be
push str.C:BuildAgentwork6ef1b807bd9726a1RemoteInstallerInstallerUIMainDlg.cpp
push 0x48
call fcn.0046bf00
mov byte [ebp - 4], 0
mov dword [0x4f3e08], eax
jmp 0x42e0d2
xor eax, eax
mov byte [ebp - 4], al
mov dword [0x4f3e08], eax
jmp 0x42e0d2
xorps xmm0, xmm0
movsd qword [ebp - 0x3c], xmm0
mov ecx, esi
call fcn.0046e8f0
mov ecx, dword [0x4f3e08]
lea ecx, [ecx + 0xd0]
call fcn.0046e8e0
push dword [edi]
lea ecx, [ebp - 0x28]
call fcn.00418b90
mov byte [ebp - 4], 4
mov ecx, dword [0x4f3e08]
push dword [eax]
push str.Read_agent_log_from___s_...
mov edx, dword [ecx]
push ecx
call dword [edx + 0x48]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x28]
add esp, 0xc
add edx, 0xfffffff0
mov eax, esi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x42e131
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x4f3e08]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov eax, dword [0x4f3e08]
lea ecx, [eax + 0xd0]
call fcn.0046e8f0
mov edx, ebx
lea ecx, [ebp - 0x24]
call fcn.00462100
mov byte [ebp - 4], 5
cmp dword [ebp - 0x24], 0
jne 0x42e18d
push edi
push ecx
mov ecx, dword [ebx]
call fcn.00435d30
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x42e03d
mov ecx, esi
call fcn.004656f0
push esi
call fcn.004712df
add esp, 4
jmp 0x42e03d
push 0x4d20e8
lea eax, [ebp - 0x28]
push 0x4f308c
push eax
call fcn.00419430
add esp, 0xc
push 0x4f3078
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.00419370
add esp, 4
mov byte [ebp - 4], 8
mov ecx, esi
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42e1d9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.SysWOW64_
lea edi, [ebx + 8]
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.00419430
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.00419370
add esp, 4
mov byte [ebp - 4], 0xb
mov ecx, esi
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42e223
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.System32_
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.00419430
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
push ecx
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00419370
add esp, 4
mov byte [ebp - 4], 0xe
mov ecx, esi
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42e26a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x42e3fc
call fcn.0046c0e0
mov edi, eax
mov ecx, edi
call fcn.0046e8e0
cmp byte [0x4f2ce6], 0
jne 0x42e2e7
push 0xf0
call fcn.0046e4f0
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x42e2dc
movsd xmm0, qword [ebp - 0x3c]
mov ecx, eax
push 0x4f2ce6
sub esp, 8
movsd qword [esp], xmm0
push 0x4cea7a
push 0
push 0
push 0x8cc
push str.C:BuildAgentwork6ef1b807bd9726a1RemoteInstallerInstallerUIMainDlg.cpp
push 0x48
call fcn.0046bf00
jmp 0x42e2de
xor eax, eax
mov byte [ebp - 4], 0xe
mov dword [0x4f3e30], eax
mov ecx, edi
call fcn.0046e8f0
mov ecx, dword [0x4f3e30]
lea ecx, [ecx + 0xd0]
call fcn.0046e8e0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
call fcn.00418b90
mov byte [ebp - 4], 0x10
mov ecx, dword [0x4f3e30]
push dword [eax]
push str.Found_log_file:__s
mov edx, dword [ecx]
push ecx
call dword [edx + 0x48]
mov byte [ebp - 4], 0xe
add esp, 0xc
mov edx, dword [ebp - 0x34]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42e344
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x4f3e30]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4f3e30]
lea ecx, [ecx + 0xd0]
call fcn.0046e8f0
lea eax, [ebp - 0x1c]
push dword [ebx]
push eax
call fcn.0042ee20
mov byte [ebp - 4], 0xb
mov edx, esi
mov edi, dword [ebp - 0x18]
mov bl, al
add edi, 0xfffffff0
lea ecx, [edi + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e38d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov ecx, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42e3ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x42e3cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x42e3e6
mov ecx, esi
call fcn.004656f0
push esi
call fcn.004712df
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x42e4f4
call fcn.0046c0e0
mov edi, eax
mov ecx, edi
call fcn.0046e8e0
cmp byte [0x4f2ca5], 0
jne 0x42e473
push 0xf0
call fcn.0046e4f0
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x42e468
movsd xmm0, qword [ebp - 0x3c]
mov ecx, eax
push 0x4f2ca5
sub esp, 8
movsd qword [esp], xmm0
push 0x4cea7a
push 0
push 0
push 0x8d1
push str.C:BuildAgentwork6ef1b807bd9726a1RemoteInstallerInstallerUIMainDlg.cpp
push 0x48
call fcn.0046bf00
jmp 0x42e46a
xor eax, eax
mov byte [ebp - 4], 0xe
mov dword [0x4f3db0], eax
mov ecx, edi
call fcn.0046e8f0
mov ecx, dword [0x4f3db0]
lea ecx, [ecx + 0xd0]
call fcn.0046e8e0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
call fcn.00418b90
mov byte [ebp - 4], 0x12
mov ecx, dword [0x4f3db0]
push dword [eax]
push str.Found_log_file:__s
mov edx, dword [ecx]
push ecx
call dword [edx + 0x48]
mov byte [ebp - 4], 0xe
add esp, 0xc
mov edx, dword [ebp - 0x34]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42e4d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x4f3db0]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4f3db0]
lea ecx, [ecx + 0xd0]
call fcn.0046e8f0
lea eax, [ebp - 0x18]
jmp 0x42e363
call fcn.0046c0e0
mov edi, eax
mov ecx, edi
call fcn.0046e8e0
cmp byte [0x4f2cb6], 0
jne 0x42e55e
push 0xf0
call fcn.0046e4f0
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x42e553
movsd xmm0, qword [ebp - 0x3c]
mov ecx, eax
push 0x4f2cb6
sub esp, 8
movsd qword [esp], xmm0
push 0x4cea7a
push 0
push 0
push 0x8d6
push str.C:BuildAgentwork6ef1b807bd9726a1RemoteInstallerInstallerUIMainDlg.cpp
push 0x20
call fcn.0046bf00
jmp 0x42e555
xor eax, eax
mov byte [ebp - 4], 0xe
mov dword [0x4f3d54], eax
mov ecx, edi
call fcn.0046e8f0
mov ecx, dword [0x4f3d54]
lea ecx, [ecx + 0xd0]
call fcn.0046e8e0
mov eax, dword [0x4f3d54]
push 0x4d213c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov ecx, dword [0x4f3d54]
add esp, 8
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4f3d54]
lea ecx, [ecx + 0xd0]
call fcn.0046e8f0
push 0xc8
lea ecx, [ebp - 0x34]
call fcn.0041d2b0
push eax
mov byte [ebp - 4], 0x14
push ecx
mov ecx, dword [ebx]
call fcn.00435dd0
mov byte [ebp - 4], 0xe
mov ecx, esi
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42e5df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov ecx, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42e5ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov ecx, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42e61f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x42e169
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42e169