Function at 0x4219f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8348
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4ff5e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp + 8]
mov eax, edi
mov byte [ebp - 0x41], 0
cmp dword [edi + 0x14], 8
jb 0x421a2e
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421c27
cmp dword [edi + 0x14], 8
mov esi, edi
jb 0x421a47
mov esi, dword [edi]
call fcn.00407d10
mov ecx, eax
test ecx, ecx
je 0x421c47
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x48], eax
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.004079c0
test al, al
jne 0x421a9d
test esi, esi
jne 0x421a7f
xor ecx, ecx
jmp 0x421a93
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421a84
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x48]
call fcn.00408c40
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00457010
add esp, 8
mov edx, dword [ebp - 0x48]
or esi, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x421ad5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str..tpi
push dword [ebp - 0x50]
call fcn.00475b79
add esp, 8
test eax, eax
jne 0x421c0f
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x4c], eax
jb 0x421b01
mov edi, dword [edi]
cmp eax, 8
jae 0x421b16
movups xmm0, xmmword [edi]
mov dword [ebp - 0x2c], 7
movups xmmword [ebp - 0x40], xmm0
jmp 0x421b54
mov esi, eax
lea ecx, [ebp - 0x40]
mov eax, SysReAllocString
or esi, 7
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00409f00
mov ecx, eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x40], ecx
lea eax, [eax*2 + 2]
push eax
push edi
push ecx
call fcn.00466ed0
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov dword [ebp - 0x2c], esi
or esi, 0xffffffff
mov dword [ebp - 0x30], eax
push 0x10
push str.CreateTrayClient
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040a3e0
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x40]
push 1
push 1
push eax
mov byte [ebp - 4], 5
call fcn.00423b40
mov edx, dword [ebp - 0x14]
mov byte [ebp - 0x41], al
cmp edx, 0x10
jb 0x421bc7
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x421bbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421c51
push edx
push ecx
call fcn.0043b3b2
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 8
jb 0x421c0f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421c05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421c56
push edx
push ecx
call fcn.0043b3b2
add esp, 8
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x421c27
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043b668
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00407770
call fcn.0046af28
call fcn.0046af28
int3