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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ab56
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
push 4
lea ecx, [ebp - 0x14]
call fcn.00402190
lea ecx, [ebp - 0x14]
call fcn.004028d0
mov dword [ebp - 4], 0
push 0x10
lea ecx, [ebp - 0x24]
call fcn.00402190
lea ecx, [ebp - 0x24]
call fcn.0040d070
mov byte [ebp - 4], 1
lea eax, [ebp - 0x24]
push eax
push 0
push closesocket
call fcn.00427740
add esp, 0xc
mov dword [ebp - 0x30], 0
jmp 0x407b83
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x24]
call fcn.0040b4e0
cmp dword [ebp - 0x30], eax
jae 0x407cfa
push 0xa
push str.MsEdgeHTM
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x24]
call fcn.0040d0b0
mov ecx, eax
call fcn.004028f0
push eax
call fcn.00434a68
add esp, 0xc
test eax, eax
jne 0x407cf5
lea ecx, [ebp - 0x14]
call fcn.00403240
nop
push str.Application
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040d0b0
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.004047d0
add esp, 0xc
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
push str.ApplicationIcon
mov ecx, dword [ebp - 0x3c]
call fcn.004028f0
push eax
push closesocket
call fcn.004275e0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004028b0
nop
lea ecx, [ebp - 0x14]
call fcn.0040b9e0
movzx ecx, al
test ecx, ecx
jne 0x407cf5
lea ecx, [ebp - 0x14]
call fcn.00402930
sub eax, 2
push eax
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00404880
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040b940
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.004028b0
nop
push 0xb
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040b780
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
or ecx, 1
mov dword [ebp - 0x28], ecx
push str.msedge.exe
mov ecx, dword [ebp - 0x54]
call fcn.0040b860
test eax, eax
jne 0x407cc2
lea ecx, [ebp - 0x14]
call fcn.004028f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x407cc2
mov dword [ebp - 0x34], 1
jmp 0x407cc9
mov dword [ebp - 0x34], 0
mov dl, byte [ebp - 0x34]
mov byte [ebp - 0x29], dl
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x28]
and eax, 1
je 0x407ceb
and dword [ebp - 0x28], 0xfffffffe
lea ecx, [ebp - 0x58]
call fcn.004028b0
nop
movzx ecx, byte [ebp - 0x29]
test ecx, ecx
je 0x407cf5
jmp 0x407cfa
jmp 0x407b7a
lea ecx, [ebp - 0x24]
call fcn.0040b4e0
cmp dword [ebp - 0x30], eax
je 0x407d3f
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404970
mov eax, dword [ebp - 0x28]
or eax, 2
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040d0e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004028b0
mov eax, dword [ebp + 8]
jmp 0x407e43
lea ecx, [ebp - 0x7c]
push ecx
call fcn.00426600
add esp, 4
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 5
push 3
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x60]
call fcn.00404880
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov byte [ebp - 4], 6
push str.Program_FilesMicrosoftEdgeApplicationmsedge.exe
mov edx, dword [ebp - 0x68]
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.004047d0
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x70]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040b940
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x74]
call fcn.004028b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x78]
call fcn.004028b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.004028b0
nop
lea ecx, [ebp - 0x14]
call fcn.004028f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x407e0f
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404970
mov ecx, dword [ebp - 0x28]
or ecx, 2
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040d0e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004028b0
mov eax, dword [ebp + 8]
jmp 0x407e43
push 0x457060
mov ecx, dword [ebp + 8]
call fcn.0040b960
mov edx, dword [ebp - 0x28]
or edx, 2
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040d0e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004028b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429858
mov esp, ebp
pop ebp
ret