Function at 0x42ddc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46755f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1674
call fcn.004493b0
mov dword [ebp - 0x167c], ecx
lea ecx, [ebp - 0x1c]
call fcn.0040c4c6
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
jmp 0x42de09
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x1074], edx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x1074]
jae 0x42deb1
lea ecx, [ebp - 0x34]
call fcn.0040c4c6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0040c4c6
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
cmp edx, dword [ecx + 4]
jb 0x42de51
push 0x80070057
call fcn.0040109c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
lea eax, [ecx + edx*4]
mov dword [ebp - 0x1078], eax
mov ecx, dword [ebp - 0x1078]
mov edx, dword [ecx]
mov dword [ebp - 0x107c], edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x107c]
push edx
call fcn.00462a80
test eax, eax
jl 0x42de94
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00433410
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0040ec45
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040ec45
jmp 0x42de00
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x167c]
call fcn.0042e270
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x48], 0
jmp 0x42ded5
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1080], ecx
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x1080]
jae 0x42e237
push 0x1e
push 0
lea eax, [ebp - 0x106c]
push eax
call fcn.00449160
add esp, 0xc
mov dword [ebp - 0x1068], 3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x48]
cmp edx, dword [ecx + 4]
jb 0x42df22
push 0x80070057
call fcn.0040109c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x48]
lea eax, [ecx + edx*4]
mov dword [ebp - 0x1084], eax
mov ecx, dword [ebp - 0x1084]
mov edx, dword [ecx]
mov dword [ebp - 0x1088], edx
push 0x1000
mov eax, dword [ebp - 0x1088]
push eax
lea ecx, [ebp - 0x104c]
push ecx
call fcn.0044d9fc
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x48]
cmp eax, dword [edx + 4]
jb 0x42df71
push 0x80070057
call fcn.0040109c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x48]
lea ecx, [edx + eax*4]
mov dword [ebp - 0x108c], ecx
mov edx, dword [ebp - 0x108c]
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x1090], ecx
mov edx, dword [ebp - 0x1090]
mov byte [ebp + edx - 0x104b], 0
lea eax, [ebp - 0x104c]
mov dword [ebp - 0x1064], eax
mov word [ebp - 0x105c], 0x414
lea ecx, [ebp - 0x106c]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jle 0x42e232
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x48]
cmp eax, dword [edx + 4]
jb 0x42dfe5
push 0x80070057
call fcn.0040109c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x48]
lea ecx, [edx + eax*4]
mov dword [ebp - 0x1094], ecx
mov edx, dword [ebp - 0x1094]
mov eax, dword [edx]
mov dword [ebp - 0x1098], eax
mov ecx, dword [ebp - 0x1098]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42e232
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x48]
cmp eax, dword [edx + 4]
jb 0x42e02e
push 0x80070057
call fcn.0040109c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x48]
lea ecx, [edx + eax*4]
mov dword [ebp - 0x109c], ecx
mov edx, dword [ebp - 0x109c]
mov eax, dword [edx]
mov dword [ebp - 0x10a0], eax
mov dword [ebp - 0x10a8], 0
mov dword [ebp - 0x113c], 0x94
lea ecx, [ebp - 0x113c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 0x10a4], eax
cmp dword [ebp - 0x10a4], 0
je 0x42e218
mov edx, dword [ebp - 0x112c]
mov dword [ebp - 0x1680], edx
cmp dword [ebp - 0x1680], 2
je 0x42e09b
jmp 0x42e218
mov dword [ebp - 0x10a4], 0
lea ecx, [ebp - 0x1560]
call fcn.0045dd10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1560]
call fcn.0045e130
test eax, eax
je 0x42e0d7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1560]
call fcn.0045e110
jmp 0x42e1f5
push 0x45dd20
lea eax, [ebp - 0x1560]
push eax
lea ecx, [ebp - 0x1144]
push ecx
call fcn.00430ad0
add esp, 0xc
mov byte [ebp - 4], 4
lea edx, [ebp - 0x1144]
mov dword [ebp - 0x1148], edx
lea eax, [ebp - 0x1664]
mov dword [ebp - 0x1668], eax
call dword [0x47e5c8]
push eax
mov ecx, dword [ebp - 0x10a0]
push ecx
lea ecx, [ebp - 0x1668]
call fcn.0040ccbb
lea edx, [ebp - 0x1668]
mov dword [ebp - 0x166c], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x166c]
mov ecx, dword [eax]
mov dword [ebp - 0x1670], ecx
mov edx, dword [ebp - 0x1670]
push edx
lea ecx, [ebp - 0x1560]
call fcn.0045dd50
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x1561], al
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1668]
mov dword [ebp - 0x1674], eax
lea ecx, [ebp - 0x1664]
cmp dword [ebp - 0x1674], ecx
je 0x42e190
mov edx, dword [ebp - 0x1674]
push edx
call fcn.00448193
add esp, 4
movzx eax, byte [ebp - 0x1561]
test eax, eax
je 0x42e1c0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1144]
call dword [ebp - 0x1140]
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1560]
call fcn.0045e110
jmp 0x42e1f5
mov dword [ebp - 0x10a4], 1
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1144]
call dword [ebp - 0x1140]
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1560]
call fcn.0045e110
xor ecx, ecx
jne 0x42e0a5
cmp dword [ebp - 0x10a4], 0
jne 0x42e20c
mov dword [ebp - 0x1678], 0x80004005
jmp 0x42e222
mov dword [ebp - 0x1678], 0
jmp 0x42e222
mov dword [ebp - 0x1678], 0x80004001
cmp dword [ebp - 0x1678], 0
jl 0x42e232
mov dword [ebp - 0x20], 0x320001
jmp 0x42decc
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1070], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040ec45
mov eax, dword [ebp - 0x1070]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4