Function at 0x468b60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fef8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5ba11c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
cmp dword [eax - 0xc], 0
jne 0x468cc5
call fcn.004d03a0
mov esi, eax
mov ecx, esi
call fcn.004d0140
cmp byte [0x5c2038], 0
jne 0x468c01
mov ecx, 0xf0
call fcn.004d0a00
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x468bf6
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x5c2038
sub esp, 0xc
push 0x9e3
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerInstallerUIMainDlg.cpp
push 0x20
call fcn.004d0210
jmp 0x468bf8
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x5c4620], eax
mov ecx, esi
call fcn.004d0150
mov ecx, dword [0x5c4620]
lea ecx, [ecx + 0xd0]
call fcn.004d0140
mov eax, dword [0x5c4620]
mov esi, dword [ebx + 4]
mov eax, dword [eax]
mov edi, dword [eax + 0x48]
call fcn.0044d220
mov ecx, eax
test ecx, ecx
je 0x46935f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00452e50
test al, al
jne 0x468c5a
push esi
lea ecx, [ebp + 8]
call fcn.00452330
mov byte [ebp - 4], 3
mov esi, dword [ebp + 8]
push esi
push 0x583130
push dword [0x5c4620]
call edi
add esp, 0xc
add esi, 0xfffffff0
mov byte [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x468c8e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [0x5c4620]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x5c4620]
add ecx, 0xd0
call fcn.004d0150
mov eax, dword [ebx + 4]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push ecx
mov ecx, dword [ebx]
call fcn.00472460
jmp 0x468e29
call fcn.004d03a0
mov esi, eax
mov ecx, esi
call fcn.004d0140
cmp byte [0x5c205a], 0
jne 0x468d33
mov ecx, 0xf0
call fcn.004d0a00
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 5
xorps xmm0, xmm0
movsd qword [ebp - 0x34], xmm0
test eax, eax
je 0x468d27
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x5c205a
sub esp, 0xc
push 0x9e9
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerInstallerUIMainDlg.cpp
push 0x48
call fcn.004d0210
mov byte [ebp - 4], 0
mov dword [0x5c4540], eax
jmp 0x468d3b
xor eax, eax
mov byte [ebp - 4], al
mov dword [0x5c4540], eax
jmp 0x468d3b
xorps xmm0, xmm0
movsd qword [ebp - 0x34], xmm0
mov ecx, esi
call fcn.004d0150
mov ecx, dword [0x5c4540]
lea ecx, [ecx + 0xd0]
call fcn.004d0140
mov eax, dword [0x5c4540]
mov esi, dword [ebx + 4]
mov eax, dword [eax]
mov edi, dword [eax + 0x48]
call fcn.0044d220
mov ecx, eax
test ecx, ecx
je 0x469369
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.00452e50
test al, al
jne 0x468d94
push esi
lea ecx, [ebp - 0x24]
call fcn.00452330
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x24]
push esi
push str.Read_log_from___s_...
push dword [0x5c4540]
call edi
add esp, 0xc
add esi, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], 8
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x468dca
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [0x5c4540]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x5c4540]
lea ecx, [ecx + 0xd0]
call fcn.004d0150
mov edx, ebx
lea ecx, [ebp - 0x20]
call fcn.0049d880
mov byte [ebp - 4], 9
cmp dword [ebp - 0x20], 0
jne 0x468e3f
mov eax, dword [ebx + 4]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push ecx
mov ecx, dword [ebx]
call fcn.00472680
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x468e29
mov ecx, esi
call fcn.004a71e0
push 0xc
push esi
call fcn.004eb418
add esp, 8
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 8
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.0045b160
push str.SysWOW64_
lea edx, [ebx + 8]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x24]
call fcn.004525a0
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
push ecx
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00452680
add esp, 4
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xe
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x468e94
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.System32_
lea edx, [ebx + 8]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.004525a0
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.00452680
add esp, 4
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x12
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x468ede
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
push dword [ebp - 0x18]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x469099
call fcn.004d03a0
mov esi, eax
mov ecx, esi
call fcn.004d0140
cmp byte [0x5c1fd5], 0
jne 0x468f56
mov ecx, 0xf0
call fcn.004d0a00
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x468f4b
movsd xmm0, qword [ebp - 0x34]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x5c1fd5
sub esp, 0xc
push 0x9f8
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerInstallerUIMainDlg.cpp
push 0x48
call fcn.004d0210
jmp 0x468f4d
xor eax, eax
mov byte [ebp - 4], 0x11
mov dword [0x5c458c], eax
mov ecx, esi
call fcn.004d0150
mov ecx, dword [0x5c458c]
lea ecx, [ecx + 0xd0]
call fcn.004d0140
mov eax, dword [0x5c458c]
mov esi, dword [ebp - 0x18]
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x2c], eax
call fcn.0044d220
mov ecx, eax
test ecx, ecx
je 0x469373
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x14
call fcn.00452e50
test al, al
jne 0x468fb2
push esi
lea ecx, [ebp + 8]
call fcn.00452330
mov byte [ebp - 4], 0x15
mov esi, dword [ebp + 8]
push esi
push str.Found_log_file:__s
push dword [0x5c458c]
call dword [ebp - 0x2c]
add esp, 0xc
add esi, 0xfffffff0
mov byte [ebp - 4], 0x16
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x468fe6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov ecx, dword [0x5c458c]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x5c458c]
lea ecx, [ecx + 0xd0]
call fcn.004d0150
mov edx, dword [ebx]
lea ecx, [ebp - 0x18]
call fcn.0045a880
mov edx, dword [ebp - 0x14]
mov bl, al
add edx, 0xfffffff0
mov byte [ebp - 4], 0x17
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x469030
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x18
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46904e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x19
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x46906a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x469083
mov ecx, esi
call fcn.004a71e0
push 0xc
push esi
call fcn.004eb418
add esp, 8
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 8
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x4691df
call fcn.004d03a0
mov esi, eax
mov ecx, esi
call fcn.004d0140
cmp byte [0x5c2029], 0
jne 0x469107
mov ecx, 0xf0
call fcn.004d0a00
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x4690fc
movsd xmm0, qword [ebp - 0x34]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x5c2029
sub esp, 0xc
push 0x9fd
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerInstallerUIMainDlg.cpp
push 0x48
call fcn.004d0210
jmp 0x4690fe
xor eax, eax
mov byte [ebp - 4], 0x11
mov dword [0x5c460c], eax
mov ecx, esi
call fcn.004d0150
mov ecx, dword [0x5c460c]
lea ecx, [ecx + 0xd0]
call fcn.004d0140
mov eax, dword [0x5c460c]
lea ecx, [ebp + 8]
push dword [ebp - 0x14]
mov eax, dword [eax]
mov esi, dword [eax + 0x48]
call fcn.004523d0
mov byte [ebp - 4], 0x1b
push dword [eax]
push str.Found_log_file:__s
push dword [0x5c460c]
call esi
mov edx, dword [ebp + 8]
add esp, 0xc
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1c
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469168
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov ecx, dword [0x5c460c]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x5c460c]
lea ecx, [ecx + 0xd0]
call fcn.004d0150
mov edx, dword [ebx]
lea ecx, [ebp - 0x14]
call fcn.0045a880
mov edx, dword [ebp - 0x14]
mov bl, al
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1d
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4691b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1e
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4691d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1f
jmp 0x469058
call fcn.004d03a0
mov esi, eax
mov ecx, esi
call fcn.004d0140
cmp byte [0x5c1fd7], 0
jne 0x469240
mov ecx, 0xf0
call fcn.004d0a00
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x20
test eax, eax
je 0x469235
movsd xmm0, qword [ebp - 0x34]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x5c1fd7
sub esp, 0xc
push 0xa02
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerInstallerUIMainDlg.cpp
push 0x20
call fcn.004d0210
jmp 0x469237
xor eax, eax
mov byte [ebp - 4], 0x11
mov dword [0x5c4664], eax
mov ecx, esi
call fcn.004d0150
mov ecx, dword [0x5c4664]
lea ecx, [ecx + 0xd0]
call fcn.004d0140
mov ecx, dword [0x5c4664]
push str.Missing_log_file
push ecx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [0x5c4664]
add esp, 8
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x5c4664]
lea ecx, [ecx + 0xd0]
call fcn.004d0150
mov esi, dword [ebx]
lea ecx, [ebp - 0x2c]
push 0xc8
call fcn.00454430
mov byte [ebp - 4], 0x21
mov eax, dword [eax]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.004728a0
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x22
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4692ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x23
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4692e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x24
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469306
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0x25
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x468e10
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x468e10
push 0x80004005
call fcn.0044a700
push 0x80004005
call fcn.0044a700
push 0x80004005
call fcn.0044a700
int3