Function at 0x427580
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6262a5
mov eax, dword fs:[0]
push eax
sub esp, 0x96c
mov eax, dword [0x6cd400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
push eax
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
push 0x676964
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
call fcn.00403c30
mov byte [ebp - 4], 1
mov dword [ebp - 0x82c], 0x3e8
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 8]
cmovae edx, dword [ebp + 8]
push edx
push 0x67bbec
push eax
call dword [ecx + 4]
add esp, 0xc
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x82c]
push ecx
lea ecx, [ebp - 0x7e0]
push ecx
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 1
push eax
call dword [sym.imp.MPR.dll_WNetGetUniversalNameW]
mov esi, eax
test esi, esi
je 0x427675
call fcn.00401520
mov ecx, dword [eax + 0xf8]
push esi
add eax, 0xf8
push 0x67bb90
push 0x6796b0
push eax
call dword [ecx + 0x24]
add esp, 0x10
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x82c]
push ecx
lea ecx, [ebp - 0x7e0]
push ecx
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 2
push eax
call dword [sym.imp.MPR.dll_WNetGetUniversalNameW]
mov esi, eax
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
test esi, esi
je 0x4276c4
push esi
push 0x67bca8
push 0x6796b0
push eax
call dword [ecx + 0x24]
add esp, 0x10
jmp 0x4277d4
push dword [ebp - 0x7d8]
push dword [ebp - 0x7dc]
push dword [ebp - 0x7e0]
push 0x67bc30
push eax
call dword [ecx + 4]
add esp, 0x14
lea eax, [ebp - 0x974]
push 3
push dword [ebp - 0x7e0]
lea ecx, [ebp - 0x978]
mov dword [ebp - 0x978], eax
call fcn.0042b6a0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x978]
mov dword [ebp - 0x800], 0
mov dword [ebp - 0x7fc], 0
mov dword [ebp - 0x7fc], 0xf
mov dword [ebp - 0x800], 0
mov byte [ebp - 0x810], 0
cmp byte [edx], 0
jne 0x427743
xor ecx, ecx
jmp 0x427751
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x427748
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x810]
call fcn.004038b0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x978]
lea ecx, [ebp - 0x974]
cmp eax, ecx
je 0x42777b
push eax
call fcn.005ea1c0
add esp, 4
cmp dword [ebp - 0x7fc], 0x10
lea ecx, [ebp - 0x810]
cmovae ecx, dword [ebp - 0x810]
push ecx
lea edx, [ebp - 0x828]
call fcn.00499580
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x7fc], 0x10
jb 0x4277b9
push dword [ebp - 0x810]
call fcn.004c56c2
add esp, 4
mov dword [ebp - 0x7fc], 0xf
mov dword [ebp - 0x800], 0
mov byte [ebp - 0x810], 0
xor eax, eax
mov dword [ebp - 0x7e8], 0
mov dword [ebp - 0x7e4], 0
mov dword [ebp - 0x7e4], 7
mov dword [ebp - 0x7e8], 0
mov word [ebp - 0x7f8], ax
mov byte [ebp - 4], 5
lea edx, [eax + 0x12]
lea ecx, [ebp - 0x7f8]
call fcn.004a05c0
push 0xd
xor eax, eax
mov dword [ebp - 0x800], 0
mov dword [ebp - 0x7fc], 0
push 0x67bd3c
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x7fc], 7
mov dword [ebp - 0x800], 0
mov word [ebp - 0x810], ax
call fcn.00403c30
mov byte [ebp - 4], 6
push ecx
lea edx, [ebp - 0x810]
lea ecx, [ebp - 0x7f8]
call fcn.004a0a50
add esp, 4
mov byte [ebp - 4], 5
cmp dword [ebp - 0x7fc], 8
jb 0x42788e
push dword [ebp - 0x810]
call fcn.004c56c2
add esp, 4
xor eax, eax
cmp dword [ebp - 0x7e4], 8
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x7f8]
cmovae eax, dword [ebp - 0x7f8]
push eax
mov dword [ebp - 0x7fc], 7
mov dword [ebp - 0x800], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4278f7
cmp dword [ebp - 0x7e4], 8
lea eax, [ebp - 0x7f8]
cmovae eax, dword [ebp - 0x7f8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push 0
mov dl, 1
lea ecx, [ebp - 0x7f8]
call fcn.004a0f70
add esp, 4
push ecx
lea ecx, [ebp - 0x8ec]
mov dword [ebp - 0x8f0], 0x67c490
mov dword [ebp - 0x868], 0
mov dword [ebp - 0x864], 0
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x858], 0
mov dword [ebp - 0x854], 0
call fcn.00427c50
push ecx
lea ecx, [ebp - 0x8f0]
call fcn.0042a280
mov byte [ebp - 4], 7
cmp dword [ebp - 0x7e4], 8
push ecx
lea eax, [ebp - 0x7f8]
cmovae eax, dword [ebp - 0x7f8]
push 2
push eax
lea ecx, [ebp - 0x8ec]
call fcn.0042b770
test eax, eax
mov eax, dword [ebp - 0x8f0]
lea ecx, [ebp - 0x8f0]
mov eax, dword [eax + 4]
jne 0x427998
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x4279a7
or eax, 4
jmp 0x4279a7
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
mov edx, 4
cmove eax, edx
push 0
push eax
call fcn.00422550
mov eax, dword [ebp - 0x8f0]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x8e4]
shr eax, 2
test al, 1
je 0x427a06
lea ecx, [ebp - 0x8ec]
call fcn.0042b850
test eax, eax
jne 0x427adb
mov eax, dword [ebp - 0x8f0]
lea ecx, [ebp - 0x8f0]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x4279f9
or eax, 4
push 0
push eax
call fcn.00422550
jmp 0x427adb
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x830], 0xf
mov dword [ebp - 0x834], 0
mov byte [ebp - 0x844], 0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x828]
cmovae ecx, dword [ebp - 0x828]
push 0
lea edx, [ebp - 0x844]
call fcn.00499490
add esp, 4
lea edx, [ebp - 0x844]
lea ecx, [ebp - 0x8f0]
call fcn.0042c8a0
lea ecx, [ebp - 0x8ec]
call fcn.0042b850
test eax, eax
jne 0x427aa5
mov eax, dword [ebp - 0x8f0]
lea ecx, [ebp - 0x8f0]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x427a9d
or eax, 4
push 0
push eax
call fcn.00422550
mov byte [ebp - 4], 7
cmp dword [ebp - 0x830], 0x10
jb 0x427ac0
push dword [ebp - 0x844]
call fcn.004c56c2
add esp, 4
mov dword [ebp - 0x830], 0xf
mov dword [ebp - 0x834], 0
mov byte [ebp - 0x844], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8f0]
call fcn.00427ba0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x7e4], 8
jb 0x427b05
push dword [ebp - 0x7f8]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [ebp - 0x7e4], 7
mov dword [ebp - 0x7e8], eax
mov word [ebp - 0x7f8], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x814], 8
jb 0x427b38
push dword [ebp - 0x828]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov word [ebp - 0x828], ax
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], 7
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x427b69
push dword [ebp + 8]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret