Function at 0x4221e0
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5eb9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
push esi
mov eax, dword [0x4e71c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 2
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
push esi
mov word [esi], ax
call fcn.0046c160
add esp, 8
mov dword [ebp - 4], 0
mov eax, esi
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x42227b
mov eax, dword [esi]
test eax, eax
je 0x4222a6
mov eax, esi
cmp ecx, 7
jbe 0x422288
mov eax, dword [esi]
cmp word [eax], 0
je 0x4222a6
mov eax, esi
cmp ecx, 7
jbe 0x422297
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x422417
mov dword [ebp - 4], 2
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
push eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 5
call fcn.0046c180
add esp, 8
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.004226f0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
cmp ecx, 7
jbe 0x42232c
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x422322
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42242c
push ecx
push edx
call fcn.0045c945
add esp, 8
mov eax, dword [esi + 0x14]
mov ecx, esi
cmp eax, 7
jbe 0x422338
mov ecx, dword [esi]
test ecx, ecx
je 0x422363
mov ecx, esi
cmp eax, 7
jbe 0x422345
mov ecx, dword [esi]
cmp word [ecx], 0
je 0x422363
mov ecx, esi
cmp eax, 7
jbe 0x422354
mov ecx, dword [esi]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x422417
push str.SOFTWAREMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 3
call fcn.00421f80
add esp, 4
mov dword [ebp - 0x14], 9
cmp dword [ebp - 0x1c], 0
jne 0x4223d6
push str.SOFTWAREMicrosoftWindowsShellAssociationsUrlAssociationshttpsUserChoice
lea ecx, [ebp - 0x4c]
call fcn.00421f80
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
call fcn.004226f0
mov ecx, dword [ebp - 0x38]
cmp ecx, 7
jbe 0x4223d6
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4223cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422431
push ecx
push edx
call fcn.0045c945
add esp, 8
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.004226f0
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x422417
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42240d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422436
push ecx
push edx
call fcn.0045c945
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00483c3a
call fcn.00483c3a
call fcn.00483c3a
int3