Function at 0x425d10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6068bf
mov eax, dword fs:[0]
push eax
sub esp, 0x978
mov eax, dword [0x69f000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8f8], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 0
push 0x65fe6c
lea ecx, [ebp - 0x844]
mov dword [ebp - 0x834], 0
movups xmmword [ebp - 0x844], xmm0
mov dword [ebp - 0x830], 0
call fcn.0040c3f0
mov byte [ebp - 4], 1
mov dword [ebp - 0x7fc], 0x3e8
call fcn.00408570
mov ecx, dword [eax + 0xf4]
lea edx, [ebp + 8]
add eax, 0xf4
cmp dword [ebp + 0x1c], 8
cmovae edx, dword [ebp + 8]
push edx
push str.GetUniversalName_for_Path_:__s
push eax
call dword [ecx + 4]
mov edi, dword [sym.imp.MPR.dll_WNetGetUniversalNameW]
lea ecx, [ebp - 0x7fc]
add esp, 0xc
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x7e0]
push ecx
push 1
push eax
call edi
mov esi, eax
test esi, esi
je 0x425dfb
call fcn.00408570
mov ecx, dword [eax + 0xf4]
add eax, 0xf4
push esi
push str.Error_while_fetching_Universal_UNC_Path_:__ld
push eax
call dword [ecx + 4]
add esp, 0xc
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x7fc]
push ecx
lea ecx, [ebp - 0x7e0]
push ecx
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 2
push eax
call edi
mov esi, eax
call fcn.00408570
mov ecx, dword [eax + 0xf4]
add eax, 0xf4
test esi, esi
je 0x425e41
push esi
push str.Error_while_fetching_Remote_UNC_Path_:__ld
push eax
call dword [ecx + 4]
add esp, 0xc
jmp 0x425f15
push dword [ebp - 0x7d8]
push dword [ebp - 0x7dc]
push dword [ebp - 0x7e0]
push str.Universal_Name:__s_nConnection_Name:_s_nRemaining_Path:__s_n
push eax
call dword [ecx + 4]
add esp, 0x14
lea eax, [ebp - 0x980]
lea ecx, [ebp - 0x984]
mov dword [ebp - 0x984], eax
push 3
push dword [ebp - 0x7e0]
call fcn.00428fd0
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov edx, dword [ebp - 0x984]
mov ecx, edx
movups xmmword [ebp - 0x814], xmm0
mov dword [ebp - 0x804], 0
mov dword [ebp - 0x800], 0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425eb0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x814]
call fcn.00412b20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x980]
mov eax, dword [ebp - 0x984]
cmp eax, ecx
je 0x425ee3
push eax
call fcn.005d8486
add esp, 4
cmp dword [ebp - 0x800], 0x10
lea ecx, [ebp - 0x814]
lea edx, [ebp - 0x844]
cmovae ecx, dword [ebp - 0x814]
push ecx
call fcn.004637f0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x814]
call fcn.004124b0
xorps xmm0, xmm0
mov dword [ebp - 0x7e8], 0
xor eax, eax
mov dword [ebp - 0x7e4], 0
movups xmmword [ebp - 0x7f8], xmm0
mov dword [ebp - 0x7e8], 0
mov dword [ebp - 0x7e4], 7
mov word [ebp - 0x7f8], ax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x7f8]
call fcn.0046a420
push 0xd
xorps xmm0, xmm0
mov dword [ebp - 0x804], 0
push str.pathValid.txt
lea ecx, [ebp - 0x814]
mov dword [ebp - 0x800], 0
movups xmmword [ebp - 0x814], xmm0
call fcn.0040c3f0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x7e8]
test ecx, ecx
je 0x426035
mov eax, dword [ebp - 0x804]
test eax, eax
je 0x426035
lea edi, [eax + ecx]
lea eax, [edi*2 + 0x16]
push eax
call fcn.005d89b1
mov esi, eax
add esp, 4
test esi, esi
je 0x426035
cmp dword [ebp - 0x7e4], 8
lea ecx, [ebp - 0x7f8]
lea eax, [edi + 0xb]
cmovae ecx, dword [ebp - 0x7f8]
push ecx
push eax
push esi
call fcn.005d894d
add esp, 0xc
lea eax, [ebp - 0x814]
cmp dword [ebp - 0x800], 8
cmovae eax, dword [ebp - 0x814]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426010
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x7f8]
call fcn.0040be20
push esi
call fcn.005d8486
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x814]
call fcn.0040bd90
cmp dword [ebp - 0x7e4], 8
lea eax, [ebp - 0x7f8]
cmovae eax, dword [ebp - 0x7f8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42608f
cmp dword [ebp - 0x7e4], 8
lea eax, [ebp - 0x7f8]
cmovae eax, dword [ebp - 0x7f8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push ecx
mov dl, 1
lea ecx, [ebp - 0x7f8]
call fcn.0046ad20
add esp, 4
push 0xb0
lea eax, [ebp - 0x8f4]
push 0
push eax
call fcn.005d5480
lea eax, [ebp - 0x88c]
mov dword [ebp - 0x8f4], 0x665398
mov dword [ebp - 0x8fc], eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
mov dword [ebp - 0x884], 0
mov dword [ebp - 0x864], 0
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x85c], 0
mov byte [ebp - 4], 7
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov byte [ebp - 4], 8
add esp, 8
mov eax, dword [ebp - 0x8f4]
mov dword [ebp - 0x8f8], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x8f4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x8f8], eax
lea eax, [ebp - 0x8f0]
push eax
mov eax, dword [ebp - 0x8f4]
lea ecx, [ebp - 0x8f4]
add ecx, dword [eax + 4]
call fcn.0041b7f0
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x8f4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x8f4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x8f8], eax
lea ecx, [ebp - 0x8f0]
call fcn.00428ef0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x7f8]
cmp dword [ebp - 0x7e4], 8
cmovae eax, dword [ebp - 0x7f8]
cmp dword [ebp - 0x8a4], 0
jne 0x42625c
push 0x40
push 2
push eax
call fcn.005d3a92
add esp, 0xc
test eax, eax
je 0x42625c
push 1
push eax
lea ecx, [ebp - 0x8f0]
call fcn.0041b360
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x8bc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x8fc], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x900]
mov dword [ebp - 0x8f8], 5
push eax
call fcn.0041bb00
add esp, 4
lea ecx, [ebp - 0x8f0]
push eax
call fcn.0041b200
mov eax, 5
mov dword [ebp - 0x8f8], eax
and eax, 0xfffffffb
mov dword [ebp - 0x8f8], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x8fc]
test ecx, ecx
je 0x42623e
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x42623e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp - 0x8f4]
lea ecx, [ebp - 0x8f4]
xor edx, edx
add ecx, dword [eax + 4]
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x42627d
mov eax, dword [ebp - 0x8f4]
lea ecx, [ebp - 0x8f4]
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.00418c50
mov eax, dword [ebp - 0x8f4]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x8e8]
shr eax, 2
test al, 1
je 0x4262dd
lea ecx, [ebp - 0x8f0]
call fcn.0041b470
test eax, eax
jne 0x4263a9
mov eax, dword [ebp - 0x8f4]
lea ecx, [ebp - 0x8f4]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00418c50
jmp 0x4263a9
xorps xmm0, xmm0
mov dword [ebp - 0x81c], 0
movups xmmword [ebp - 0x82c], xmm0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 0xf
mov byte [ebp - 0x82c], 0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x844]
cmp dword [ebp - 0x830], 8
lea edx, [ebp - 0x82c]
cmovae ecx, dword [ebp - 0x844]
push ecx
call fcn.00463710
cmp dword [ebp - 0x818], 0x10
lea edx, [ebp - 0x82c]
push dword [ebp - 0x81c]
cmovae edx, dword [ebp - 0x82c]
lea ecx, [ebp - 0x8f4]
call fcn.00429d70
add esp, 8
lea ecx, [ebp - 0x8f0]
call fcn.0041b470
test eax, eax
jne 0x42639a
mov eax, dword [ebp - 0x8f4]
lea ecx, [ebp - 0x8f4]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00418c50
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x82c]
call fcn.004124b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8f4]
call fcn.00426400
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7f8]
call fcn.0040bd90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x844]
call fcn.0040bd90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040bd90
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.005d077b
mov esp, ebp
pop ebp
ret