Function at 0x4228b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6451c0
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xbc], ebx
mov edi, 7
xor ecx, ecx
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
mov dword [ebp - 4], ebx
push 0xe
xor edx, edx
push str.Microsoft_Edge
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
call fcn.00403600
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.004324d0
mov byte [ebp - 4], 2
push 1
xor eax, eax
push 0x688728
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00403600
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 3
call fcn.0040ad50
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0040a950
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x422989
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], esi
jb 0x4229aa
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
lea esi, [ebp - 0x48]
mov dword [ebp - 0xc0], reloc.WS2_32.dll_accept
call fcn.00432470
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 5
cmp dword [0x6ce720], ebx
jne 0x4229fd
push 0x138
call fcn.004eff75
add esp, 4
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x4229f2
mov esi, eax
call fcn.00434ee0
jmp 0x4229f4
xor eax, eax
mov byte [ebp - 4], 5
mov dword [0x6ce720], eax
mov edx, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x9c]
lea esi, [ebp - 0x2c]
call fcn.00435610
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.00402260
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x422a3b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x422a5c
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0x54], ebx
jne 0x422b98
lea esi, [ebp - 0x48]
mov dword [ebp - 0xc4], reloc.OLEAUT32.dll_SysReAllocString
call fcn.00432470
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 8
cmp dword [0x6ce720], ebx
jne 0x422ab8
push 0x138
call fcn.004eff75
add esp, 4
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x422aad
mov esi, eax
call fcn.00434ee0
jmp 0x422aaf
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x6ce720], eax
lea edx, [ebp - 0xc4]
push edx
mov edx, dword [ebp - 0xc0]
lea ecx, [ebp - 0x9c]
lea esi, [ebp - 0x2c]
call fcn.00435610
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xa
call fcn.00402260
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x422af6
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x422b17
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0x54], ebx
jne 0x422b98
mov esi, dword [ebp - 0xc8]
push ebx
xor eax, eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push 0x688638
mov ecx, esi
mov word [esi], ax
call fcn.00403600
cmp dword [ebp - 0x88], 8
jb 0x422b52
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
jb 0x422b79
mov eax, dword [ebp - 0x80]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
jb 0x422dac
mov edx, dword [ebp - 0x64]
push edx
jmp 0x422da4
push 0xb
xor eax, eax
push str.msedge.exe
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00403600
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xb
call fcn.004320b0
add esp, 4
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
call fcn.00402260
cmp dword [ebp - 0x34], esi
jb 0x422be7
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], esi
jb 0x422c08
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0x54], ebx
je 0x422c56
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x422c18
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x422c56
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x64]
xor edx, edx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00403240
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xbc], 2
jmp 0x422c84
xor ecx, ecx
push ebx
mov word [ebp - 0x48], cx
push 0x688638
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.00403600
mov dword [ebp - 4], 0xe
lea eax, [ebp - 0x48]
mov dword [ebp - 0xbc], 4
xor edx, edx
push eax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], dx
call fcn.00402260
mov dword [ebp - 4], 0xf
test byte [ebp - 0xbc], 4
je 0x422cd9
and dword [ebp - 0xbc], 0xfffffffb
cmp dword [ebp - 0x34], esi
jb 0x422ccd
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
mov byte [ebp - 4], 0x11
test byte [ebp - 0xbc], 2
je 0x422d03
cmp dword [ebp - 0x18], esi
jb 0x422cf7
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov esi, dword [ebp - 0xc8]
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
lea edx, [ebp - 0xb8]
mov word [esi], cx
push edx
mov ecx, esi
call fcn.00402260
cmp dword [ebp - 0xa4], 8
jb 0x422d3a
mov eax, dword [ebp - 0xb8]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x88], 8
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], cx
jb 0x422d67
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
jb 0x422d8e
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
jb 0x422dac
mov eax, dword [ebp - 0x64]
push eax
call fcn.004effaf
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret