Function at 0x4019e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449976
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x45a770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0xf4]
call fcn.00404710
push str.WifiHelperwifi
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.00402a60
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0xe0], 8
jb 0x401a4e
push dword [ebp - 0xf4]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0xe0], 7
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0xe4], 0
mov word [ebp - 0xf4], ax
call fcn.00404710
push str.WifiHelperWifiHelper.exe
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00402a60
add esp, 4
mov byte [ebp - 4], 5
cmp dword [ebp - 0xf8], 8
jb 0x401aa7
push dword [ebp - 0x10c]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0xf8], 7
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xfc], 0
mov word [ebp - 0x10c], ax
call fcn.00404710
push str.WifiHelperUninstall.exe
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x94]
call fcn.00402a60
add esp, 4
mov byte [ebp - 4], 8
cmp dword [ebp - 0xe0], 8
jb 0x401b03
push dword [ebp - 0xf4]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0xe0], 7
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0xe4], 0
mov word [ebp - 0xf4], ax
call fcn.00404710
push str.WifiHelper
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x34]
call fcn.00402a60
add esp, 4
cmp dword [ebp - 0xf8], 8
jb 0x401b58
push dword [ebp - 0x10c]
call fcn.00430ba0
add esp, 4
push 6
push 0
mov dword [ebp - 0x1c], vtable.CInstallShortCut.0
mov dword [ebp - 0x18], vtable.CQMTInitializeCOMThread.0
mov dword [ebp - 0x14], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, dword [ebp - 0x14]
test eax, eax
mov esi, 1
cmove ecx, esi
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0xdc]
cmovae edx, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 8
cmovae ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0xc8], 8
cmovae eax, dword [ebp - 0xdc]
sub esp, 0xc
push edx
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405bd0
lea ecx, [ebp - 0x10c]
call fcn.00404b10
push 0x450f8c
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xc4]
call fcn.00402a60
add esp, 4
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0xf8], 8
jb 0x401c02
push dword [ebp - 0x10c]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0xf8], 7
cmp dword [ebp - 0x20], 8
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x4c]
mov word [ebp - 0x10c], ax
cmovae edx, dword [ebp - 0x34]
lea eax, [ebp - 0xc4]
cmp dword [ebp - 0x38], 8
mov dword [ebp - 0xfc], 0
cmovae ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0xb0], 8
cmovae eax, dword [ebp - 0xc4]
sub esp, 0xc
push edx
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405bd0
lea ecx, [ebp - 0xf4]
call fcn.00404c00
push str.wifi
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x64]
call fcn.00402a60
add esp, 4
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0xe0], 8
jb 0x401c93
push dword [ebp - 0xf4]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0xe0], 7
push 0x450f8c
lea edx, [ebp - 0x64]
mov dword [ebp - 0xe4], 0
lea ecx, [ebp - 0x7c]
mov word [ebp - 0xf4], ax
call fcn.00402b00
add esp, 4
push 0x450fb4
lea edx, [ebp - 0x64]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xac]
call fcn.00402b00
add esp, 4
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 8
cmovae eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401cfc
test al, 0x10
jne 0x401d0c
cmp dword [ebp - 0x50], 8
lea ecx, [ebp - 0x64]
cmovae ecx, dword [ebp - 0x64]
call fcn.004010f0
cmp dword [ebp - 0x20], 8
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x4c]
cmovae edx, dword [ebp - 0x34]
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x38], 8
cmovae ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0x68], 8
cmovae eax, dword [ebp - 0x7c]
sub esp, 0xc
push edx
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405bd0
cmp dword [ebp - 0x20], 8
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x94]
cmovae edx, dword [ebp - 0x34]
lea eax, [ebp - 0xac]
cmp dword [ebp - 0x80], 8
cmovae ecx, dword [ebp - 0x94]
cmp dword [ebp - 0x98], 8
cmovae eax, dword [ebp - 0xac]
sub esp, 0xc
push edx
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405bd0
cmp dword [ebp - 0x98], 8
jb 0x401d90
push dword [ebp - 0xac]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0x98], 7
cmp dword [ebp - 0x68], 8
mov dword [ebp - 0x9c], 0
mov word [ebp - 0xac], ax
jb 0x401dbe
push dword [ebp - 0x7c]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0x68], 7
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
jb 0x401de3
push dword [ebp - 0x64]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
cmp dword [ebp - 0xb0], 8
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
jb 0x401e0e
push dword [ebp - 0xc4]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0xb0], 7
mov dword [ebp - 0xb4], 0
mov word [ebp - 0xc4], ax
mov dword [ebp - 0x1c], vtable.CInstallShortCut.0
mov dword [ebp - 0x18], vtable.CQMTInitializeCOMThread.0
cmp dword [ebp - 0x14], eax
je 0x401e44
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0x20], 8
jb 0x401e55
push dword [ebp - 0x34]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], 7
cmp dword [ebp - 0x80], 8
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
jb 0x401e7d
push dword [ebp - 0x94]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0x80], 7
cmp dword [ebp - 0x38], 8
mov dword [ebp - 0x84], 0
mov word [ebp - 0x94], ax
jb 0x401ea8
push dword [ebp - 0x4c]
call fcn.00430ba0
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x38], 7
cmp dword [ebp - 0xc8], 8
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], cx
jb 0x401ed3
push dword [ebp - 0xdc]
call fcn.00430ba0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00430ba5
mov esp, ebp
pop ebp
ret